Compare commits

...

16 Commits

Author SHA1 Message Date
alexlebens f28b746d7b feat: update dashboard 2026-05-09 20:15:32 -05:00
alexlebens 85d3c3e115 fix: update datasource 2026-05-09 19:19:10 -05:00
alexlebens 7af7617269 feat: add cloudflare and rclone 2026-05-08 20:41:14 -05:00
alexlebens 63c3d56719 feat: remove version checker internal 2026-05-07 19:14:01 -05:00
alexlebens 19b6d3c380 feat: change job name 2026-04-18 20:16:19 -05:00
alexlebens 5e33372c40 feat: add openbao 2026-04-15 19:07:20 -05:00
alexlebens 068868bac8 feat: add dashboards 2026-04-09 19:18:08 -05:00
alexlebens 00727e5d27 feat: add version checker 2026-04-05 18:48:08 -05:00
alexlebens 9a1f8dfbb1 feat: remove redis 2026-03-15 17:09:23 -05:00
alexlebens 0b2190e645 feat: add tdarr 2026-03-15 17:09:15 -05:00
alexlebens 19e270eef1 feat: add dashboard for pods 2026-03-03 18:28:20 -06:00
alexlebens 461eecbc37 feat: update cnpg for barman plugin 2026-02-26 21:47:53 -06:00
alexlebens 4c7682f4a3 update dashboard 2025-12-24 13:13:06 -06:00
alexlebens 5443533abe add jellyfin 2025-12-23 18:01:43 -06:00
alexlebens ce93697dbc update grafana 2025-12-16 19:17:58 -06:00
alexlebens 269dae2e84 add garage 2025-11-28 22:54:39 -06:00
16 changed files with 29828 additions and 3113 deletions
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
+12 -10
View File
@@ -24,7 +24,7 @@
"editable": false, "editable": false,
"fiscalYearStartMonth": 0, "fiscalYearStartMonth": 0,
"graphTooltip": 1, "graphTooltip": 1,
"id": 339, "id": 378,
"links": [], "links": [],
"panels": [ "panels": [
{ {
@@ -1199,7 +1199,7 @@
}, },
"editorMode": "code", "editorMode": "code",
"exemplar": false, "exemplar": false,
"expr": "-(time() - max(cnpg_collector_last_available_backup_timestamp{namespace=\"$namespace\",pod=~\"$instances\"}))", "expr": "-(time() - max({__name__=~\"cnpg_collector_last_available_backup_timestamp|barman_cloud_cloudnative_pg_io_last_available_backup_timestamp\",namespace=\"$namespace\",pod=~\"$instances\"}))",
"instant": true, "instant": true,
"legendFormat": "__auto", "legendFormat": "__auto",
"range": false, "range": false,
@@ -1841,7 +1841,7 @@
"uid": "kube-prometheus-stack" "uid": "kube-prometheus-stack"
}, },
"editorMode": "code", "editorMode": "code",
"expr": "time() - max(cnpg_collector_last_available_backup_timestamp{namespace=\"$namespace\", pod=~\"$instances\"})", "expr": "time() - max({__name__=~\"cnpg_collector_last_available_backup_timestamp|barman_cloud_cloudnative_pg_io_last_available_backup_timestamp\",namespace=\"$namespace\", pod=~\"$instances\"})",
"legendFormat": "Backups", "legendFormat": "Backups",
"range": true, "range": true,
"refId": "BACKUPS" "refId": "BACKUPS"
@@ -2637,7 +2637,7 @@
}, },
"editorMode": "code", "editorMode": "code",
"exemplar": false, "exemplar": false,
"expr": "max(cnpg_collector_first_recoverability_point{namespace=~\"$namespace\",pod=~\"$instances\"})*1000", "expr": "max({__name__=~\"cnpg_collector_first_recoverability_point|barman_cloud_cloudnative_pg_io_first_recoverability_point\",namespace=~\"$namespace\",pod=~\"$instances\"})*1000",
"format": "time_series", "format": "time_series",
"instant": true, "instant": true,
"interval": "", "interval": "",
@@ -7118,7 +7118,7 @@
"uid": "kube-prometheus-stack" "uid": "kube-prometheus-stack"
}, },
"exemplar": true, "exemplar": true,
"expr": "cnpg_collector_first_recoverability_point{namespace=~\"$namespace\",pod=~\"$instances\"}*1000 > 0", "expr": "{__name__=~\"cnpg_collector_first_recoverability_point|barman_cloud_cloudnative_pg_io_first_recoverability_point\",namespace=~\"$namespace\",pod=~\"$instances\"}*1000 > 0",
"format": "time_series", "format": "time_series",
"interval": "", "interval": "",
"legendFormat": "{{pod}}", "legendFormat": "{{pod}}",
@@ -8750,8 +8750,8 @@
}, },
{ {
"current": { "current": {
"text": "argo-workflows-postgresql-17-cluster", "text": "argo-workflows-postgresql-18-cluster",
"value": "argo-workflows-postgresql-17-cluster" "value": "argo-workflows-postgresql-18-cluster"
}, },
"datasource": { "datasource": {
"type": "prometheus", "type": "prometheus",
@@ -8775,7 +8775,9 @@
{ {
"allValue": "$cluster-([1-9][0-9]*)", "allValue": "$cluster-([1-9][0-9]*)",
"current": { "current": {
"text": "All", "text": [
"All"
],
"value": [ "value": [
"$__all" "$__all"
] ]
@@ -8813,5 +8815,5 @@
"timezone": "", "timezone": "",
"title": "CloudNativePG", "title": "CloudNativePG",
"uid": "cloudnative-pg", "uid": "cloudnative-pg",
"version": 2 "version": 1
} }
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
+448
View File
@@ -0,0 +1,448 @@
{
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": {
"type": "grafana",
"uid": "-- Grafana --"
},
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
"type": "dashboard"
}
]
},
"editable": false,
"graphTooltip": 0,
"panels": [
{
"datasource": {
"type": "prometheus",
"uid": "${datasource}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"decimals": 0,
"min": 0,
"noValue": "0",
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": 0
},
{
"color": "red",
"value": 80
}
]
}
}
},
"gridPos": {
"h": 8,
"w": 8,
"x": 0,
"y": 0
},
"id": 1,
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"percentChangeColorMode": "standard",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"showPercentChange": false,
"textMode": "auto",
"wideLayout": true
},
"pluginVersion": "13.0.1",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${datasource}"
},
"editorMode": "code",
"expr": "sum(count(version_checker_is_latest_version{exported_namespace=~\"$namespace\"}==0) by (image))",
"instant": false,
"legendFormat": "__auto",
"range": true,
"refId": "A"
}
],
"title": "Need Attention",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "${datasource}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"noValue": "0",
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": 0
},
{
"color": "red",
"value": 80
}
]
}
}
},
"gridPos": {
"h": 8,
"w": 8,
"x": 8,
"y": 0
},
"id": 2,
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"percentChangeColorMode": "standard",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"showPercentChange": false,
"textMode": "auto",
"wideLayout": true
},
"pluginVersion": "13.0.1",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${datasource}"
},
"editorMode": "code",
"expr": "sum(count(version_checker_is_latest_version{exported_namespace=~\"$namespace\"}==1) by (image))",
"instant": false,
"legendFormat": "__auto",
"range": true,
"refId": "A"
}
],
"title": "Uptodate",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "${datasource}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"decimals": 0,
"displayName": "%",
"max": 100,
"min": 0,
"noValue": "0",
"thresholds": {
"mode": "percentage",
"steps": [
{
"color": "red",
"value": 0
},
{
"color": "yellow",
"value": 40
},
{
"color": "green",
"value": 80
}
]
},
"unit": "percent"
}
},
"gridPos": {
"h": 8,
"w": 8,
"x": 16,
"y": 0
},
"id": 3,
"options": {
"barShape": "flat",
"barWidthFactor": 0.5,
"effects": {
"barGlow": false,
"centerGlow": false,
"gradient": false
},
"endpointMarker": "point",
"minVizHeight": 75,
"minVizWidth": 75,
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"segmentCount": 1,
"segmentSpacing": 0.3,
"shape": "gauge",
"showThresholdLabels": false,
"showThresholdMarkers": true,
"sizing": "auto",
"sparkline": false,
"textMode": "auto"
},
"pluginVersion": "13.0.1",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${datasource}"
},
"editorMode": "code",
"expr": "round(count(version_checker_is_latest_version{exported_namespace=~\"$namespace\"}==1) / count(version_checker_is_latest_version{exported_namespace=~\"$namespace\"}) * 100,1)",
"instant": false,
"legendFormat": "__auto",
"range": true,
"refId": "A"
}
],
"title": "Percentage Uptodate",
"type": "gauge"
},
{
"datasource": {
"type": "prometheus",
"uid": "${datasource}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"custom": {
"align": "auto",
"cellOptions": {
"type": "auto"
},
"filterable": true,
"footer": {
"reducers": []
},
"inspect": true
},
"decimals": 0,
"mappings": [
{
"options": {
"0": {
"color": "dark-red",
"index": 1,
"text": "No"
},
"1": {
"color": "green",
"index": 0,
"text": "Yes"
}
},
"type": "value"
}
],
"max": 1,
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": 0
}
]
},
"unit": "none"
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "Time"
},
"properties": [
{
"id": "custom.hideFrom.viz",
"value": true
}
]
}
]
},
"gridPos": {
"h": 22,
"w": 24,
"x": 0,
"y": 8
},
"id": 4,
"options": {
"cellHeight": "sm",
"enablePagination": false,
"showHeader": true,
"sortBy": [
{
"desc": true,
"displayName": "UptoDate"
}
]
},
"pluginVersion": "13.0.1",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${datasource}"
},
"editorMode": "code",
"exemplar": false,
"expr": "sort(sum by(image,current_version,latest_version) (version_checker_is_latest_version{exported_namespace=~\"$namespace\"}))",
"format": "table",
"instant": true,
"legendFormat": "Up to date",
"range": false,
"refId": "A"
}
],
"title": "Cluster Image Version Checks",
"transformations": [
{
"id": "sortBy",
"options": {
"fields": {},
"sort": [
{
"field": "Value"
}
]
}
},
{
"id": "organize",
"options": {
"excludeByName": {},
"includeByName": {},
"indexByName": {
"Time": 0,
"Value": 4,
"current_version": 2,
"image": 1,
"latest_version": 3
},
"renameByName": {
"Value": "UptoDate",
"current_version": ""
}
}
}
],
"type": "table"
}
],
"preload": true,
"tags": ["service", "scan"],
"templating": {
"list": [
{
"allowCustomValue": true,
"current": {
"text": "Prometheus",
"value": "kube-prometheus-stack"
},
"hide": 0,
"includeAll": false,
"multi": false,
"name": "datasource",
"options": [],
"query": "prometheus",
"refresh": 1,
"regex": "",
"skipUrlSync": false,
"type": "datasource"
},
{
"allowCustomValue": true,
"current": {
"text": [
"All"
],
"value": [
"$__all"
]
},
"datasource": {
"type": "prometheus",
"uid": "${datasource}"
},
"definition": "label_values(version_checker_is_latest_version,exported_namespace)",
"hide": 0,
"includeAll": true,
"label": "Namespace",
"multi": true,
"name": "namespace",
"options": [],
"query": {
"qryType": 1,
"query": "label_values(version_checker_is_latest_version,exported_namespace)",
"refId": "PrometheusVariableQueryEditor-VariableQuery"
},
"refresh": 1,
"regex": "",
"regexApplyTo": "value",
"skipUrlSync": false,
"sort": 1,
"type": "query"
}
]
},
"time": {
"from": "now-24h",
"to": "now"
},
"timezone": "browser",
"title": "Version Checker",
"version": 2,
"uid": "eegwegrs8v7k0b"
}
+15 -7
View File
@@ -16,7 +16,10 @@
] ]
}, },
"editable": false, "editable": false,
"fiscalYearStartMonth": 0,
"graphTooltip": 0, "graphTooltip": 0,
"id": 175,
"links": [],
"panels": [ "panels": [
{ {
"datasource": { "datasource": {
@@ -617,7 +620,7 @@
"calcs": [], "calcs": [],
"displayMode": "list", "displayMode": "list",
"placement": "bottom", "placement": "bottom",
"showLegend": true "showLegend": false
}, },
"tooltip": { "tooltip": {
"hideZeros": false, "hideZeros": false,
@@ -634,7 +637,7 @@
"uid": "${DS_PROMETHEUS}" "uid": "${DS_PROMETHEUS}"
}, },
"editorMode": "code", "editorMode": "code",
"expr": "sum(node_namespace_pod_container:container_cpu_usage_seconds_total:sum_irate{pod=~\"$volsyncPod\", namespace=~\"$volsyncNamespace\"}) by (pod)", "expr": "sum(node_namespace_pod_container:container_cpu_usage_seconds_total:sum_irate{namespace=~\"$volsyncNamespace\"})",
"instant": false, "instant": false,
"legendFormat": "__auto", "legendFormat": "__auto",
"range": true, "range": true,
@@ -713,7 +716,7 @@
"calcs": [], "calcs": [],
"displayMode": "list", "displayMode": "list",
"placement": "bottom", "placement": "bottom",
"showLegend": true "showLegend": false
}, },
"tooltip": { "tooltip": {
"hideZeros": false, "hideZeros": false,
@@ -730,7 +733,7 @@
"uid": "${DS_PROMETHEUS}" "uid": "${DS_PROMETHEUS}"
}, },
"editorMode": "code", "editorMode": "code",
"expr": "sum(container_memory_working_set_bytes{pod=~\"$volsyncPod\", namespace=~\"$volsyncNamespace\"}) by (pod)", "expr": "sum(container_memory_working_set_bytes{namespace=~\"$volsyncNamespace\"})",
"instant": false, "instant": false,
"legendFormat": "__auto", "legendFormat": "__auto",
"range": true, "range": true,
@@ -742,6 +745,8 @@
} }
], ],
"preload": true, "preload": true,
"refresh": "",
"schemaVersion": 41,
"tags": ["service", "storage"], "tags": ["service", "storage"],
"templating": { "templating": {
"list": [ "list": [
@@ -823,8 +828,8 @@
}, },
{ {
"current": { "current": {
"text": "volsync-55f9ccbc98-lpwwg", "text": "volsync-56894b8487-pbq2j",
"value": "volsync-55f9ccbc98-lpwwg" "value": "volsync-56894b8487-pbq2j"
}, },
"datasource": { "datasource": {
"type": "prometheus", "type": "prometheus",
@@ -833,6 +838,8 @@
"definition": "label_values(volsync_sync_duration_seconds,pod)", "definition": "label_values(volsync_sync_duration_seconds,pod)",
"hide": 2, "hide": 2,
"includeAll": false, "includeAll": false,
"label": "Volsync Pod",
"multi": true,
"name": "volsyncPod", "name": "volsyncPod",
"options": [], "options": [],
"query": { "query": {
@@ -842,6 +849,7 @@
}, },
"refresh": 1, "refresh": 1,
"regex": "", "regex": "",
"sort": 1,
"type": "query" "type": "query"
} }
] ]
@@ -853,5 +861,5 @@
"timezone": "browser", "timezone": "browser",
"title": "VolSync", "title": "VolSync",
"uid": "26d7c6dccd245d0d4f5b0a40e16f4c70", "uid": "26d7c6dccd245d0d4f5b0a40e16f4c70",
"version": 10 "version": 2
} }
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff