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

Filter the report to focus on the biggest problems first #156

Open
stocksr opened this issue Oct 12, 2023 · 4 comments
Open

Filter the report to focus on the biggest problems first #156

stocksr opened this issue Oct 12, 2023 · 4 comments

Comments

@stocksr
Copy link

stocksr commented Oct 12, 2023

Is your feature request related to a problem? Please describe.
It would be really handy if I could set a filter EG

  • Show items that require increased resources (we self host our clusters so setting resources too low is a higher priority issue than cloud costs)
  • Show items that are not configured correctly (Mem Limit != Request, CPU Limit Set)
  • Show items that recommend a greater than n% change - either direction

Describe the solution you'd like
CLI options to set filters and only output the resources that match, - I think the entire table row should be output if any single item in that row meets the filter.

Ideally the process exit code would also be set depending on if it finds any resources that match the filter - to allow for automated checks for work to do.

Describe alternatives you've considered
jq magic on the json output
just looking through the entire table to find the items needed attention
a feature request to allow sorting the output by priority

@LeaveMyYard
Copy link
Contributor

Hey, @stocksr

What do you think, being able to export results right to excel will help with all of those?

@stocksr
Copy link
Author

stocksr commented Oct 23, 2023

Hey, @stocksr

What do you think, being able to export results right to excel will help with all of those?

That would help with 90% of my request and would allow me to manually do what I want. So would be perfect for a one off process and I 100% support adding that or a csv format export. However what I am really looking for is an automatable solution whereby I define my criteria once and then on a schedule I run my script to see if anything needs attention. (I will probably be automatically creating a work item but that is way outside the scope of this request.)

@fabn
Copy link

fabn commented May 23, 2024

Any news about this? Otherwise reviewing PDF report requires a lot of time.

Starting from a priority filter would be a great addition, also entries should be sortable (with some default) like in the robusta ui

@aantn
Copy link
Contributor

aantn commented May 25, 2024

Hey, no updates yet, but if you are open to working on this I'd love to point you in the right direction! A PR would be more than welcome.

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

4 participants