I am trying to setup Azure Service Discovery, but have hit an issue.
Trying to use a managed identity i keep getting the following error:
*StatusCode=0
-- Original Error: the MSI endpoint is not available. Failed HTTP request
to MSI endpoint. *
My config:
scrape_configs:
- job_name: service-azure
azure_sd_configs:
- environment: AzurePublicCloud
authentication_method: ManagedIdentity
subscription_id: xxxx
port: 9101
I have tried using both user created and system assigned identity, with
Reader role over the subscription with no luck. I'm not sure if a
different role is needed or if i am missing some sort of configuration.
--
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 on the web visit
https://groups.google.com/d/msgid/prometheus-users/6449ae8b-26d4-45bf-a3ca-61343ca99c83n%40googlegroups.com.