-
Notifications
You must be signed in to change notification settings - Fork 1
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: [CHK-3139] Expose http metrics #563
base: main
Are you sure you want to change the base?
Conversation
This service is the core of eCommerce, the performance is very important. |
application: true # reports startup time, useful for future comparison | ||
http.server.requests: true # reports http request counts | ||
resilience4j.circuitbreaker: true # reports circuit breaker status | ||
jvm.memory: true # reports heap status | ||
jvm.gc: true # reports garbage collector metrics, useful to detect too long pauses | ||
mongodb.driver: true # reports useful mongo statistics, like waiting queue |
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.
I would expose only requests count metrics disabling others. those can be enabled in the future as needed.
What do you think?
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.
Yes, I'm agree, the purpose was to get more data during testing, so now, I will disable useless metrics :)
Quality Gate passedIssues Measures |
This PR enable service monitor (aka prometheus scraping) to collect metrics from expose
/actuator/prometheus
endpoint. Also enable the endpoint itself by exposing some useful information like HTTP requests count.List of Changes
serviceMonitor
section from helm chart/actuator/prometheus
endpointMotivation and Context
How Has This Been Tested?
Tested on Grafana by seeing reported metrics using prometheus as data source
Screenshots (if appropriate):
Types of changes
Checklist: