Bug 1724892

Summary: Metric name does not along with the metrics result from Query Browser
Product: OpenShift Container Platform Reporter: Junqi Zhao <juzhao>
Component: Management ConsoleAssignee: Andrew Pickering <anpicker>
Status: CLOSED NOTABUG QA Contact: Junqi Zhao <juzhao>
Severity: low Docs Contact:
Priority: unspecified    
Version: 4.2.0CC: aos-bugs, jokerman, mmccomas
Target Milestone: ---   
Target Release: 4.2.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-08-01 00:37:18 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Result from cluster console
none
Result from Prometheus UI none

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