Skip to content

metalcloud-cli infrastructure statistics

Get deployment statistics for an infrastructure

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:

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”

metalcloud-cli infrastructure stats production-env metalcloud-cli infrastructure get-statistics my-infrastructure

metalcloud-cli infrastructure statistics infrastructure_id_or_label [flags]
-h, --help help for statistics
-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")

Auto generated by spf13/cobra on 11-Aug-2025

Section titled “Auto generated by spf13/cobra on 11-Aug-2025”