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 method to unregister metrics #63

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

a-rose
Copy link

@a-rose a-rose commented Sep 28, 2021

Hello,

This PR adds prom_collector_registry_unregister_metric(). This gives the ability to remove metrics without having to restart the whole registry.

It also contains a fix for a crash in prom_map_delete_internal where the node is deleted before its key, resulting in using a deleted object when deleting the key later on.

@a-rose a-rose requested a review from a team as a code owner September 28, 2021 12:58
Ayrdim pushed a commit to Omnitouch/prometheus-client-c that referenced this pull request May 25, 2023
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