aerogear/keycloak-metrics-spi

Pushgateway with basic auth

twiden opened this issue · 2 comments

Is there a way to push metrics to a Prometheus Pushgateway that has basic auth enabled?

(Enabling basic auth in Pushgateway protects all HTTP endpoints including POST metrics)

We would need to set a connection factory: pg.setConnectionFactory(new BasicAuthHttpConnectionFactory("user", "pass")); in here.