Merge pull request #43377 from rhcs-dashboard/fix-clients-connection-query

mgr/dashboard: replace "Ceph-cluster" Client connections with active-standby MGRs

Reviewed-by: Aashish Sharma <aasharma@redhat.com>
Reviewed-by: Avan Thakkar <athakkar@redhat.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
Reviewed-by: neha-ojha <NOT@FOUND>
Reviewed-by: Nizamudeen A <nia@redhat.com>
This commit is contained in:
Ernesto Puerta 2021-10-13 13:37:51 +02:00 committed by GitHub
commit 9b40c9df26
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -678,7 +678,7 @@
"type": "vonage-status-panel"
},
{
"colorMode": "Disabled",
"colorMode": "Panel",
"colors": {
"crit": "rgba(245, 54, 54, 0.9)",
"disable": "rgba(128, 128, 128, 0.9)",
@ -706,21 +706,36 @@
"targets": [
{
"aggregation": "Last",
"alias": "Clients",
"alias": "Active",
"decimals": 2,
"displayAliasType": "Always",
"displayType": "Regular",
"displayValueWithAlias": "When Alias Displayed",
"expr": "ceph_mds_server_handle_client_session",
"expr": "count(ceph_mgr_status == 1) or vector(0)",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "Clients",
"legendFormat": "Active",
"refId": "A",
"units": "none",
"valueHandler": "Number Threshold"
},
{
"aggregation": "Last",
"alias": "Standby",
"decimals": 2,
"displayAliasType": "Always",
"displayType": "Regular",
"displayValueWithAlias": "When Alias Displayed",
"expr": "count(ceph_mgr_status == 0) or vector(0)",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "Standby",
"refId": "B",
"units": "none",
"valueHandler": "Number Threshold"
}
],
"title": "Client connections",
"title": "MGRs",
"type": "vonage-status-panel"
},
{