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

fix: cleanup Peep metrics #499

Merged
merged 1 commit into from
Nov 27, 2024
Merged

fix: cleanup Peep metrics #499

merged 1 commit into from
Nov 27, 2024

Conversation

hauleth
Copy link
Contributor

@hauleth hauleth commented Nov 27, 2024

As we are depending on the undocumented internals of the Peep library, we accidentally were broken by recent update in Peep where they have added feature of stripped metrics storage. In this change there were no more named ETS tables and there may be more than one ETS table in case of striped tables. Now we are traversing all tables used by Peep to cleanup them all (even though we are currently using regular store, but this fix should work in case of striped tables as well).

@hauleth hauleth requested a review from a team as a code owner November 27, 2024 11:52
@hauleth hauleth force-pushed the fix/cleanup-peep-metrics branch 2 times, most recently from 806d7f2 to 6f3866a Compare November 27, 2024 12:39
As we are depending on the undocumented internals of the Peep library,
we accidentally were broken by recent update in Peep where they have
added feature of stripped metrics storage. In this change there were no
more named ETS tables and there may be more than one ETS table in case
of striped tables. Now we are traversing all tables used by Peep to
cleanup them all (even though we are currently using regular store, but
this fix should work in case of striped tables as well).
@hauleth hauleth force-pushed the fix/cleanup-peep-metrics branch from 6f3866a to 0204039 Compare November 27, 2024 13:01
@hauleth hauleth merged commit 2683164 into v2 Nov 27, 2024
6 checks passed
@hauleth hauleth deleted the fix/cleanup-peep-metrics branch November 27, 2024 13:43
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.

2 participants