ScrapeConfig.spec.azureSDConfigs[]
AzureSDConfig allow retrieving scrape targets from Azure VMs. See https://prometheus.io/docs/prometheus/latest/configuration/configuration/#azure_sd_config
| Field / Type | Description |
|---|---|
authenticationMethod | # The authentication method, either OAuth or ManagedIdentity. See https://docs.microsoft.com/en-us/azure/active-directory/managed-identities-azure-resources/overview
|
clientID | Optional client ID. Only required with the OAuth authentication method. |
Optional client secret. Only required with the OAuth authentication method.
| |
environment | The Azure environment. |
port | The port to scrape metrics from. If using the public IP address, this must instead be specified in the relabeling rule. |
refreshInterval | RefreshInterval configures the refresh interval at which Prometheus will re-read the instance list.
|
resourceGroup | Optional resource group name. Limits discovery to this resource group. |
subscriptionID | The subscription ID. Always required.
|
tenantID | Optional tenant ID. Only required with the OAuth authentication method. |