Skip to content
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

Provide analysis capability, if user decides to drop the label after getting cardinality details by cc mode. #2

Open
pree-dew opened this issue Dec 14, 2023 · 0 comments

Comments

@pree-dew
Copy link
Owner

pree-dew commented Dec 14, 2023

Use Case
User can find cardinality contribution of label or combination of labels using cc mode. After that they have to decide the approach that they want to take, it may be dropping, aggregating or partitioning (relabelling). For taking any action, they have to do some sort of analysis like:

  • If we drop the label is it going to result in duplicates?
  • Are we using this label somewhere else may be in our grafana or alert manager?

Approach
Will add subcommand to cc mode to run the analysis as per action. Add 2 subcommands:

  • drop
    • This will give out of total timeseries after dropping the label how many of them are unique and give a % of that
  • aggregate [type]
    • provide type as Grafana/AM and then the token and url to find the queries where we are using the metric
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant