Allow estimation of impacts of an existing inventory that is passed as a file to the CLI.
Update Rust version to 1.78.
Include also some refactoring and a breaking change on CLI:
the option to get results as metrics (using the flag --as-metrics on the 'estimate' command) is replaced by a direct command name metrics
Usage: cloud-scanner-cli [OPTIONS] <COMMAND>
Commands:
estimate Get estimation of impacts for a given usage duration as json
metrics Get estimation of impacts for a given usage duration as OpenMetrics (Prometheus) instead of json
inventory List resources (and instances average cpu load for the last 5 minutes) without returning impacts
serve Run as a standalone server. Access metrics (e.g. http://localhost:8000/metrics?aws_region=eu-west-3), inventory or impacts (see http://localhost:8000/swagger-ui)
help Print this message or the help of the given subcommand(s)
Options:
-a, --aws-region <AWS_REGION>
AWS region (The default aws profile region is used if not provided)
-b, --boavizta-api-url <BOAVIZTA_API_URL>
Optional Boavizta API URL if you want to use your own instance (URL without the trailing slash, e.g. https://api.boavizta.org)
-t, --filter-tags <FILTER_TAGS>
Filter instances on tags (like tag-key-1=val_1 tag-key_2=val2)
-v, --verbosity...
Enable logging and show execution duration, use multiple `v`s to increase logging level warning to debug
-h, --help
Print help
Allow estimation of impacts of an existing inventory that is passed as a file to the CLI.
Update Rust version to 1.78.
Include also some refactoring and a breaking change on CLI:
--as-metrics
on the 'estimate' command) is replaced by a direct command namemetrics