Hi,
in short: how can i montior traefik with prometheus. Anyone having a complete tutorial source for this.
- i got traefik installed via helm chart in my k8s cluster
- added some arguments:
- "--metrics=true" - "--metrics.prometheus=true" - "--metrics.prometheus.buckets=0.100000, 0.300000, 1.200000, 5.000000" - "--metrics.prometheus.addEntryPointsLabels=true" - "--metrics.prometheus.addServicesLabels=true" - "--metrics.prometheus.addRoutersLabels=true"
- traefik dashboard is enabled and says at metrics "prometheus"
- prometheus is deployed via helm chart (prometheus-community/kube-prometheus-stack)
- i have access to grafana
But theres either no data in grafana nor can i access "/metrics".
Some sources state the deployment of a service monitor but where can i find a working one for traefik?
I thougt this would be much easier and less challenging or am i missing something.