Hi, I might not see the obvious, but I wonder how I can create a job with
multiple target, which use https and basic authentiation. But every target
uses a different username and password.
Up to now my prometheus.yml looks like this
- job_name: 'my-job'
scrape_interval: 20s
static_configs:
- targets: ['test2.app1']
labels:
environment: test2
- targets: ['test3.app1']
labels:
environment: test3
scheme: https
basic_auth:
username: my-user
password: secret
Can I specify the basic_auth values also below each target and overwriting
the definition on the job level.
Or is there a special label like __metrics_path__ and I can use relabeling.
As Isaaid I might overlook the obvois, but I could find no information for
this situationj
--
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/d1bae5fa-17ff-4b0d-901f-ea96f1d8f878n%40googlegroups.com.