-
Notifications
You must be signed in to change notification settings - Fork 75
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
feat: expose prometheus metrics via jmx exporter #1573
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[jans-cli] Kudos, SonarCloud Quality Gate passed! |
[Fido2 API] Kudos, SonarCloud Quality Gate passed! |
[jans-config-api-parent] Kudos, SonarCloud Quality Gate passed! |
[Jans authentication server parent] Kudos, SonarCloud Quality Gate passed! |
[jans-client-api] Kudos, SonarCloud Quality Gate passed! |
[SCIM API] Kudos, SonarCloud Quality Gate passed! |
Very nice feature! |
Prepare
Description
Target issue
GH issue: #682
Implementation Details
Prometheus metrics can be exposed via JMX exporter by setting the newly added
CN_PROMETHEUS_PORT
env, i.e.CN_PROMETHEUS_PORT=9093
. The metrics can be scraped by Prometheus or accessed manually by making request tohttp://$SERVICE:9093/metrics
URL.Test and Document the changes
docker-jans-*/README.md
for details