Linkerd Metrics - add configuration for authority label #5601
Unanswered
marcelovcpereira
asked this question in
Ideas
Replies: 1 comment 1 reply
-
@marcelovcpereira Is it possible to manage this cardinality as part of the prometheus scrape config? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello, we had some discussions (here and here) in linkerd slack about the impact that the label "authority" can cause in prometheus in some situations.
Because of that we are thinking about contributing to linkerd2-proxy.
Do you think it would be valuable to have a configuration to define the granularity of the metric label authority ?
We could have an option to have there the full qualified domain name (default) or only the top level domain.
The top level domain option would be useful to reduce cardinality of the timeseries in prometheus in case we have too many subdomains (as in our use case - per customer, which can reach multiple thousands).
Beta Was this translation helpful? Give feedback.
All reactions