mirror of
https://github.com/prometheus/prometheus.git
synced 2024-12-25 21:54:10 -08: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: BBBB222B-B2B2-2B22-B222-2BB2222BB2B2
|
|
client_id:
|
|
client_secret: mysecret |