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

Add Peep.prune_tags/2 #33

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Add Peep.prune_tags/2 #33

wants to merge 2 commits into from

Conversation

rkallos
Copy link
Owner

@rkallos rkallos commented Feb 11, 2025

closes #31.

This implements a basic method to remove unused tags from Peep.

@hauleth, I'd love to know what you think of this as a potential solution for removing per-tenant metrics in Supavisor. I juggled through a few different approaches, but ultimately I think this approach gives the most flexibility for the least amount of surprise while minimizing ETS table traversals.

@hauleth
Copy link
Contributor

hauleth commented Feb 12, 2025

Looks nice and probably will fit our use case perfectly.

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.

A way to clean unused labels
2 participants