Description
I've deployed the sidecar on a cluster with Istio/Knative, and some metrics aren't showing up in the Metrics Explorer. The sidecar log didn't reveal anything at first, only after turning on debug
logging did I see a ton of too many labels
errors. (This in itself seems like a bug, or worthy of mentioning in the README.) According to the error messages, the problematic metrics have almost 40 labels, thanks to Istio/Knative.
So I tried to configure Prometheus via metric_relabel_configs
to drop some labels, but so far many labels cannot be removed without causing target not found
errors in the sidecar log (and metrics still not showing up). I'm not sure why i.e. security_istio_io_tlsMode
is a critical label to have.
Do you have a suggested approach to reducing the amount of labels and keeping the sidecar happy?