Skip to content

Add information to README about "too many labels" and possible solutions #278

Description

@alxndr42

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions