Scrape Ledgerline's metrics from falken through czy's Traefik
czy publishes no service ports, so Traefik exposes each service's :9464 as https://ledgerline.vione.cloud/metrics/<service> behind basic auth, and the platform's Prometheus gets a `ledgerline` job with one target per service. The targets share an address; a `service` label tells them apart, and relabels derive __metrics_path__ and instance from it. create-secrets.sh now also creates the prometheus-scrape-auth secret (mounted optional, so a missing secret fails only this job) and writes the gitignored htpasswd file Traefik reads, which is copied to czy like .env.observability. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
920712f32b
commit
b3e7c14958
@@ -4,6 +4,7 @@ __pycache__/
|
||||
.pytest_cache/
|
||||
.env
|
||||
.env.observability
|
||||
observability/traefik/metrics-users
|
||||
k8s/.credentials
|
||||
*.egg-info/
|
||||
.DS_Store
|
||||
|
||||
Reference in New Issue
Block a user