nexogen-international / Nexogen.Libraries.Metrics

Library for collecting application metrics in .NET and exporting them to Prometheus
MIT License
61 stars 9 forks source link

Add ReplaceValue to LabeledGauge. #38

Open saxus opened 4 years ago

saxus commented 4 years ago

Currently there is no way to remove a metric with a specific label (see #31). This pull request solve the the use case when you need to update metrics and remove obsoleted ones atomically.

ahoka commented 4 years ago

This should be a new implementation of IGauge.