aerogear / keycloak-metrics-spi

Adds a Metrics Endpoint to Keycloak
Apache License 2.0
523 stars 151 forks source link

pushgateway is necessary to get metrics ? #180

Open shaik-jhani opened 7 months ago

shaik-jhani commented 7 months ago

Description

We tried to use the keycloak-metrics-spi-4.0.0.jar version for keycloak-21.1.1 but we unable to get the metrics in garafana. So, Do we need to install the pushgateway is mandatory to install in order to get those metrics ?

Expected Behavior

Actual Behavior

Environment

Steps to reproduce

Describe all steps and pre-requirements which are required to be performed in order to reproduce this scenario. ( E.g 1. Action, 2. Action ... )

tolleiv commented 1 month ago

No pushgateway is not needed to get the metrics, just point your Prometheus to scrape /realms/master/metrics and you're good.