diff --git a/charts/.utils/gitlab-ci.yaml b/charts/.utils/gitlab-ci.yaml index 188684ca1c11006be500a740a0a24cd4865c91dd..f048829005727da6b7de743033177368a8066d43 100644 --- a/charts/.utils/gitlab-ci.yaml +++ b/charts/.utils/gitlab-ci.yaml @@ -9,6 +9,7 @@ - mastodon - nextcloud - hedgedoc + - nut-exporter chart-package: stage: build diff --git a/charts/nut-exporter/Chart.yaml b/charts/nut-exporter/Chart.yaml index 2a95f98f14108a38401dbbe62ea74b1538ed0ef4..c258be33afaaa4be8b300330874527f492550cb0 100644 --- a/charts/nut-exporter/Chart.yaml +++ b/charts/nut-exporter/Chart.yaml @@ -13,5 +13,5 @@ sources: - https://github.com/acolombier/nut_exporter/tree/feat/add-helm-chart type: application -version: 0.3.7 +version: 0.3.8 appVersion: 3.0.0 diff --git a/charts/nut-exporter/README.md b/charts/nut-exporter/README.md index 214060c81caa1176fe991b0fd505cd4ed8d16396..fa66fd7506c3c86352fc4d79887e11f1efbd873b 100644 --- a/charts/nut-exporter/README.md +++ b/charts/nut-exporter/README.md @@ -1,6 +1,6 @@ # nut-exporter -   +   Installs NUT exporter in Kubernetes diff --git a/charts/nut-exporter/dashboards/default.json b/charts/nut-exporter/dashboards/default.json index 9218e4a6878151002f76a6fd2c13ff1c4c2ea981..1a5303a319209d0a3dc3163fbdc6bd009b8eb86b 100755 --- a/charts/nut-exporter/dashboards/default.json +++ b/charts/nut-exporter/dashboards/default.json @@ -145,7 +145,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "max by (ups, flag) (network_ups_tools_ups_status) == 1", + "expr": "max by (ups, flag) (network_ups_tools_ups_status{ups=\"$ups\"}) == 1", "interval": "", "legendFormat": "{{flag}}", "refId": "A"