Bug 1868463

Summary: Monitoring dashboards do not support Grafana valueMaps
Product: OpenShift Container Platform Reporter: Samuel Padgett <spadgett>
Component: Management ConsoleAssignee: Robb Hamilton <rhamilto>
Status: CLOSED DUPLICATE QA Contact: Yadan Pei <yapei>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.6CC: anpicker, aos-bugs, jokerman
Target Milestone: ---   
Target Release: 4.6.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Version: 4.6.0-0.nightly-2020-07-31-225620 Cluster ID: 6921fb5d-d338-4556-9863-e05b9f27965c Browser: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:80.0) Gecko/20100101 Firefox/80.0
Last Closed: 2020-08-13 13:42:30 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:

Description Samuel Padgett 2020-08-12 18:33:00 UTC
Dashboards such as the logging dashboard require support for valueMaps in the single stat component. Here is an example:

https://github.com/openshift/elasticsearch-operator/pull/438/files#diff-164616d426f63276d795ca13110f48f9R79-R95

               "valueMaps": [
                  {
                     "op": "=",
                     "text": "GREEN",
                     "value": "0"
                  },
                  {
                     "op": "=",
                     "text": "YELLOW",
                     "value": "1"
                  },
                  {
                     "op": "=",
                     "text": "RED",
                     "value": "2"
                  }
               ],

See also https://issues.redhat.com/browse/LOG-700

Comment 1 Samuel Padgett 2020-08-13 13:42:30 UTC

*** This bug has been marked as a duplicate of bug 1866928 ***