dashboard little fix

This commit is contained in:
2025-09-16 17:19:07 +03:00
parent 575ecb3070
commit 4f67a43036

View File

@@ -18,7 +18,7 @@
"type": "prometheus", "type": "prometheus",
"uid": "prom" "uid": "prom"
}, },
"enable": true, "enable": false,
"expr": "sum(changes(nginx_ingress_controller_config_last_reload_successful_timestamp_seconds{instance!=\"unknown\",controller_class=~\"$controller_class\",namespace=~\"$namespace\"}[30s])) by (controller_class)", "expr": "sum(changes(nginx_ingress_controller_config_last_reload_successful_timestamp_seconds{instance!=\"unknown\",controller_class=~\"$controller_class\",namespace=~\"$namespace\"}[30s])) by (controller_class)",
"hide": false, "hide": false,
"iconColor": "rgba(255, 96, 96, 1)", "iconColor": "rgba(255, 96, 96, 1)",
@@ -36,7 +36,7 @@
"editable": true, "editable": true,
"fiscalYearStartMonth": 0, "fiscalYearStartMonth": 0,
"graphTooltip": 0, "graphTooltip": 0,
"id": 40, "id": 43,
"links": [], "links": [],
"panels": [ "panels": [
{ {
@@ -1437,6 +1437,7 @@
"axisLabel": "", "axisLabel": "",
"axisPlacement": "auto", "axisPlacement": "auto",
"barAlignment": 0, "barAlignment": 0,
"barWidthFactor": 0.6,
"drawStyle": "line", "drawStyle": "line",
"fillOpacity": 0, "fillOpacity": 0,
"gradientMode": "none", "gradientMode": "none",
@@ -1467,7 +1468,8 @@
"mode": "absolute", "mode": "absolute",
"steps": [ "steps": [
{ {
"color": "green" "color": "green",
"value": 0
}, },
{ {
"color": "red", "color": "red",
@@ -1494,11 +1496,12 @@
"showLegend": true "showLegend": true
}, },
"tooltip": { "tooltip": {
"hideZeros": false,
"mode": "multi", "mode": "multi",
"sort": "none" "sort": "none"
} }
}, },
"pluginVersion": "8.3.4", "pluginVersion": "12.1.0",
"targets": [ "targets": [
{ {
"datasource": { "datasource": {
@@ -1616,7 +1619,7 @@
"unit": "s" "unit": "s"
} }
}, },
"pluginVersion": "10.4.3", "pluginVersion": "12.1.0",
"targets": [ "targets": [
{ {
"datasource": { "datasource": {
@@ -1658,7 +1661,8 @@
"mode": "absolute", "mode": "absolute",
"steps": [ "steps": [
{ {
"color": "green" "color": "green",
"value": 0
}, },
{ {
"color": "red", "color": "red",
@@ -1695,7 +1699,8 @@
"mode": "absolute", "mode": "absolute",
"steps": [ "steps": [
{ {
"color": "rgba(245, 54, 54, 0.9)" "color": "rgba(245, 54, 54, 0.9)",
"value": 0
}, },
{ {
"color": "rgba(237, 129, 40, 0.89)", "color": "rgba(237, 129, 40, 0.89)",
@@ -1744,7 +1749,7 @@
}, },
"showHeader": true "showHeader": true
}, },
"pluginVersion": "10.4.3", "pluginVersion": "12.1.0",
"targets": [ "targets": [
{ {
"datasource": { "datasource": {
@@ -1801,6 +1806,7 @@
"type": "query" "type": "query"
}, },
{ {
"allValue": ".*",
"current": { "current": {
"text": "All", "text": "All",
"value": "$__all" "value": "$__all"
@@ -1929,5 +1935,5 @@
"timezone": "browser", "timezone": "browser",
"title": "NGINX Ingress controller metrics", "title": "NGINX Ingress controller metrics",
"uid": "nginx-metrics-dashboard", "uid": "nginx-metrics-dashboard",
"version": 5 "version": 2
} }