-
Notifications
You must be signed in to change notification settings - Fork 535
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow dropping additional labels in distributor #9711
Comments
Answering to the specific request: Mimir supports Note that the config flag comes with a warning:
I cannot say I fully understand this setup. Do different "prometheus_type" prometheuses scrap same set of metrics or not? If yes, then wouldn't removing the |
One thing is forgot to mention is that cluster label in HA tracker is configured to Prometheuses with different This way if some business app explodes with cardinality we will still receive all system metrics and metrics from others shards of business prometheuses. |
Describe the feature request
We have a tiered prometheus setup where each tier has its own responsibility. Because of this we track HA labels differently. We have three labels in total.
cluster
which is used in queries,__prometheus_type__
which indicates the tier prometheus belongs to and__replica__
which indicates replica number in the tier. Because Mimir only drops__replica__
label we are left with__prometheus_type__
replica but we would like to get rid of it.Reason for such setup is that if one tier becomes unstable others will be unaffected.
For example:
Describe the solution you'd like
Allow specifying in config which additional labels distributor should drop from received timeseries.
Configured labels could be easily dropped here
Alternatives
I have tried
drop_labels
but it seems to run before ha tracker and it breaks ingestion.The text was updated successfully, but these errors were encountered: