From 3b2494f299d668ef16306b0cb43805013910d27a Mon Sep 17 00:00:00 2001 From: Yash Sartanpara <119680679+YashSartanpara1@users.noreply.github.com> Date: Mon, 16 Sep 2024 14:38:31 +0530 Subject: [PATCH] PMM-13356 Fix variables (#1632) * PMM-13356 Fix variables * PMM-13356 Fix according to PMM-9403 --- dashboards/MongoDB/MongoDB_ReplSet_Summary.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/dashboards/MongoDB/MongoDB_ReplSet_Summary.json b/dashboards/MongoDB/MongoDB_ReplSet_Summary.json index ba98b88ae8..3c9351e0c1 100644 --- a/dashboards/MongoDB/MongoDB_ReplSet_Summary.json +++ b/dashboards/MongoDB/MongoDB_ReplSet_Summary.json @@ -2423,7 +2423,7 @@ "targets": [ { "editorMode": "code", - "expr": "max_over_time(mongodb_mongod_replset_member_replication_lag{environment=~\"$environment\",cluster=~\"$cluster\",set=\"$rs_nm\",service_name=~\"$secondary\"}[$interval]) > 0 ", + "expr": "max_over_time(mongodb_mongod_replset_member_replication_lag{environment=~\"$environment\",cluster=~\"$cluster\",set=\"$rs_nm\",self=~\"|1\",service_name=~\"$secondary\"}[$interval]) > 0 ", "interval": "$interval", "intervalFactor": 1, "legendFormat": "{{service_name}}", @@ -4089,12 +4089,12 @@ { "current": { "selected": false, - "text": "", - "value": "" + "text": "All", + "value": "$__all" }, "definition": "query_result(mongodb_mongod_replset_my_state{environment=~\"$environment\",cluster=~\"$cluster\",set=~\"$rs_nm\"}==2)", "hide": 2, - "includeAll": false, + "includeAll": true, "multi": true, "name": "secondary", "options": [],