Skip to content

Commit

Permalink
Add tracking service backup metrics
Browse files Browse the repository at this point in the history
  • Loading branch information
adeveloper-wq committed May 29, 2024
1 parent 09b68a1 commit 1acf86e
Showing 1 changed file with 87 additions and 5 deletions.
92 changes: 87 additions & 5 deletions provisioning/dashboards/home.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"editable": true,
"fiscalYearStartMonth": 0,
"graphTooltip": 0,
"id": 5,
"id": 7,
"links": [],
"liveNow": false,
"panels": [
Expand Down Expand Up @@ -2106,6 +2106,86 @@
"title": "Submitted Answers for valid Tracks",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"fieldConfig": {
"defaults": {
"color": {
"fixedColor": "orange",
"mode": "fixed"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
},
"unitScale": true
},
"overrides": []
},
"gridPos": {
"h": 6,
"w": 5,
"x": 15,
"y": 66
},
"id": 80,
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"showPercentChange": false,
"textMode": "auto",
"wideLayout": true
},
"pluginVersion": "10.3.4",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"editorMode": "code",
"exemplar": false,
"expr": "backup_valid_track_count",
"instant": false,
"interval": "60s",
"legendFormat": "Tracks",
"range": true,
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"editorMode": "code",
"expr": "backup_valid_answer_count",
"hide": false,
"legendFormat": "Answers",
"range": true,
"refId": "B"
}
],
"title": "Backups",
"type": "stat"
},
{
"collapsed": false,
"gridPos": {
Expand Down Expand Up @@ -2166,7 +2246,8 @@
"mode": "absolute",
"steps": [
{
"color": "green"
"color": "green",
"value": null
},
{
"color": "red",
Expand Down Expand Up @@ -2272,7 +2353,8 @@
"mode": "absolute",
"steps": [
{
"color": "green"
"color": "green",
"value": null
},
{
"color": "red",
Expand Down Expand Up @@ -2328,7 +2410,7 @@
"list": []
},
"time": {
"from": "now-15m",
"from": "now-3h",
"to": "now"
},
"timeRangeUpdatedDuringEditOrView": false,
Expand All @@ -2338,4 +2420,4 @@
"uid": "sdmbOcJnz",
"version": 2,
"weekStart": ""
}
}

0 comments on commit 1acf86e

Please sign in to comment.