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

Simple MetricsSnapshot performance change #963

Merged

Conversation

dhoard
Copy link
Collaborator

@dhoard dhoard commented May 23, 2024

Simple MetricsSnapshot performance change to prevent calling prometheusName(name) in a loop.

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Signed-off-by: dhoard <doug.hoard@gmail.com>
@dhoard dhoard requested a review from fstab May 23, 2024 11:59
Copy link
Member

@fstab fstab left a comment

Choose a reason for hiding this comment

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

Thanks a lot, looks good to me!

@fstab fstab merged commit 5867b79 into prometheus:main May 23, 2024
2 checks passed
@dhoard dhoard deleted the metrics-snapshots-performance-improvement branch August 29, 2024 03:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants