Move panels

main
mathan 2024-02-18 16:40:44 -08:00
parent 3e34e4ca02
commit 4f259dccbf
1 changed files with 35 additions and 35 deletions

View File

@ -181,23 +181,31 @@
"type": "prometheus", "type": "prometheus",
"uid": "PBFA97CFB590B2093" "uid": "PBFA97CFB590B2093"
}, },
"description": "",
"fieldConfig": { "fieldConfig": {
"defaults": { "defaults": {
"color": { "color": {
"mode": "thresholds" "mode": "thresholds"
}, },
"mappings": [], "mappings": [],
"min": 0,
"thresholds": { "thresholds": {
"mode": "absolute", "mode": "percentage",
"steps": [ "steps": [
{ {
"color": "green", "color": "green",
"value": null "value": null
},
{
"color": "#EAB839",
"value": 80
},
{
"color": "dark-red",
"value": 90
} }
] ]
}, },
"unit": "none", "unit": "percent",
"unitScale": true "unitScale": true
}, },
"overrides": [] "overrides": []
@ -208,11 +216,11 @@
"x": 6, "x": 6,
"y": 0 "y": 0
}, },
"id": 12, "id": 15,
"links": [],
"options": { "options": {
"colorMode": "value", "minVizHeight": 75,
"graphMode": "area", "minVizWidth": 75,
"justifyMode": "auto",
"orientation": "auto", "orientation": "auto",
"reduceOptions": { "reduceOptions": {
"calcs": [ "calcs": [
@ -221,9 +229,9 @@
"fields": "", "fields": "",
"values": false "values": false
}, },
"showPercentChange": false, "showThresholdLabels": false,
"textMode": "auto", "showThresholdMarkers": true,
"wideLayout": true "sizing": "auto"
}, },
"pluginVersion": "10.3.3", "pluginVersion": "10.3.3",
"targets": [ "targets": [
@ -233,15 +241,15 @@
"uid": "PBFA97CFB590B2093" "uid": "PBFA97CFB590B2093"
}, },
"editorMode": "code", "editorMode": "code",
"expr": "repos_seen{job=\"db\"}", "expr": "100 * (node_filesystem_size_bytes{mountpoint='/4t'}-node_filesystem_free_bytes{mountpoint='/4t'})/(node_filesystem_size_bytes{mountpoint='/4t'})",
"instant": false, "instant": false,
"legendFormat": "__auto", "legendFormat": "__auto",
"range": true, "range": true,
"refId": "A" "refId": "A"
} }
], ],
"title": "Repos seen", "title": "Filesystem space usage",
"type": "stat" "type": "gauge"
}, },
{ {
"datasource": { "datasource": {
@ -315,31 +323,23 @@
"type": "prometheus", "type": "prometheus",
"uid": "PBFA97CFB590B2093" "uid": "PBFA97CFB590B2093"
}, },
"description": "",
"fieldConfig": { "fieldConfig": {
"defaults": { "defaults": {
"color": { "color": {
"mode": "thresholds" "mode": "thresholds"
}, },
"mappings": [], "mappings": [],
"min": 0,
"thresholds": { "thresholds": {
"mode": "percentage", "mode": "absolute",
"steps": [ "steps": [
{ {
"color": "green", "color": "green",
"value": null "value": null
},
{
"color": "#EAB839",
"value": 80
},
{
"color": "dark-red",
"value": 90
} }
] ]
}, },
"unit": "percent", "unit": "none",
"unitScale": true "unitScale": true
}, },
"overrides": [] "overrides": []
@ -350,11 +350,11 @@
"x": 14, "x": 14,
"y": 0 "y": 0
}, },
"id": 15, "id": 12,
"links": [],
"options": { "options": {
"minVizHeight": 75, "colorMode": "value",
"minVizWidth": 75, "graphMode": "area",
"justifyMode": "auto",
"orientation": "auto", "orientation": "auto",
"reduceOptions": { "reduceOptions": {
"calcs": [ "calcs": [
@ -363,9 +363,9 @@
"fields": "", "fields": "",
"values": false "values": false
}, },
"showThresholdLabels": false, "showPercentChange": false,
"showThresholdMarkers": true, "textMode": "auto",
"sizing": "auto" "wideLayout": true
}, },
"pluginVersion": "10.3.3", "pluginVersion": "10.3.3",
"targets": [ "targets": [
@ -375,15 +375,15 @@
"uid": "PBFA97CFB590B2093" "uid": "PBFA97CFB590B2093"
}, },
"editorMode": "code", "editorMode": "code",
"expr": "100 * (node_filesystem_size_bytes{mountpoint='/4t'}-node_filesystem_free_bytes{mountpoint='/4t'})/(node_filesystem_size_bytes{mountpoint='/4t'})", "expr": "repos_seen{job=\"db\"}",
"instant": false, "instant": false,
"legendFormat": "__auto", "legendFormat": "__auto",
"range": true, "range": true,
"refId": "A" "refId": "A"
} }
], ],
"title": "Filesystem space usage", "title": "Repos seen",
"type": "gauge" "type": "stat"
}, },
{ {
"datasource": { "datasource": {
@ -1680,6 +1680,6 @@
"timezone": "", "timezone": "",
"title": "Bluesky indexer", "title": "Bluesky indexer",
"uid": "aXw6dQhSz", "uid": "aXw6dQhSz",
"version": 22, "version": 23,
"weekStart": "" "weekStart": ""
} }