You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be nice to have metrics to track issues with Providers, under a new space traefik_provider_, e.g. traefik_provider_errors_total{provider="consulCatalog"} x to be able to monitor errors like:
{"level":"error","msg":"Provider connection error failed to get consul catalog data: Get
\"https://127.0.0.1:8501/v1/catalog/services?stale=\": remote error: tls: bad certificate, retrying in
615.460936ms","providerName":"consulcatalog","time":"2024-01-19T07:04:38Z"}
At the moment it's not possible to monitor natively such failures. This is similar to #10236 but for another domain.
The text was updated successfully, but these errors were encountered:
Hello @the-nando 👋 And thanks for your interest in Traefik.
Could you explain a bit more your use case for this new metric? Especially, why monitoring these from filtered logs (filtered with the providerName field) is not enough?
Hi @jspdown 😄 The use case is to monitor providers health / status with Prometheus. Tailing the logs is a possible solution but it requires external tooling / exporters which may not be available, and since Traefik already exports Prometheus metrics it should be possible to have them exported natively without much change.
We’re unsure about the use case and the traction it will receive. We are going to leave the status as kind/proposal to give the community time to let us know if they would like this idea.
We will reevaluate as people respond.
Welcome!
What did you expect to see?
It would be nice to have metrics to track issues with Providers, under a new space traefik_provider_, e.g.
traefik_provider_errors_total{provider="consulCatalog"} x
to be able to monitor errors like:At the moment it's not possible to monitor natively such failures. This is similar to #10236 but for another domain.
The text was updated successfully, but these errors were encountered: