Skip to content

upctl database metrics

Show database metrics

upctl database metrics <UUID/Title...> [flags]

Examples

upctl database metrics 0497728e-76ef-41d0-997f-fa9449eb71bc --period day
upctl database metrics my_database --period month

Options

Option Description
--period Period for the metrics. Valid values are hour, day, week, month and year.
Default: day
--latest-only Only output the latest data point. Only affects the human readable output.
--help, -h help for metrics
Default: false

Global options

Option Description
--client-timeout, -t Client timeout to use in API calls.
Default: 0s
--config Configuration file path.
--debug Print out more verbose debug logs.
Default: false
--force-colours Force coloured output despite detected terminal support.
--no-colours Disable coloured output despite detected terminal support. Colours can also be disabled by setting NO_COLOR environment variable.
--output, -o Output format. Valid values are human, json and yaml.
Default: human
Command Description
upctl database Manage databases