I have a need to identify metrics involving init containers and am wondering whether it makes sense to add the event.InvolvedObject.FieldPath as a label in the prometheus counter metrics.
This would allow me to match the label value against a regex (eg. heptio_eventrouter_warnings_total{involved_object_fieldpath=~".*init.*")
I have a need to identify metrics involving init containers and am wondering whether it makes sense to add the
event.InvolvedObject.FieldPath
as a label in the prometheus counter metrics.This would allow me to match the label value against a regex (eg.
heptio_eventrouter_warnings_total{involved_object_fieldpath=~".*init.*"
)If this makes sense, I can easily PR it.