Skip to content

Commit

Permalink
Adjust uptime metric (#182)
Browse files Browse the repository at this point in the history
* Adjust uptime metric

* Update adum-tracker-dashboard.json
  • Loading branch information
sjmiller609 authored Aug 1, 2023
1 parent 989a95c commit eee26dc
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions charts/conductor/dashboards/adum-tracker-dashboard.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
"fiscalYearStartMonth": 0,
"gnetId": 9628,
"graphTooltip": 0,
"id": 1470,
"links": [],
"liveNow": false,
"panels": [
Expand Down Expand Up @@ -682,7 +681,7 @@
},
{
"color": "#EAB839",
"value": 99.9
"value": 99
},
{
"color": "green",
Expand Down Expand Up @@ -726,10 +725,11 @@
"uid": "prometheus"
},
"editorMode": "code",
"expr": "avg_over_time(sum((sum by (namespace) (pg_up{namespace=~\"org-coredb-inst-control-plane-.*\"})) OR on() vector(0))[7d:]) * 100",
"expr": "100 * avg(avg_over_time(avg by (namespace) (kube_pod_container_status_ready{container=\"postgres\"})[7d:30s]))",
"hide": false,
"legendFormat": "__auto",
"range": true,
"refId": "A"
"refId": "C"
}
],
"title": "Uptime (7 days)",
Expand Down Expand Up @@ -773,7 +773,7 @@
"overrides": []
},
"gridPos": {
"h": 9,
"h": 51,
"w": 24,
"x": 0,
"y": 36
Expand Down Expand Up @@ -802,8 +802,8 @@
"uid": "prometheus"
},
"editorMode": "code",
"expr": "sum((sum by (namespace) (pg_up{namespace=~\"org-coredb-inst-control-plane-.*\"})) OR on() vector(0))",
"legendFormat": "up",
"expr": "avg by (namespace) (kube_pod_container_status_ready{container=\"postgres\"})",
"legendFormat": "{{namespace}}",
"range": true,
"refId": "A"
}
Expand Down Expand Up @@ -970,7 +970,7 @@
]
},
"time": {
"from": "now-7d",
"from": "now-2d",
"to": "now"
},
"timepicker": {
Expand Down Expand Up @@ -1001,6 +1001,6 @@
"timezone": "",
"title": "Cloud Tracker",
"uid": "XW3MOlCVz",
"version": 2,
"version": 1,
"weekStart": ""
}

0 comments on commit eee26dc

Please sign in to comment.