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

[Feature]: Adding flag filter for custom-analyzer #1374

Open
2 tasks done
naveenthangaraj03 opened this issue Feb 12, 2025 · 0 comments
Open
2 tasks done

[Feature]: Adding flag filter for custom-analyzer #1374

naveenthangaraj03 opened this issue Feb 12, 2025 · 0 comments

Comments

@naveenthangaraj03
Copy link
Contributor

Checklist

  • I've searched for similar issues and couldn't find anything matching
  • I've discussed this feature request in the K8sGPT Slack and got positive feedback

Is this feature request related to a problem?

Yes

Problem Description

  • While running

k8sgpt analyze --custom-analysis

  • It will get errors from all the custom analyzer and also the active filters

Image

  • If we apply flag filter for custom analyzer name (FYI: Flag filter for custom analyzer is not supported officially, but it works) it will get all the custom analyzer errors(FYI: I have two custom analyzer).

Image

  • But I applied filter for one custom analyzer but it fetches for both resources

Image

Solution Description

  • Instead can we use flag filter to get the particular custom-analyzer error

k8sgpt analyze --filter=custom-analyzer-name --custom-analysis

Benefits

  • So it will reduce the latency because it will get only the particular resource error.

  • It will get only the particular resource data so the data consumption is less

Potential Drawbacks

No response

Additional Information

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Proposed
Development

No branches or pull requests

1 participant