Skip to content

Commit

Permalink
[monitoring] added metrics for home assistant
Browse files Browse the repository at this point in the history
  • Loading branch information
gruberdev committed Feb 19, 2024
1 parent 30e67b2 commit e33328a
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 9 deletions.
1 change: 0 additions & 1 deletion apps/data/storage/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ resources:
# - base/archivebox.yaml
- base/change.yaml
# - base/taskwarrior.yaml
# - base/nitter.yaml
# - base/wallabag.yaml
# - base/milvus.yaml
- base/actual.yaml
Expand Down
1 change: 1 addition & 0 deletions apps/home/ha/base/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@ resources:
- ingress.yaml
- certificate.yaml
- metrics.yaml
- secret.yaml
15 changes: 7 additions & 8 deletions apps/home/ha/base/metrics.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,11 @@ metadata:
spec:
staticConfigs:
- targets:
- homeassistant.homeassistant.svc.cluster.local:80
job_name: hass
bearer_token: <path:kv/data/home#auth-token>
metrics_path: /api/prometheus
- home-assistant.homeassistant.svc.cluster.local
authorization:
credentials:
name: ha-long-token
key: home-token
scheme: HTTP
tls_config:
insecure_skip_verify: true
scrape_interval: 60s
metricsPath: /metrics
scrapeInterval: 60s
metricsPath: /api/prometheus

0 comments on commit e33328a

Please sign in to comment.