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
Hello, I am trying to get working some metrics scrapping using docker service discovery.
In particular I have node exporter with basic auth, so its /metrics endpoint is behind this. Node exporter runs as a docker container and my plan is to configure it to get the metrics via service discovery, but I am not finding a way to tell Prometheus to use the proper user/pass. I can change the address, port and path dinamycally using labels, but not auth? Am I missing something here?
Thanks in advance.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello, I am trying to get working some metrics scrapping using docker service discovery.
In particular I have node exporter with basic auth, so its /metrics endpoint is behind this. Node exporter runs as a docker container and my plan is to configure it to get the metrics via service discovery, but I am not finding a way to tell Prometheus to use the proper user/pass. I can change the address, port and path dinamycally using labels, but not auth? Am I missing something here?
Thanks in advance.
Beta Was this translation helpful? Give feedback.
All reactions