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

Allow metric initialization failure #51

Merged
merged 1 commit into from
Jul 19, 2024
Merged

Allow metric initialization failure #51

merged 1 commit into from
Jul 19, 2024

Conversation

rob-maron
Copy link
Collaborator

Previously we would panic if we tried to initialize metrics twice. This would only happen if we pull in two different versions of cdn_proto, as can happen in the sequencer.

This allows fallible metric initialization while still allowing for globally allocated metrics

@rob-maron rob-maron merged commit 398b77f into master Jul 19, 2024
3 checks passed
@rob-maron rob-maron deleted the rm/metric-unpanic branch August 29, 2024 17:47
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.

1 participant