TLDR:
How do I pass arbitrary tags set in Consul through to Prometheus?
traefik has consul catalog provider configured:
[providers.consulCatalog]
prefix = "traefik"
exposedByDefault = false
[providers.consulCatalog.endpoint]
address = "127.0.0.1:8500"
scheme = "http"
and then passes metrics to prometheus:
[metrics]
[metrics.prometheus]
addServicesLabels = true
addEntryPointsLabels = true
addRoutersLabels = true
In consul, I've tagged a service with ctm_app=true
How do I pass that specific tag through to prometheus?