metalcloud-cli infrastructure statistics
Get deployment statistics for an infrastructure
Synopsis
Section titled “Synopsis”Display deployment and job execution statistics for a specific infrastructure.
This command shows information about deployment groups, job completion rates, error counts, and timing information which helps monitor infrastructure deployment health and performance.
Arguments: infrastructure_id_or_label The ID (numeric) or label (string) of the infrastructure
Examples:
Get statistics for infrastructure by ID
Section titled “Get statistics for infrastructure by ID”metalcloud-cli infrastructure statistics 123
Get statistics for infrastructure by label
Section titled “Get statistics for infrastructure by label”metalcloud-cli infrastructure statistics “web-cluster”
Using aliases
Section titled “Using aliases”metalcloud-cli infrastructure stats production-env metalcloud-cli infrastructure get-statistics my-infrastructure
metalcloud-cli infrastructure statistics infrastructure_id_or_label [flags]Options
Section titled “Options” -h, --help help for statisticsOptions inherited from parent commands
Section titled “Options inherited from parent commands” -k, --api_key string MetalCloud API key -c, --config string Config file path -d, --debug Set to enable debug logging -e, --endpoint string MetalCloud API endpoint -f, --format string Output format. Supported values are 'text','csv','md','json','yaml'. (default "text") -i, --insecure_skip_verify Set to allow insecure transport -l, --log_file string Log file path -v, --verbosity string Log level verbosity (default "INFO")SEE ALSO
Section titled “SEE ALSO”- metalcloud-cli infrastructure - Manage infrastructure resources and configurations