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
We are starting to use tag_cardinality_limit transform to enforce some cardinality controls on our tags.
Vector is setup to receive metrics from dozens of applications. Vector seems to be printing the cardinality metric like this:
As you can see, the above log entry just says tag_key: name which is the most common tag name. How will I know which metric its coming from?
This implies that Vector is just counting cardinality for a label regardless of which metric its coming from. Is this supposed to be for tag cardinality per metric or is it independent of the metric?
If its the latter then it doesn't really seem to be useful. I would appreciate you help in understanding this transform and its correct usage.
What I am really looking for is how will I determine which metric is emitting a high cardinality tag and then talk to the relevant team to fix it.
Apologies for the delayed response, I wasn't super familiar with that transform. Looking at it, it does appear to limit regardless of metric name; just looking at the tags. I agree it would be useful to limit per-metric. I can also see that it would be useful to have the metric name in that log output. I created two new issues to track this:
Hi,
We are starting to use
tag_cardinality_limit
transform to enforce some cardinality controls on our tags.Vector is setup to receive metrics from dozens of applications. Vector seems to be printing the cardinality metric like this:
Looking at the internal logs, I am getting entries like this:
As you can see, the above log entry just says
tag_key: name
which is the most common tag name. How will I know which metric its coming from?This implies that Vector is just counting cardinality for a label regardless of which metric its coming from. Is this supposed to be for tag cardinality per metric or is it independent of the metric?
If its the latter then it doesn't really seem to be useful. I would appreciate you help in understanding this transform and its correct usage.
Kind regards,
Nas
Originally posted by @NasAmin in #15218
The text was updated successfully, but these errors were encountered: