Skip to content

Conversation

jpinsonneau
Copy link
Contributor

@jpinsonneau jpinsonneau commented Oct 10, 2025

Read the Authorization header and set it on prometheus calls when possible to allow multitenancy and handle roles at prometheus level.

When not specified, the default client is used, coming from the configuration file provided.

I gave a try with the openshift example provided in #37 removing the authorization config from the file.

  • When providing a header I can access to the metrics:
image
  • When providing a wrong header or no header I get a 401 error:
image

Partially fixes #13

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Authn, authz, HTTPS, Rate limiting, other http access controls to HTTP/SSE server

1 participant