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
classPROMETHEUS_CPP_CORE_EXPORT Family : public Collectable {
We worry about that there will be too many metrics if some label is added with very many values out of our expectation. So we want to limit the number of metrics for one Family object. Maybe LRU mechanism can get involved in to replace the very stale metric.
The text was updated successfully, but these errors were encountered:
As can be seen from the declaration of the class
Family
, there is only one method namedRemove()
, which can remove the metric added before.prometheus-cpp/core/include/prometheus/family.h
Line 62 in 6492e82
We worry about that there will be too many metrics if some label is added with very many values out of our expectation. So we want to limit the number of metrics for one
Family
object. Maybe LRU mechanism can get involved in to replace the very stale metric.The text was updated successfully, but these errors were encountered: