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
Assume I have a IntCounterVec client_tls_cert_error with labels cname and error with which I track client certificate errors. There can be different error messages which I don't know in advance (certificate expiration mostly).
In case cert goes back to normal is there any way like remove method in order to remove all client_tls_cert_error subset with matching cname and any error labels?
It would be nice to have at least remove method (which takes HashMap as input) analog that doesn't throw cardinality error but deletes all variants of the metric with matched subset of labels.
The text was updated successfully, but these errors were encountered:
Antiarchitect
changed the title
remove_label_values and Inconsistent label cardinality
Remove metrics subset based on partial labels match
Mar 30, 2022
Assume I have a IntCounterVec
client_tls_cert_error
with labelscname
anderror
with which I track client certificate errors. There can be different error messages which I don't know in advance (certificate expiration mostly).In case cert goes back to normal is there any way like
remove
method in order to remove allclient_tls_cert_error
subset with matchingcname
and anyerror
labels?It would be nice to have at least
remove
method (which takes HashMap as input) analog that doesn't throw cardinality error but deletes all variants of the metric with matched subset of labels.The text was updated successfully, but these errors were encountered: