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
Is your feature request related to a problem? Please describe.
Current metrics generator will add __metrics_gen_instance external label with hostname, which will significantly introduce additional cardinality.
Hi, the reason for adding __metrics_gen_instance is to ensure that the series generated by each metrics-generator are unique between them. I'm not sure if it makes sense to exclude it.
Hi @javiermolinar, it would be better to let the user decide if this level of uniqueness is needed. For example when we have millions of time series and hundreds of metrics generator, as the storage/infra owner, I would like to exclude all unnecessary labels to reduce overall cardinality and improve query efficiency. At this moment I dont see any customer using __metrics_gen_instance label.
You can always have these external labels included as default, and provide a config which would take a list of strings that could be excluded from the externalLabels,
does this make sense?
Is your feature request related to a problem? Please describe.
Current metrics generator will add __metrics_gen_instance external label with hostname, which will significantly introduce additional cardinality.
Describe the solution you'd like
Have a config to exclude such external labels to just include needed metrics labels/dimensions.
Describe alternatives you've considered
N/A
Additional context
N/A
The text was updated successfully, but these errors were encountered: