Use credentials file for Dawarich metrics scrape

This commit is contained in:
2026-06-21 23:00:00 +02:00
parent 699b1f118e
commit 4cf9e3226e
6 changed files with 16 additions and 9 deletions
+3 -3
View File
@@ -9,9 +9,9 @@
- job_name: dawarich
metrics_path: /metrics
scheme: https
basic_auth:
username: prometheus
password_file: /run/secrets/dawarich_metrics_password
authorization:
type: Basic
credentials_file: /run/secrets/dawarich_metrics_basic_auth
static_configs:
- targets:
- dawarich.kaleschke.info