Compare commits

...

12 Commits

Author SHA1 Message Date
19b6d3c380 feat: change job name 2026-04-18 20:16:19 -05:00
5e33372c40 feat: add openbao 2026-04-15 19:07:20 -05:00
068868bac8 feat: add dashboards 2026-04-09 19:18:08 -05:00
00727e5d27 feat: add version checker 2026-04-05 18:48:08 -05:00
9a1f8dfbb1 feat: remove redis 2026-03-15 17:09:23 -05:00
0b2190e645 feat: add tdarr 2026-03-15 17:09:15 -05:00
19e270eef1 feat: add dashboard for pods 2026-03-03 18:28:20 -06:00
461eecbc37 feat: update cnpg for barman plugin 2026-02-26 21:47:53 -06:00
4c7682f4a3 update dashboard 2025-12-24 13:13:06 -06:00
5443533abe add jellyfin 2025-12-23 18:01:43 -06:00
ce93697dbc update grafana 2025-12-16 19:17:58 -06:00
269dae2e84 add garage 2025-11-28 22:54:39 -06:00
15 changed files with 28840 additions and 2972 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

View File

@@ -24,7 +24,7 @@
"editable": false,
"fiscalYearStartMonth": 0,
"graphTooltip": 1,
"id": 339,
"id": 378,
"links": [],
"panels": [
{
@@ -1199,7 +1199,7 @@
},
"editorMode": "code",
"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,
"legendFormat": "__auto",
"range": false,
@@ -1841,7 +1841,7 @@
"uid": "kube-prometheus-stack"
},
"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",
"range": true,
"refId": "BACKUPS"
@@ -2637,7 +2637,7 @@
},
"editorMode": "code",
"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",
"instant": true,
"interval": "",
@@ -7118,7 +7118,7 @@
"uid": "kube-prometheus-stack"
},
"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",
"interval": "",
"legendFormat": "{{pod}}",
@@ -8750,8 +8750,8 @@
},
{
"current": {
"text": "argo-workflows-postgresql-17-cluster",
"value": "argo-workflows-postgresql-17-cluster"
"text": "argo-workflows-postgresql-18-cluster",
"value": "argo-workflows-postgresql-18-cluster"
},
"datasource": {
"type": "prometheus",
@@ -8775,7 +8775,9 @@
{
"allValue": "$cluster-([1-9][0-9]*)",
"current": {
"text": "All",
"text": [
"All"
],
"value": [
"$__all"
]
@@ -8813,5 +8815,5 @@
"timezone": "",
"title": "CloudNativePG",
"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

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,431 @@
{
"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,
"mappings": [],
"min": 0,
"noValue": "0",
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": 0
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"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": "12.4.2",
"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"
},
"mappings": [],
"noValue": "0",
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": 0
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"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": "12.4.2",
"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": "%",
"mappings": [],
"max": 100,
"min": 0,
"noValue": "0",
"thresholds": {
"mode": "percentage",
"steps": [
{
"color": "red",
"value": 0
},
{
"color": "yellow",
"value": 40
},
{
"color": "green",
"value": 80
}
]
},
"unit": "percent"
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 8,
"x": 16,
"y": 0
},
"id": 3,
"options": {
"minVizHeight": 75,
"minVizWidth": 75,
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"showThresholdLabels": false,
"showThresholdMarkers": true,
"sizing": "auto"
},
"pluginVersion": "12.4.2",
"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,
"fieldMinMax": false,
"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": "12.4.2",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "334e06ed-cbfd-4139-8151-9e7029478d14"
},
"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": [
{
"current": {
"text": "Prometheus",
"value": "kube-prometheus-stack"
},
"includeAll": false,
"name": "datasource",
"options": [],
"query": "prometheus",
"refresh": 1,
"regex": "",
"type": "datasource"
},
{
"current": {
"text": "All",
"value": "$__all"
},
"datasource": {
"type": "prometheus",
"uid": "${datasource}"
},
"definition": "label_values(version_checker_is_latest_version,exported_namespace)",
"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": 2,
"regex": "",
"regexApplyTo": "value",
"sort": 1,
"type": "query"
}
]
},
"time": {
"from": "now-24h",
"to": "now"
},
"timezone": "browser",
"title": "Version Checker - Overview",
"uid": "eegwegrs8v7k0b",
"version": 1
}

View File

@@ -16,7 +16,10 @@
]
},
"editable": false,
"fiscalYearStartMonth": 0,
"graphTooltip": 0,
"id": 175,
"links": [],
"panels": [
{
"datasource": {
@@ -617,7 +620,7 @@
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
"showLegend": false
},
"tooltip": {
"hideZeros": false,
@@ -634,7 +637,7 @@
"uid": "${DS_PROMETHEUS}"
},
"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,
"legendFormat": "__auto",
"range": true,
@@ -713,7 +716,7 @@
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
"showLegend": false
},
"tooltip": {
"hideZeros": false,
@@ -730,7 +733,7 @@
"uid": "${DS_PROMETHEUS}"
},
"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,
"legendFormat": "__auto",
"range": true,
@@ -742,6 +745,8 @@
}
],
"preload": true,
"refresh": "",
"schemaVersion": 41,
"tags": ["service", "storage"],
"templating": {
"list": [
@@ -823,8 +828,8 @@
},
{
"current": {
"text": "volsync-55f9ccbc98-lpwwg",
"value": "volsync-55f9ccbc98-lpwwg"
"text": "volsync-56894b8487-pbq2j",
"value": "volsync-56894b8487-pbq2j"
},
"datasource": {
"type": "prometheus",
@@ -833,6 +838,8 @@
"definition": "label_values(volsync_sync_duration_seconds,pod)",
"hide": 2,
"includeAll": false,
"label": "Volsync Pod",
"multi": true,
"name": "volsyncPod",
"options": [],
"query": {
@@ -842,6 +849,7 @@
},
"refresh": 1,
"regex": "",
"sort": 1,
"type": "query"
}
]
@@ -853,5 +861,5 @@
"timezone": "browser",
"title": "VolSync",
"uid": "26d7c6dccd245d0d4f5b0a40e16f4c70",
"version": 10
"version": 2
}

2912
dashboards/system/pods.json Normal file

File diff suppressed because it is too large Load Diff