[plex-exporter] Update to common, add loglevel argument (#48)

* [plex-exporter] Update to common, add loglevel argument

* Fix empty lines

* Clean linting

* Add missing repo to ct
This commit is contained in:
2023-03-06 09:28:09 +00:00
committed by GitHub
parent d9ed2b2bed
commit 3e65c6aff7
7 changed files with 26 additions and 68 deletions

View File

@@ -9,7 +9,7 @@ image:
# -- image repository
repository: granra/plex_exporter
# -- image tag
tag: v0.2.2
tag: v0.2.3
# -- image pull policy
pullPolicy: IfNotPresent
@@ -42,6 +42,8 @@ plex:
token:
# -- Enable autodiscover using plex.tv
autodiscover: true
# -- Logging level
# loglevel: info
metrics:
# -- Enable and configure a Prometheus serviceMonitor for the chart under this key.
@@ -58,13 +60,13 @@ metrics:
labels: {}
# -- Configure additionial rules for the chart under this key.
# @default -- See prometheusrules.yaml
rules: []
# - alert: plexExporterAbsent
# annotations:
# description: plex Exporter has disappeared from Prometheus service discovery.
# summary: plex Exporter is down.
# expr: |
# absent(up{job=~".*plexexporter.*"} == 1)
# for: 5m
# labels:
# severity: critical
rules:
- alert: PlexExporterAbsent
annotations:
description: Plex Exporter has disappeared from Prometheus service discovery.
summary: Plex Exporter is down.
expr: |
absent(up{job=~".*{{ include "common.names.fullname" . }}.*"} == 1)
for: 5m
labels:
severity: critical