Skip to content

Add --min-savings flag to filter low-value recommendations #22

Description

@maksimov

Add a --min-savings flag (dollar amount) to suppress recommendations below a threshold.

Some users scanning large fleets get noise from small savings (e.g., $5/mo Spot recommendations). A filter like --min-savings 100 would only show recommendations with >= $100/mo estimated savings.

Implementation:

  • Add scanMinSavings float64 flag in cmd/gpuaudit/main.go
  • After analysis.AnalyzeAll(), filter out instances where EstimatedSavings < minSavings
  • Similar pattern to the existing --min-uptime-days filter

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions