Skip to content
Snippets Groups Projects
Verified Commit 00505f51 authored by Sheogorath's avatar Sheogorath :european_castle:
Browse files

feat(nut-exporter): Add annotations to dashboard

parent 245a6493
No related branches found
No related tags found
No related merge requests found
Pipeline #18472 passed
...@@ -15,5 +15,5 @@ sources: ...@@ -15,5 +15,5 @@ sources:
- https://github.com/acolombier/nut_exporter/tree/feat/add-helm-chart - https://github.com/acolombier/nut_exporter/tree/feat/add-helm-chart
type: application type: application
version: 0.3.9 version: 0.3.10
appVersion: 3.0.0 appVersion: 3.0.0
# nut-exporter # nut-exporter
![Version: 0.3.9](https://img.shields.io/badge/Version-0.3.9-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 3.0.0](https://img.shields.io/badge/AppVersion-3.0.0-informational?style=flat-square) ![Version: 0.3.10](https://img.shields.io/badge/Version-0.3.10-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 3.0.0](https://img.shields.io/badge/AppVersion-3.0.0-informational?style=flat-square)
Installs NUT exporter in Kubernetes Installs NUT exporter in Kubernetes
......
...@@ -52,6 +52,17 @@ ...@@ -52,6 +52,17 @@
"type": "dashboard" "type": "dashboard"
}, },
"type": "dashboard" "type": "dashboard"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"enable": true,
"expr": "max by (ups, flag) (network_ups_tools_ups_status{ups=\"$ups\", flag!=\"OL\"}) == 1",
"iconColor": "red",
"name": "UPS Status Events",
"titleFormat": "{{flag}}}"
} }
] ]
}, },
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment