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

Extend metrics library #2572

Closed
wants to merge 1 commit into from
Closed

Conversation

lambdanis
Copy link
Contributor

@lambdanis lambdanis commented Jun 17, 2024

This is a general rewrite of pkg/metrics library, but it a fully backwards
compatible way. Goals and key components are described in doc.go, so I would
suggest starting the review there :)

For usage examples see #2604 (defining health metrics group, migrating some custom metrics & collectors to the new interface).

Fixes: #2376

@lambdanis lambdanis added release-note/misc This PR makes changes that have no direct user impact. area/metrics Related to prometheus metrics labels Jun 17, 2024
Copy link

netlify bot commented Jun 21, 2024

Deploy Preview for tetragon ready!

Name Link
🔨 Latest commit e0340b3
🔍 Latest deploy log https://app.netlify.com/sites/tetragon/deploys/6675fafd34753800084e11a1
😎 Deploy Preview https://deploy-preview-2572--tetragon.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@lambdanis lambdanis force-pushed the pr/lambdanis/library branch 2 times, most recently from 876f3ee to cc929de Compare June 21, 2024 18:11
@lambdanis lambdanis changed the title [WIP] Rewrite the metrics library Extend metrics library Jun 21, 2024
@lambdanis lambdanis marked this pull request as ready for review June 21, 2024 18:31
@lambdanis lambdanis requested a review from a team as a code owner June 21, 2024 18:31
@lambdanis lambdanis requested a review from jrfastab June 21, 2024 18:31
@lambdanis lambdanis force-pushed the pr/lambdanis/library branch 5 times, most recently from 4cb47a1 to 022d16d Compare June 24, 2024 10:58
This is a general rewrite of pkg/metrics library, but it a fully backwards
compatible way. Goals and key components are described in doc.go, so I won't
repeat them here.

Fixes: cilium#2376

Signed-off-by: Anna Kapuscinska <[email protected]>
@lambdanis
Copy link
Contributor Author

lambdanis commented Jun 24, 2024

I'm closing this PR in favour of #2606 - it's the same PR but opened from a branch inside the repo instead of the fork, so that I can easily stack follow-up PRs.

@lambdanis lambdanis closed this Jun 24, 2024
@lambdanis lambdanis deleted the pr/lambdanis/library branch June 24, 2024 22:38
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 release-note/misc This PR makes changes that have no direct user impact.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Improve metrics library to enforce best practices
1 participant