You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a few long running server processes which collect metrics with labels for resources which may get deleted over time. So after a few weeks/months running I have thousands of different labels with their last metered value in the Prometheus Metrics endpoint.
Is there a way to remove or expire labels or metrics which are not metered since a long time? E.g. prometheus-net supports expiring unchanged metrics after a specific TimeSpan. And there is a method to remove specific labels from a metric.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I have a few long running server processes which collect metrics with labels for resources which may get deleted over time. So after a few weeks/months running I have thousands of different labels with their last metered value in the Prometheus Metrics endpoint.
Is there a way to remove or expire labels or metrics which are not metered since a long time? E.g. prometheus-net supports expiring unchanged metrics after a specific TimeSpan. And there is a method to remove specific labels from a metric.
Beta Was this translation helpful? Give feedback.
All reactions