Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

ceilometer help sample-create usage: ceilometer sample-create [--project-id <project_id>] [--user-id <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>]

Create a sample.

Optional arguments: --project-id <project_id> Tenant to associate with sample (only settable by admin users) --user-id <user_id> User to associate with sample (only settable by admin users) -r <resource_id>, --resource-id <resource_id> ID of the resource. Required. -m <meter_name>, --meter-name <meter_name> the meter name --meter-type <meter_type> the meter type Required. --meter-unit <meter_unit> the meter unit Required. --sample-volume <sample_volume> The sample volume Required. --resource-metadata <resource_metadata> resource metadata --timestamp <timestamp> the sample timestamp

Here the answer to your question, use parameters of ceilometer sample-create :

-m <meter_name>, --meter-name <meter_name> the meter name --meter-type <meter_type> the meter type Required. --meter-unit <meter_unit> the meter unit Required. --sample-volume <sample_volume> The sample volume Required. --resource-metadata <resource_metadata> resource metadata

ceilometer help sample-create
usage: ceilometer sample-create [--project-id <project_id>]
<PROJECT_ID>]
                                [--user-id <user_id>] <USER_ID>] -r <resource_id>
<RESOURCE_ID>
                                [-m <meter_name>] <METER_NAME>] --meter-type <meter_type>
<METER_TYPE>
                                --meter-unit <meter_unit> <METER_UNIT> --sample-volume
                                <sample_volume>
<SAMPLE_VOLUME>
                                [--resource-metadata <resource_metadata>]
<RESOURCE_METADATA>]
                                [--timestamp <timestamp>]

<TIMESTAMP>]

Create a sample.

sample.

Optional arguments: --project-id <project_id> <PROJECT_ID> Tenant to associate with sample (only settable by admin users) --user-id <user_id> <USER_ID> User to associate with sample (only settable by admin users) -r <resource_id>, <RESOURCE_ID>, --resource-id <resource_id> <RESOURCE_ID> ID of the resource. Required. -m <meter_name>, <METER_NAME>, --meter-name <meter_name> <METER_NAME> the meter name --meter-type <meter_type> <METER_TYPE> the meter type Required. --meter-unit <meter_unit> <METER_UNIT> the meter unit Required. --sample-volume <sample_volume> <SAMPLE_VOLUME> The sample volume Required. --resource-metadata <resource_metadata> <RESOURCE_METADATA> resource metadata --timestamp <timestamp> <TIMESTAMP> the sample timestamp

timestamp

Here the answer to your question, use parameters of ceilometer sample-create :

-m <meter_name>, <METER_NAME>, --meter-name <meter_name>
<METER_NAME>
                        the meter name
  --meter-type <meter_type>
<METER_TYPE>
                        the meter type Required.
  --meter-unit <meter_unit>
<METER_UNIT>
                        the meter unit Required.
  --sample-volume <sample_volume>
<SAMPLE_VOLUME>
                        The sample volume Required.
  --resource-metadata <resource_metadata>
<RESOURCE_METADATA>
                        resource metadata

metadata