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

Initialize metrics on MetricCache creation #223

Merged
merged 1 commit into from Sep 8, 2023
Merged

Initialize metrics on MetricCache creation #223

merged 1 commit into from Sep 8, 2023

Conversation

ThisIsAreku
Copy link
Contributor

metrics are not initialized when creating a new MetricCache, so they don't appear in prometheus until the first Get call

I've updated the test cases to reflect on this change

@eko eko merged commit 1fd5265 into eko:master Sep 8, 2023
20 checks passed
@eko
Copy link
Owner

eko commented Sep 8, 2023

Thank you @ThisIsAreku

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