The ceilometer client is the command-line interface (CLI) for the Telemetry service API and its extensions.
This chapter documents ceilometer version 2.7.0
.
For help on a specific ceilometer command, enter:
$ ceilometer help COMMAND
usage: ceilometer [--version] [-d] [-v] [--timeout TIMEOUT]
[--ceilometer-url <CEILOMETER_URL>]
[--ceilometer-api-version CEILOMETER_API_VERSION]
[--os-tenant-id <tenant-id>]
[--os-region-name <region-name>]
[--os-auth-token <auth-token>]
[--os-service-type <service-type>]
[--os-endpoint-type <endpoint-type>] [--os-cacert <cacert>]
[--os-insecure <insecure>] [--os-cert-file <cert-file>]
[--os-key-file <key-file>] [--os-cert <cert>]
[--os-key <key>] [--os-project-name <project-name>]
[--os-project-id <project-id>]
[--os-project-domain-id <project-domain-id>]
[--os-project-domain-name <project-domain-name>]
[--os-user-id <user-id>]
[--os-user-domain-id <user-domain-id>]
[--os-user-domain-name <user-domain-name>]
[--os-endpoint <endpoint>] [--os-auth-system <auth-system>]
[--os-username <username>] [--os-password <password>]
[--os-tenant-name <tenant-name>] [--os-token <token>]
[--os-auth-url <auth-url>]
<subcommand> ...
Subcommands:
alarm-combination-create
alarm-combination-update
alarm-create
alarm-delete
alarm-event-create
alarm-event-update
alarm-gnocchi-aggregation-by-metrics-threshold-create
alarm-gnocchi-aggregation-by-metrics-threshold-update
alarm-gnocchi-aggregation-by-resources-threshold-create
alarm-gnocchi-aggregation-by-resources-threshold-update
alarm-gnocchi-resources-threshold-create
alarm-gnocchi-resources-threshold-update
alarm-history
alarm-list
alarm-show
alarm-state-get
alarm-state-set
alarm-threshold-create
alarm-threshold-update
alarm-update
capabilities
event-list
event-show
event-type-list
meter-list
query-alarm-history
query-alarms
query-samples
resource-list
resource-show
sample-create
sample-create-list
sample-list
--meter
is set).sample-show
statistics
trait-description-list
trait-list
bash-completion
help
--version
-d, --debug
env[CEILOMETERCLIENT_DEBUG]
.-v, --verbose
--timeout TIMEOUT
--ceilometer-url <CEILOMETER_URL>
--os-endpoint
instead.
Defaults to env[CEILOMETER_URL]
.--ceilometer-api-version CEILOMETER_API_VERSION
env[CEILOMETER_API_VERSION]
or 2.--os-tenant-id <tenant-id>
env[OS_TENANT_ID]
.--os-region-name <region-name>
env[OS_REGION_NAME]
.--os-auth-token <auth-token>
env[OS_AUTH_TOKEN]
.--os-service-type <service-type>
env[OS_SERVICE_TYPE]
.--os-endpoint-type <endpoint-type>
env[OS_ENDPOINT_TYPE]
.--os-cacert <cacert>
env[OS_CACERT]
.--os-insecure <insecure>
env[OS_INSECURE]
.--os-cert-file <cert-file>
env[OS_CERT_FILE]
.--os-key-file <key-file>
env[OS_KEY_FILE]
.--os-cert <cert>
env[OS_CERT]
.--os-key <key>
env[OS_KEY]
.--os-project-name <project-name>
env[OS_PROJECT_NAME]
.--os-project-id <project-id>
env[OS_PROJECT_ID]
.--os-project-domain-id <project-domain-id>
env[OS_PROJECT_DOMAIN_ID]
.--os-project-domain-name <project-domain-name>
env[OS_PROJECT_DOMAIN_NAME]
.--os-user-id <user-id>
env[OS_USER_ID]
.--os-user-domain-id <user-domain-id>
env[OS_USER_DOMAIN_ID]
.--os-user-domain-name <user-domain-name>
env[OS_USER_DOMAIN_NAME]
.--os-endpoint <endpoint>
env[OS_ENDPOINT]
.--os-auth-system <auth-system>
env[OS_AUTH_SYSTEM]
.--os-username <username>
env[OS_USERNAME]
.--os-password <password>
env[OS_PASSWORD]
.--os-tenant-name <tenant-name>
env[OS_TENANT_NAME]
.--os-token <token>
env[OS_TOKEN]
.--os-auth-url <auth-url>
env[OS_AUTH_URL]
.usage: ceilometer alarm-combination-create --name <NAME>
[--project-id <ALARM_PROJECT_ID>]
[--user-id <ALARM_USER_ID>]
[--description <DESCRIPTION>]
[--state <STATE>]
[--severity <SEVERITY>]
[--enabled {True|False}]
[--alarm-action <Webhook URL>]
[--ok-action <Webhook URL>]
[--insufficient-data-action <Webhook URL>]
[--time-constraint <Time Constraint>]
[--repeat-actions {True|False}]
--alarm_ids <ALARM IDS>
[--operator <OPERATOR>]
Create a new alarm based on state of other alarms.
Optional arguments:
--name <NAME>
--project-id <ALARM_PROJECT_ID>
--user-id <ALARM_USER_ID>
--description <DESCRIPTION>
--state <STATE>
--severity <SEVERITY>
--enabled {True|False}
--alarm-action <Webhook URL>
--ok-action <Webhook URL>
--insufficient-data-action <Webhook URL>
--time-constraint <Time Constraint>
--repeat-actions {True|False}
--alarm_ids <ALARM IDS>
--operator <OPERATOR>
usage: ceilometer alarm-combination-update [--name <NAME>]
[--project-id <ALARM_PROJECT_ID>]
[--user-id <ALARM_USER_ID>]
[--description <DESCRIPTION>]
[--state <STATE>]
[--severity <SEVERITY>]
[--enabled {True|False}]
[--alarm-action <Webhook URL>]
[--ok-action <Webhook URL>]
[--insufficient-data-action <Webhook URL>]
[--time-constraint <Time Constraint>]
[--repeat-actions {True|False}]
[--remove-time-constraint <Constraint names>]
[--alarm_ids <ALARM IDS>]
[--operator <OPERATOR>]
[<ALARM_ID>]
Update an existing alarm based on state of other alarms.
Positional arguments:
<ALARM_ID>
Optional arguments:
--name <NAME>
--project-id <ALARM_PROJECT_ID>
--user-id <ALARM_USER_ID>
--description <DESCRIPTION>
--state <STATE>
--severity <SEVERITY>
--enabled {True|False}
--alarm-action <Webhook URL>
--ok-action <Webhook URL>
--insufficient-data-action <Webhook URL>
--time-constraint <Time Constraint>
--repeat-actions {True|False}
--remove-time-constraint <Constraint names>
--alarm_ids <ALARM IDS>
--operator <OPERATOR>
usage: ceilometer alarm-delete [<ALARM_ID>]
Delete an alarm.
Positional arguments:
<ALARM_ID>
usage: ceilometer alarm-event-create --name <NAME>
[--project-id <ALARM_PROJECT_ID>]
[--user-id <ALARM_USER_ID>]
[--description <DESCRIPTION>]
[--state <STATE>] [--severity <SEVERITY>]
[--enabled {True|False}]
[--alarm-action <Webhook URL>]
[--ok-action <Webhook URL>]
[--insufficient-data-action <Webhook URL>]
[--time-constraint <Time Constraint>]
[--repeat-actions {True|False}]
[--event-type <EVENT_TYPE>] [-q <QUERY>]
Create a new alarm based on events.
Optional arguments:
--name <NAME>
--project-id <ALARM_PROJECT_ID>
--user-id <ALARM_USER_ID>
--description <DESCRIPTION>
--state <STATE>
--severity <SEVERITY>
--enabled {True|False}
--alarm-action <Webhook URL>
--ok-action <Webhook URL>
--insufficient-data-action <Webhook URL>
--time-constraint <Time Constraint>
--repeat-actions {True|False}
--event-type <EVENT_TYPE>
-q <QUERY>, --query <QUERY>
usage: ceilometer alarm-event-update [--name <NAME>]
[--project-id <ALARM_PROJECT_ID>]
[--user-id <ALARM_USER_ID>]
[--description <DESCRIPTION>]
[--state <STATE>] [--severity <SEVERITY>]
[--enabled {True|False}]
[--alarm-action <Webhook URL>]
[--ok-action <Webhook URL>]
[--insufficient-data-action <Webhook URL>]
[--time-constraint <Time Constraint>]
[--repeat-actions {True|False}]
[--event-type <EVENT_TYPE>] [-q <QUERY>]
[<ALARM_ID>]
Update an existing alarm based on events.
Positional arguments:
<ALARM_ID>
Optional arguments:
--name <NAME>
--project-id <ALARM_PROJECT_ID>
--user-id <ALARM_USER_ID>
--description <DESCRIPTION>
--state <STATE>
--severity <SEVERITY>
--enabled {True|False}
--alarm-action <Webhook URL>
--ok-action <Webhook URL>
--insufficient-data-action <Webhook URL>
--time-constraint <Time Constraint>
--repeat-actions {True|False}
--event-type <EVENT_TYPE>
-q <QUERY>, --query <QUERY>
usage: ceilometer alarm-gnocchi-aggregation-by-metrics-threshold-create
--name <NAME> [--project-id <ALARM_PROJECT_ID>]
[--user-id <ALARM_USER_ID>] [--description <DESCRIPTION>]
[--state <STATE>] [--severity <SEVERITY>] [--enabled {True|False}]
[--alarm-action <Webhook URL>] [--ok-action <Webhook URL>]
[--insufficient-data-action <Webhook URL>]
[--time-constraint <Time Constraint>] [--repeat-actions {True|False}]
[--granularity <GRANULARITY>] [--evaluation-periods <COUNT>]
--aggregation-method <AGGREATION> [--comparison-operator <OPERATOR>]
--threshold <THRESHOLD> -m <METRICS>
Create a new alarm based on computed statistics.
Optional arguments:
--name <NAME>
--project-id <ALARM_PROJECT_ID>
--user-id <ALARM_USER_ID>
--description <DESCRIPTION>
--state <STATE>
--severity <SEVERITY>
--enabled {True|False}
--alarm-action <Webhook URL>
--ok-action <Webhook URL>
--insufficient-data-action <Webhook URL>
--time-constraint <Time Constraint>
--repeat-actions {True|False}
--granularity <GRANULARITY>
--evaluation-periods <COUNT>
--aggregation-method <AGGREATION>
--comparison-operator <OPERATOR>
--threshold <THRESHOLD>
-m <METRICS>, --metrics <METRICS>
usage: ceilometer alarm-gnocchi-aggregation-by-metrics-threshold-update
[--name <NAME>] [--project-id <ALARM_PROJECT_ID>]
[--user-id <ALARM_USER_ID>] [--description <DESCRIPTION>]
[--state <STATE>] [--severity <SEVERITY>] [--enabled {True|False}]
[--alarm-action <Webhook URL>] [--ok-action <Webhook URL>]
[--insufficient-data-action <Webhook URL>]
[--time-constraint <Time Constraint>] [--repeat-actions {True|False}]
[--granularity <GRANULARITY>] [--evaluation-periods <COUNT>]
[--aggregation-method <AGGREATION>] [--comparison-operator <OPERATOR>]
[--threshold <THRESHOLD>] [-m <METRICS>]
[--remove-time-constraint <Constraint names>]
[<ALARM_ID>]
Update an existing alarm based on computed statistics.
Positional arguments:
<ALARM_ID>
Optional arguments:
--name <NAME>
--project-id <ALARM_PROJECT_ID>
--user-id <ALARM_USER_ID>
--description <DESCRIPTION>
--state <STATE>
--severity <SEVERITY>
--enabled {True|False}
--alarm-action <Webhook URL>
--ok-action <Webhook URL>
--insufficient-data-action <Webhook URL>
--time-constraint <Time Constraint>
--repeat-actions {True|False}
--granularity <GRANULARITY>
--evaluation-periods <COUNT>
--aggregation-method <AGGREATION>
--comparison-operator <OPERATOR>
--threshold <THRESHOLD>
-m <METRICS>, --metrics <METRICS>
--remove-time-constraint <Constraint names>
usage: ceilometer alarm-gnocchi-aggregation-by-resources-threshold-create
--name <NAME> [--project-id <ALARM_PROJECT_ID>]
[--user-id <ALARM_USER_ID>] [--description <DESCRIPTION>]
[--state <STATE>] [--severity <SEVERITY>] [--enabled {True|False}]
[--alarm-action <Webhook URL>] [--ok-action <Webhook URL>]
[--insufficient-data-action <Webhook URL>]
[--time-constraint <Time Constraint>] [--repeat-actions {True|False}]
[--granularity <GRANULARITY>] [--evaluation-periods <COUNT>]
--aggregation-method <AGGREATION> [--comparison-operator <OPERATOR>]
--threshold <THRESHOLD> -m <METRIC> --resource-type <RESOURCE_TYPE>
--query <QUERY>
Create a new alarm based on computed statistics.
Optional arguments:
--name <NAME>
--project-id <ALARM_PROJECT_ID>
--user-id <ALARM_USER_ID>
--description <DESCRIPTION>
--state <STATE>
--severity <SEVERITY>
--enabled {True|False}
--alarm-action <Webhook URL>
--ok-action <Webhook URL>
--insufficient-data-action <Webhook URL>
--time-constraint <Time Constraint>
--repeat-actions {True|False}
--granularity <GRANULARITY>
--evaluation-periods <COUNT>
--aggregation-method <AGGREATION>
--comparison-operator <OPERATOR>
--threshold <THRESHOLD>
-m <METRIC>, --metric <METRIC>
--resource-type <RESOURCE_TYPE>
--query <QUERY>
usage: ceilometer alarm-gnocchi-aggregation-by-resources-threshold-update
[--name <NAME>] [--project-id <ALARM_PROJECT_ID>]
[--user-id <ALARM_USER_ID>] [--description <DESCRIPTION>]
[--state <STATE>] [--severity <SEVERITY>] [--enabled {True|False}]
[--alarm-action <Webhook URL>] [--ok-action <Webhook URL>]
[--insufficient-data-action <Webhook URL>]
[--time-constraint <Time Constraint>] [--repeat-actions {True|False}]
[--granularity <GRANULARITY>] [--evaluation-periods <COUNT>]
[--aggregation-method <AGGREATION>] [--comparison-operator <OPERATOR>]
[--threshold <THRESHOLD>] [-m <METRIC>]
[--resource-type <RESOURCE_TYPE>] [--query <QUERY>]
[--remove-time-constraint <Constraint names>]
[<ALARM_ID>]
Update an existing alarm based on computed statistics.
Positional arguments:
<ALARM_ID>
Optional arguments:
--name <NAME>
--project-id <ALARM_PROJECT_ID>
--user-id <ALARM_USER_ID>
--description <DESCRIPTION>
--state <STATE>
--severity <SEVERITY>
--enabled {True|False}
--alarm-action <Webhook URL>
--ok-action <Webhook URL>
--insufficient-data-action <Webhook URL>
--time-constraint <Time Constraint>
--repeat-actions {True|False}
--granularity <GRANULARITY>
--evaluation-periods <COUNT>
--aggregation-method <AGGREATION>
--comparison-operator <OPERATOR>
--threshold <THRESHOLD>
-m <METRIC>, --metric <METRIC>
--resource-type <RESOURCE_TYPE>
--query <QUERY>
--remove-time-constraint <Constraint names>
usage: ceilometer alarm-gnocchi-resources-threshold-create --name <NAME>
[--project-id <ALARM_PROJECT_ID>]
[--user-id <ALARM_USER_ID>]
[--description <DESCRIPTION>]
[--state <STATE>]
[--severity <SEVERITY>]
[--enabled {True|False}]
[--alarm-action <Webhook URL>]
[--ok-action <Webhook URL>]
[--insufficient-data-action <Webhook URL>]
[--time-constraint <Time Constraint>]
[--repeat-actions {True|False}]
[--granularity <GRANULARITY>]
[--evaluation-periods <COUNT>]
--aggregation-method
<AGGREATION>
[--comparison-operator <OPERATOR>]
--threshold
<THRESHOLD> -m
<METRIC>
--resource-type
<RESOURCE_TYPE>
--resource-id
<RESOURCE_ID>
Create a new alarm based on computed statistics.
Optional arguments:
--name <NAME>
--project-id <ALARM_PROJECT_ID>
--user-id <ALARM_USER_ID>
--description <DESCRIPTION>
--state <STATE>
--severity <SEVERITY>
--enabled {True|False}
--alarm-action <Webhook URL>
--ok-action <Webhook URL>
--insufficient-data-action <Webhook URL>
--time-constraint <Time Constraint>
--repeat-actions {True|False}
--granularity <GRANULARITY>
--evaluation-periods <COUNT>
--aggregation-method <AGGREATION>
--comparison-operator <OPERATOR>
--threshold <THRESHOLD>
-m <METRIC>, --metric <METRIC>
--resource-type <RESOURCE_TYPE>
--resource-id <RESOURCE_ID>
usage: ceilometer alarm-gnocchi-resources-threshold-update [--name <NAME>]
[--project-id <ALARM_PROJECT_ID>]
[--user-id <ALARM_USER_ID>]
[--description <DESCRIPTION>]
[--state <STATE>]
[--severity <SEVERITY>]
[--enabled {True|False}]
[--alarm-action <Webhook URL>]
[--ok-action <Webhook URL>]
[--insufficient-data-action <Webhook URL>]
[--time-constraint <Time Constraint>]
[--repeat-actions {True|False}]
[--granularity <GRANULARITY>]
[--evaluation-periods <COUNT>]
[--aggregation-method <AGGREATION>]
[--comparison-operator <OPERATOR>]
[--threshold <THRESHOLD>]
[-m <METRIC>]
[--resource-type <RESOURCE_TYPE>]
[--resource-id <RESOURCE_ID>]
[--remove-time-constraint <Constraint names>]
[<ALARM_ID>]
Update an existing alarm based on computed statistics.
Positional arguments:
<ALARM_ID>
Optional arguments:
--name <NAME>
--project-id <ALARM_PROJECT_ID>
--user-id <ALARM_USER_ID>
--description <DESCRIPTION>
--state <STATE>
--severity <SEVERITY>
--enabled {True|False}
--alarm-action <Webhook URL>
--ok-action <Webhook URL>
--insufficient-data-action <Webhook URL>
--time-constraint <Time Constraint>
--repeat-actions {True|False}
--granularity <GRANULARITY>
--evaluation-periods <COUNT>
--aggregation-method <AGGREATION>
--comparison-operator <OPERATOR>
--threshold <THRESHOLD>
-m <METRIC>, --metric <METRIC>
--resource-type <RESOURCE_TYPE>
--resource-id <RESOURCE_ID>
--remove-time-constraint <Constraint names>
usage: ceilometer alarm-history [-q <QUERY>] [<ALARM_ID>]
Display the change history of an alarm.
Positional arguments:
<ALARM_ID>
Optional arguments:
-q <QUERY>, --query <QUERY>
usage: ceilometer alarm-list [-q <QUERY>]
List the user’s alarms.
Optional arguments:
-q <QUERY>, --query <QUERY>
usage: ceilometer alarm-show [<ALARM_ID>]
Show an alarm.
Positional arguments:
<ALARM_ID>
usage: ceilometer alarm-state-get [<ALARM_ID>]
Get the state of an alarm.
Positional arguments:
<ALARM_ID>
usage: ceilometer alarm-state-set --state <STATE> [<ALARM_ID>]
Set the state of an alarm.
Positional arguments:
<ALARM_ID>
Optional arguments:
--state <STATE>
usage: ceilometer alarm-threshold-create --name <NAME>
[--project-id <ALARM_PROJECT_ID>]
[--user-id <ALARM_USER_ID>]
[--description <DESCRIPTION>]
[--state <STATE>]
[--severity <SEVERITY>]
[--enabled {True|False}]
[--alarm-action <Webhook URL>]
[--ok-action <Webhook URL>]
[--insufficient-data-action <Webhook URL>]
[--time-constraint <Time Constraint>]
[--repeat-actions {True|False}] -m
<METRIC> [--period <PERIOD>]
[--evaluation-periods <COUNT>]
[--statistic <STATISTIC>]
[--comparison-operator <OPERATOR>]
--threshold <THRESHOLD> [-q <QUERY>]
Create a new alarm based on computed statistics.
Optional arguments:
--name <NAME>
--project-id <ALARM_PROJECT_ID>
--user-id <ALARM_USER_ID>
--description <DESCRIPTION>
--state <STATE>
--severity <SEVERITY>
--enabled {True|False}
--alarm-action <Webhook URL>
--ok-action <Webhook URL>
--insufficient-data-action <Webhook URL>
--time-constraint <Time Constraint>
--repeat-actions {True|False}
-m <METRIC>, --meter-name <METRIC>
--period <PERIOD>
--evaluation-periods <COUNT>
--statistic <STATISTIC>
--comparison-operator <OPERATOR>
--threshold <THRESHOLD>
-q <QUERY>, --query <QUERY>
usage: ceilometer alarm-threshold-update [--name <NAME>]
[--project-id <ALARM_PROJECT_ID>]
[--user-id <ALARM_USER_ID>]
[--description <DESCRIPTION>]
[--state <STATE>]
[--severity <SEVERITY>]
[--enabled {True|False}]
[--alarm-action <Webhook URL>]
[--ok-action <Webhook URL>]
[--insufficient-data-action <Webhook URL>]
[--time-constraint <Time Constraint>]
[--repeat-actions {True|False}]
[--remove-time-constraint <Constraint names>]
[-m <METRIC>] [--period <PERIOD>]
[--evaluation-periods <COUNT>]
[--statistic <STATISTIC>]
[--comparison-operator <OPERATOR>]
[--threshold <THRESHOLD>]
[-q <QUERY>]
[<ALARM_ID>]
Update an existing alarm based on computed statistics.
Positional arguments:
<ALARM_ID>
Optional arguments:
--name <NAME>
--project-id <ALARM_PROJECT_ID>
--user-id <ALARM_USER_ID>
--description <DESCRIPTION>
--state <STATE>
--severity <SEVERITY>
--enabled {True|False}
--alarm-action <Webhook URL>
--ok-action <Webhook URL>
--insufficient-data-action <Webhook URL>
--time-constraint <Time Constraint>
--repeat-actions {True|False}
--remove-time-constraint <Constraint names>
-m <METRIC>, --meter-name <METRIC>
--period <PERIOD>
--evaluation-periods <COUNT>
--statistic <STATISTIC>
--comparison-operator <OPERATOR>
--threshold <THRESHOLD>
-q <QUERY>, --query <QUERY>
usage: ceilometer event-list [-q <QUERY>] [--no-traits] [-l <NUMBER>]
List events.
Optional arguments:
-q <QUERY>, --query <QUERY>
--no-traits
-l <NUMBER>, --limit <NUMBER>
usage: ceilometer event-show <message_id>
Show a particular event.
Positional arguments:
<message_id>
usage: ceilometer meter-list [-q <QUERY>] [-l <NUMBER>]
[--unique {True|False}]
List the user’s meters.
Optional arguments:
-q <QUERY>, --query <QUERY>
-l <NUMBER>, --limit <NUMBER>
--unique {True|False}
usage: ceilometer query-alarm-history [-f <FILTER>] [-o <ORDERBY>]
[-l <LIMIT>]
Query Alarm History.
Optional arguments:
-f <FILTER>, --filter <FILTER>
-o <ORDERBY>, --orderby <ORDERBY>
-l <LIMIT>, --limit <LIMIT>
usage: ceilometer query-alarms [-f <FILTER>] [-o <ORDERBY>] [-l <LIMIT>]
Query Alarms.
Optional arguments:
-f <FILTER>, --filter <FILTER>
-o <ORDERBY>, --orderby <ORDERBY>
-l <LIMIT>, --limit <LIMIT>
usage: ceilometer query-samples [-f <FILTER>] [-o <ORDERBY>] [-l <LIMIT>]
Query samples.
Optional arguments:
-f <FILTER>, --filter <FILTER>
-o <ORDERBY>, --orderby <ORDERBY>
-l <LIMIT>, --limit <LIMIT>
usage: ceilometer resource-list [-q <QUERY>] [-l <NUMBER>]
List the resources.
Optional arguments:
-q <QUERY>, --query <QUERY>
-l <NUMBER>, --limit <NUMBER>
usage: ceilometer resource-show <RESOURCE_ID>
Show the resource.
Positional arguments:
<RESOURCE_ID>
usage: ceilometer sample-create [--project-id <SAMPLE_PROJECT_ID>]
[--user-id <SAMPLE_USER_ID>] -r <RESOURCE_ID>
-m <METER_NAME> --meter-type <METER_TYPE>
--meter-unit <METER_UNIT> --sample-volume
<SAMPLE_VOLUME>
[--resource-metadata <RESOURCE_METADATA>]
[--timestamp <TIMESTAMP>] [--direct <DIRECT>]
Create a sample.
Optional arguments:
--project-id <SAMPLE_PROJECT_ID>
--user-id <SAMPLE_USER_ID>
-r <RESOURCE_ID>, --resource-id <RESOURCE_ID>
-m <METER_NAME>, --meter-name <METER_NAME>
--meter-type <METER_TYPE>
--meter-unit <METER_UNIT>
--sample-volume <SAMPLE_VOLUME>
--resource-metadata <RESOURCE_METADATA>
--timestamp <TIMESTAMP>
--direct <DIRECT>
usage: ceilometer sample-create-list [--direct <DIRECT>] <SAMPLES_LIST>
Create a sample list.
Positional arguments:
<SAMPLES_LIST>
Optional arguments:
--direct <DIRECT>
usage: ceilometer sample-list [-q <QUERY>] [-m <NAME>] [-l <NUMBER>]
List the samples (return OldSample objects if -m/--meter
is set).
Optional arguments:
-q <QUERY>, --query <QUERY>
-m <NAME>, --meter <NAME>
-l <NUMBER>, --limit <NUMBER>
usage: ceilometer sample-show <SAMPLE_ID>
Show a sample.
Positional arguments:
<SAMPLE_ID>
usage: ceilometer statistics [-q <QUERY>] -m <NAME> [-p <PERIOD>] [-g <FIELD>]
[-a <FUNC>[<-<PARAM>]]
List the statistics for a meter.
Optional arguments:
-q <QUERY>, --query <QUERY>
-m <NAME>, --meter <NAME>
-p <PERIOD>, --period <PERIOD>
-g <FIELD>, --groupby <FIELD>
-a <FUNC>[<-<PARAM>], --aggregate <FUNC>[<-<PARAM>]
usage: ceilometer trait-description-list -e <EVENT_TYPE>
List trait info for an event type.
Optional arguments:
-e <EVENT_TYPE>, --event_type <EVENT_TYPE>
usage: ceilometer trait-list -e <EVENT_TYPE> -t <TRAIT_NAME>
List all traits with name <trait_name> for Event Type <event_type>.
Optional arguments:
-e <EVENT_TYPE>, --event_type <EVENT_TYPE>
-t <TRAIT_NAME>, --trait_name <TRAIT_NAME>
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.