mirror of
https://github.com/prometheus/prometheus
synced 2024-12-25 16:02:28 +00:00
a5d39361ab
* discovery/azure: fail hard when client_id/client_secret is empty Signed-off-by: mengnan <supernan1994@gmail.com> * discovery/azure: fail hard when authentication parameters are missing Signed-off-by: mengnan <supernan1994@gmail.com> * add unit test Signed-off-by: mengnan <supernan1994@gmail.com> * add unit test Signed-off-by: mengnan <supernan1994@gmail.com> * format code Signed-off-by: mengnan <supernan1994@gmail.com>
7 lines
226 B
YAML
7 lines
226 B
YAML
scrape_configs:
|
|
- job_name: azure
|
|
azure_sd_configs:
|
|
- subscription_id: 11AAAA11-A11A-111A-A111-1111A1111A11
|
|
tenant_id:
|
|
client_id: 333333CC-3C33-3333-CCC3-33C3CCCCC33C
|
|
client_secret: mysecret |