Skip to content

Commit

Permalink
PMM-13356 Fix variables (#1632)
Browse files Browse the repository at this point in the history
* PMM-13356 Fix variables

* PMM-13356 Fix according to PMM-9403
  • Loading branch information
YashSartanpara1 authored Sep 16, 2024
1 parent 6d3e218 commit 3b2494f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions dashboards/MongoDB/MongoDB_ReplSet_Summary.json
Original file line number Diff line number Diff line change
Expand Up @@ -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}}",
Expand Down Expand Up @@ -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": [],
Expand Down

0 comments on commit 3b2494f

Please sign in to comment.