Skip to content
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(metrics): Adding initial support for prometheus metrics #1176

Merged
merged 4 commits into from
Oct 17, 2023

Conversation

jespino
Copy link
Contributor

@jespino jespino commented Oct 15, 2023

This is an initial PR to add the initial support for Prometheus metrics. It only adds one metric for API calls duration. We need to figure out what we want to expose in the metrics.

For this PR I'm using OpenTelemetry library, but I'm focusing on exposing the Prometheus metrics. In the future we can expand that with other Metrics format and add Tracing if we considere it interesting.

This PR fixes #519

Here is a screenshot of some metrics collected quicly
imagen

mudler
mudler previously approved these changes Oct 16, 2023
Copy link
Owner

@mudler mudler left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice one, thanks @jespino !

@mudler mudler merged commit e91f660 into mudler:master Oct 17, 2023
8 checks passed
@mudler mudler added the enhancement New feature or request label Oct 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Expose prometheus metrics
2 participants