Custom HTTP headers for discovery.http #6261
Labels
enhancement
New feature or request
frozen-due-to-age
Locked due to a period of inactivity. Please open new issues or PRs if more discussion is needed.
Request
I would like to set custom HTTP headers in
discovery.http
Use case
I'm getting Prometheus targets from Netbox using this plugin: https://github.com/FlxPeters/netbox-plugin-prometheus-sd
Netbox requires the
Authorization: Token xxxx
header for authentication. My Netbox system is behind an Apache proxy which usesAuthorization
for another purpose, so I rename the header using an Apache config like this:Therefore I need to set the
Netbox-Authorization
header.The text was updated successfully, but these errors were encountered: