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

Improve metrics library to enforce best practices #2376

Open
lambdanis opened this issue Apr 25, 2024 · 0 comments
Open

Improve metrics library to enforce best practices #2376

lambdanis opened this issue Apr 25, 2024 · 0 comments
Assignees
Labels
area/metrics Related to prometheus metrics

Comments

@lambdanis
Copy link
Contributor

There were many changes made recently to improve how Prometheus metrics are defined and managed in Tetragon:

Metrics now seem to be in a decent place. However, it's not intuitive for developers how to define them. Things like labels configuration, initialization and separate helpers for docs can be confusing.

The goal of this issue is to extend pkg/metrics library to provide an intuitive interface for defining metrics following best practices. Ideally we should also write dev docs and add metrics linting to CI.

@lambdanis lambdanis added the area/metrics Related to prometheus metrics label Apr 25, 2024
@lambdanis lambdanis self-assigned this Apr 25, 2024
@lambdanis lambdanis changed the title Intuitive metrics library Improve metrics library to enforce best practices Apr 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/metrics Related to prometheus metrics
Projects
None yet
Development

No branches or pull requests

1 participant