feat: rework hass monitoring

This commit is contained in:
auricom
2022-02-06 22:49:27 +01:00
parent 14e31f2385
commit 81242ca162
6 changed files with 122 additions and 599 deletions

View File

@@ -136,9 +136,6 @@ spec:
sonarr:
url: https://raw.githubusercontent.com/k8s-at-home/grafana-dashboards/main/sonarr.json
datasource: Prometheus
terra:
url: https://raw.githubusercontent.com/auricom/home-cluster/main/cluster/apps/monitoring/kube-prometheus-stack/grafana-dashboards/terra.json
datasource: Prometheus
deploymentStrategy:
type: Recreate
persistence:
@@ -280,13 +277,13 @@ spec:
- targets: ["${LOCAL_LAN_TRUENAS}:9273"]
labels:
app: "truenas"
# - job_name: "truenas-remote"
# scrape_interval: 60s
# metrics_path: "/metrics"
# static_configs:
# - targets: ["${LOCAL_LAN_TRUENAS_REMOTE}:9273"]
# labels:
# app: "truenas-remote"
- job_name: "truenas-remote"
scrape_interval: 60s
metrics_path: "/metrics"
static_configs:
- targets: ["${LOCAL_LAN_TRUENAS_REMOTE}:9273"]
labels:
app: "truenas-remote"
# Example scrape config for probing ingresses via the Blackbox Exporter.
#
# The relabeling allows the actual ingress scrape endpoint to be configured