Thanks for your answer. This might be the case, but I do not like this solution, because I would like to treat these jobs as the same logical job. I.e. I would like to use the job labels to select all the metrics from the different targets.
I know I could achieve this with target-specific label two, but this seams to me more complicated, than it ought to be. , Daz Wilkin schrieb am Freitag, 14. März 2025 um 00:36:52 UTC+1: > I think you need to have a separate `scrape_config` for each unique > `basic_auth` pair. -- You received this message because you are subscribed to the Google Groups "Prometheus Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion visit https://groups.google.com/d/msgid/prometheus-users/dbb6c657-36fe-4563-842b-a11e60766a95n%40googlegroups.com.

