prometheus_scrape source should have request headers configurable #19656
Labels
meta: good first issue
Anything that is good for new contributors.
source: prometheus_scrape
Anything `prometheus_scrape` source related
type: feature
A value-adding code addition that introduce new functionality.
A note for the community
Use Cases
For example, Hashicorp Vault requires
Accept: prometheus/telemetry
orAccept: application/openmetrics-text]
headers to be present in request to return metrics in Prometheus format.https://developer.hashicorp.com/vault/docs/configuration/telemetry#prometheus
Attempted Solutions
No response
Proposal
prometheus_scrape source should have request headers configurable, as http_client already do.
References
No response
Version
0.35.0
The text was updated successfully, but these errors were encountered: