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

fix(nut-exporter): Fix various syntax errors

parent 89467d41
No related branches found
No related tags found
No related merge requests found
...@@ -13,5 +13,5 @@ sources: ...@@ -13,5 +13,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.5 version: 0.3.6
appVersion: 3.0.0 appVersion: 3.0.0
# nut-exporter # nut-exporter
![Version: 0.3.5](https://img.shields.io/badge/Version-0.3.5-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.6](https://img.shields.io/badge/Version-0.3.6-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
...@@ -21,7 +21,7 @@ Installs NUT exporter in Kubernetes ...@@ -21,7 +21,7 @@ Installs NUT exporter in Kubernetes
| image.repository | string | `"ghcr.io/druggeri/nut_exporter"` | | | image.repository | string | `"ghcr.io/druggeri/nut_exporter"` | |
| image.tag | string | `""` | | | image.tag | string | `""` | |
| nodeSelector | object | `{}` | | | nodeSelector | object | `{}` | |
| podMonitor | object | `{"enabled":true,"labels":{},"params":{},"relabelings":[{"source_labels":["__param_ups"],"target_label":"ups"}]}` | Enables podMonitor object for prometheus-operator based setups | | podMonitor | object | `{"enabled":true,"labels":{},"params":{},"relabelings":[{"sourceLabels":["__param_ups"],"targetLabel":"ups"}]}` | Enables podMonitor object for prometheus-operator based setups |
| podMonitor.params | object | `{}` | parameters that are used on the scrape target required for functional dashboard | | podMonitor.params | object | `{}` | parameters that are used on the scrape target required for functional dashboard |
| podSecurityContext.runAsGroup | int | `3642` | | | podSecurityContext.runAsGroup | int | `3642` | |
| podSecurityContext.runAsNonRoot | bool | `true` | | | podSecurityContext.runAsNonRoot | bool | `true` | |
......
...@@ -431,7 +431,7 @@ ...@@ -431,7 +431,7 @@
"type": "prometheus", "type": "prometheus",
"uid": "${datasource}" "uid": "${datasource}"
}, },
"expr": "min by (ups) (network_ups_tools_battery_runtime{ups=\"$ups\")}", "expr": "min by (ups) (network_ups_tools_battery_runtime{ups=\"$ups\"})",
"interval": "", "interval": "",
"legendFormat": "", "legendFormat": "",
"refId": "A" "refId": "A"
......
...@@ -106,9 +106,9 @@ should match basic snapshot: ...@@ -106,9 +106,9 @@ should match basic snapshot:
path: /ups_metrics path: /ups_metrics
port: http port: http
relabelings: relabelings:
- source_labels: - sourceLabels:
- __param_ups - __param_ups
target_label: ups targetLabel: ups
scheme: http scheme: http
selector: selector:
matchLabels: matchLabels:
......
...@@ -14,8 +14,8 @@ podMonitor: ...@@ -14,8 +14,8 @@ podMonitor:
enabled: true enabled: true
labels: {} labels: {}
relabelings: relabelings:
- source_labels: [__param_ups] - sourceLabels: [__param_ups]
target_label: ups targetLabel: ups
# -- parameters that are used on the scrape target required for functional dashboard # -- parameters that are used on the scrape target required for functional dashboard
params: {} params: {}
# ups: # ups:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment