-
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
Add metrics instrumentation to Morty #13
Conversation
- Provide convenience method to create an HTTP server to expose metrics on `/metrics` of the given address. Signed-off-by: thomasgouveia <[email protected]>
2c12591
to
1509663
Compare
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.
Nice to have telemetry on the project now!
contrib/grafana/morty-dashboard.json
Outdated
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.
Along the current docker-compose you could give an extension with a grafana dashboard and monitoring capabilities.
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.
Will be done through another PR, I hope someone will do it !
- Added metrics to controller component to (Histogram and counter) for function invocations etc. - Configurable port for metrics server Signed-off-by: thomasgouveia <[email protected]>
…12) Signed-off-by: thomasgouveia <[email protected]>
1509663
to
9db1439
Compare
This PR brings the following improvements :
pkg/telemetry
to easily create metrics HTTP server. This module will be improved in the future to provide common methods to add metrics data to our components.controller
component to create telemetry data for function invocationsCloses #12