You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The target allocator component of the prometheus receiver supports configuring the http client used to retrieve scrape configs from the target allocator, but it does not support configuring the http clients used to perform the actual scrapes.
The configuration from the http_sd_config is used when communicating with the target allocator, but is not propagated to the generated scrape targets.
Steps to Reproduce
Set up the prometheus receiver with the target allocator enabled. In my case, I used the opentelemetry operator.
Set up a service to scrape in such a way that configuration of the http client is required to perform the scrape. This could be something like specifying a proxy URL or requiring custom TLS certs.
Expected Result
The http client config can be specified so that the target can be scraped.
Actual Result
There is no way to specify the http client config and the target cannot be scraped.