metalcloud-cli infrastructure statistics¶
Get deployment statistics for an infrastructure
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¶
metalcloud-cli infrastructure statistics 123
Get statistics for infrastructure by label¶
metalcloud-cli infrastructure statistics “web-cluster”
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¶
-h, --help help for statistics
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¶
metalcloud-cli infrastructure - Manage infrastructure resources and configurations