Skip to content

Commit

Permalink
fix dashboard
Browse files Browse the repository at this point in the history
  • Loading branch information
MiaAltieri committed Jan 29, 2024
1 parent c55bf36 commit dee71f6
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions src/grafana_dashboards/MongoDB_ReplSet_Summary.json
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@
"type": "datasource",
"uid": "${prometheusds}"
},
"expr": "count by(set) (group by(service_name, set) (mongodb_mongod_replset_number_of_members{cluster=~\"$cluster\",juju_application=\"$juju_application\",juju_model=\"$juju_model\",juju_model_uuid=\"$juju_model_uuid\",juju_unit=\"$juju_unit\",set=~\"$replset\"} or mongodb_mongod_replset_my_state{cluster=~\"$cluster\",juju_application=\"$juju_application\",juju_model=\"$juju_model\",juju_model_uuid=\"$juju_model_uuid\",juju_unit=\"$juju_unit\",set=~\"$replset\"}))",
"expr": "mongodb_mongod_replset_number_of_members{juju_application=~\"$juju_application\",juju_model=~\"$juju_model\",juju_model_uuid=~\"$juju_model_uuid\",juju_unit=~\"$juju_unit\"} ",
"interval": "5m",
"intervalFactor": 1,
"legendFormat": "",
Expand Down Expand Up @@ -3130,22 +3130,19 @@
]
},
"time": {
"from": "2023-03-27T08:51:52.293Z",
"to": "2023-04-12T08:51:52.293Z"
"from": "now-12h",
"to": "now"
},
"timepicker": {
"hidden": false,
"now": true,
"refresh_intervals": [
"1s",
"5s",
"10s",
"30s",
"1m",
"5m",
"15m",
"30m",
"1h",
"2h",
"6h",
"1d"
],
"time_options": [
Expand Down

0 comments on commit dee71f6

Please sign in to comment.