Skip to content
This repository was archived by the owner on Jun 17, 2026. It is now read-only.

Add method to unregister metrics - #63

Open
a-rose wants to merge 3 commits into
digitalocean:masterfrom
a-rose:features/unregister-metric
Open

Add method to unregister metrics#63
a-rose wants to merge 3 commits into
digitalocean:masterfrom
a-rose:features/unregister-metric

Conversation

@a-rose

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

Copy link
Copy Markdown

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 subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant