Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support auth basic authentication #183

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

cmizzi
Copy link

@cmizzi cmizzi commented Nov 29, 2022

Many of Prometheus exporters support basic auth authentication. This PR adds this feature to this exporter.

server:
  host: 0.0.0.0
  port: 9144
  auth_basic:
    enabled: true
    username: prometheus
    password: $2y$10$piR5rO00ZYPEEf76Lm7DDeIYRZpSuGR1TuZ4rC7tpxuZmf6w0NU2q // test

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.

1 participant