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.
This issue has been inactive for 60 days. It will be closed in 60 days if there is no activity. To ping code owners by adding a component label, see Adding Labels via Comments, or if you are unsure of which component this issue relates to, please ping @open-telemetry/collector-contrib-triagers. If this issue is still relevant, please ping the code owners or leave a comment explaining why it is still relevant. Otherwise, please close it.
Component(s)
receiver/prometheus
What happened?
Description
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
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.
Collector version
v0.67.0
Environment information
Environment
OS: (e.g., "Ubuntu 20.04")
Compiler(if manually compiled): (e.g., "go 14.2")
OpenTelemetry Collector configuration
No response
Log output
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: