marcinbudny / eventstore_exporter

EventStoreDB (https://eventstore.com/eventstoredb/) metrics Prometheus exporter.
MIT License
52 stars 10 forks source link

Add basic http authorization for all GET requests #6

Closed paulopez78 closed 5 years ago

paulopez78 commented 5 years ago

First of all thanks for the work you are doing with that project, we are using it and is great!

The problem I've found it was after upgrading to eventstore 5.0.2 version, the subscriptions endpoint is protected with basic http authentication and we aren't getting the metrics.

Here you have the release notes from eventstore: https://eventstore.org/blog/20190723/event-store-5.0.2-release/

I did a test of the PR in our system and looks ok.

Thanks!

marcinbudny commented 5 years ago

Hello Pau, thank you for your PR. I will take a look right away.

marcinbudny commented 5 years ago

I will release a version with the fix soon, but I still want to make the auth opt-in so that it doesn't break for people who run older ES versions on non-default admin password.

marcinbudny commented 5 years ago

Version 0.6.0 has been released