Hello all,
I've managed to get prometheus to collect metrics from Traefik. However, it seems to only see traffic from its own entry point which happens to be the web-secure one!
I'm experiencing similar issue only the other way around. I do obtain metrics for internal services and for what's defined within the file provider while docker provider metrics are not recognized or included. Dashboard shows everything as it should. I've seen that if I swap the entrypoint with one of the others, I do obtain then that missing entrypoint within data but without any related routers our services. Any good suggestion on why this would be happening? I've seen "out there" that some do define metrics within the docker provider but for my setup I've followed the official docs (yaml + manual routing within dyn. conf.). Any suggestions really appreciated.
Just a followup... I've moved metrics section within the static config file to the bottom (end) so that metrics are being loaded last. Previously I've had metrics defined before both provider files. Now I'm missing only one entry point that has permanent redirection to another so I guess that should be ok... if it helps anyone...