Bug 1724892 - Metric name does not along with the metrics result from Query Browser
Summary: Metric name does not along with the metrics result from Query Browser
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Management Console
Version: 4.2.0
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: ---
: 4.2.0
Assignee: Andrew Pickering
QA Contact: Junqi Zhao
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-06-28 03:26 UTC by Junqi Zhao
Modified: 2019-08-01 00:37 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-08-01 00:37:18 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Result from cluster console (63.54 KB, image/png)
2019-06-28 03:26 UTC, Junqi Zhao
no flags Details
Result from Prometheus UI (50.46 KB, image/png)
2019-06-28 03:28 UTC, Junqi Zhao
no flags Details

Description Junqi Zhao 2019-06-28 03:26:26 UTC
Created attachment 1585405 [details]
Result from cluster console

Description of problem:
Login cluster console as cluster-admin and search metrics in Query Browser, eg: cluster:capacity_cpu_cores:sum

results see below, it does not have the metric name:
Series    Value

label_beta_kubernetes_io_instance_type="m4.xlarge",label_node_role_kubernetes_io="master" 12

label_beta_kubernetes_io_instance_type="m5.xlarge" 12
**************************************************************
search the same metrics in prometheus, we can see the results are with the metric name: cluster:capacity_cpu_cores:sum

Element	Value
cluster:capacity_cpu_cores:sum{label_beta_kubernetes_io_instance_type="m4.xlarge",label_node_role_kubernetes_io="master"}	12
cluster:capacity_cpu_cores:sum{label_beta_kubernetes_io_instance_type="m5.xlarge"}	12

Version-Release number of selected component (if applicable):
4.2.0-0.nightly-2019-06-27-204704

How reproducible:
Always

Steps to Reproduce:
1. See the description
2.
3.

Actual results:
result from Query Browser does not have metric name along with the result

Expected results:
Metric name should along with the metrics result

Additional info:

Comment 1 Junqi Zhao 2019-06-28 03:28:12 UTC
Created attachment 1585406 [details]
Result from Prometheus UI

Comment 2 Andrew Pickering 2019-07-31 03:37:25 UTC
The metric name is intentionally not shown in the results table to save space, but it is visible in the query input field.

Also, the UI has now been changed to show labels in table columns, which should make this more clear.

Comment 4 Junqi Zhao 2019-08-01 00:37:18 UTC
Per Comment 2, close it as NOTABUG


Note You need to log in before you can comment on or make changes to this bug.