orca metric — metric (Gnocchi)¶
Query metrics, measures & resources (Gnocchi).
archive-policy-create¶
[OPTIONS] NAME
| Option | Description |
|---|---|
--definition GRANULARITY:POINTS |
|
--aggregation-method TEXT |
Aggregation method (repeatable). |
--help |
Show this message and exit. |
archive-policy-delete¶
[OPTIONS] NAME
| Option | Description |
|---|---|
-y, --yes |
Skip confirmation. |
--help |
Show this message and exit. |
archive-policy-list¶
List archive policies.
| Option | Description |
|---|---|
--noindent |
Disable JSON indentation. |
--max-width INTEGER |
Maximum table width (0 = unlimited). |
--fit-width |
Fit table to terminal width. |
-c, --column TEXT |
Column to include (repeatable). Shows all if |
-f, --format [table|json|value] |
|
--help |
Show this message and exit. |
archive-policy-show¶
Show an archive policy.
| Option | Description |
|---|---|
--noindent |
Disable JSON indentation. |
--max-width INTEGER |
Maximum table width (0 = unlimited). |
--fit-width |
Fit table to terminal width. |
-c, --column TEXT |
Column to include (repeatable). Shows all if |
-f, --format [table|json|value] |
|
--help |
Show this message and exit. |
create¶
Create a Gnocchi metric.
| Option | Description |
|---|---|
--name TEXT |
Metric name. [required] |
--archive-policy-name TEXT |
Archive policy to use (default: low). |
--resource-id TEXT |
Resource ID to attach the metric to. |
--help |
Show this message and exit. |
delete¶
Delete a Gnocchi metric.
| Option | Description |
|---|---|
-y, --yes |
Skip confirmation. |
--help |
Show this message and exit. |
list¶
List metrics.
| Option | Description |
|---|---|
--limit INTEGER |
Max results. |
--noindent |
Disable JSON indentation. |
--max-width INTEGER |
Maximum table width (0 = unlimited). |
--fit-width |
Fit table to terminal width. |
-c, --column TEXT |
Column to include (repeatable). Shows all if |
-f, --format [table|json|value] |
|
--help |
Show this message and exit. |
measures¶
Get measures (datapoints) for a metric.
| Option | Description |
|---|---|
--start TEXT |
Start timestamp (ISO 8601 or relative e.g. |
--stop TEXT |
Stop timestamp. |
--granularity TEXT |
Granularity in seconds. |
--aggregation TEXT |
Aggregation method. [default: mean] |
--limit INTEGER |
Max measures to return. |
--noindent |
Disable JSON indentation. |
--max-width INTEGER |
Maximum table width (0 = unlimited). |
--fit-width |
Fit table to terminal width. |
-c, --column TEXT |
Column to include (repeatable). Shows all if |
-f, --format [table|json|value] |
|
--help |
Show this message and exit. |
measures-add¶
Push measures to a metric.
| Option | Description |
|---|---|
--measure TIMESTAMP:VALUE |
Measure as timestamp:value (repeatable). |
--help |
Show this message and exit. |
resource-list¶
List resources.
| Option | Description |
|---|---|
--type TEXT |
Resource type to list. [default: generic] |
--limit INTEGER |
Max results. Gnocchi can return very large |
--noindent |
Disable JSON indentation. |
--max-width INTEGER |
Maximum table width (0 = unlimited). |
--fit-width |
Fit table to terminal width. |
-c, --column TEXT |
Column to include (repeatable). Shows all if |
-f, --format [table|json|value] |
|
--help |
Show this message and exit. |
resource-show¶
Show resource details and its metrics.
| Option | Description |
|---|---|
--type TEXT |
Resource type. [default: generic] |
--noindent |
Disable JSON indentation. |
--max-width INTEGER |
Maximum table width (0 = unlimited). |
--fit-width |
Fit table to terminal width. |
-c, --column TEXT |
Column to include (repeatable). Shows all if |
-f, --format [table|json|value] |
|
--help |
Show this message and exit. |
resource-type-create¶
[OPTIONS] NAME
| Option | Description |
|---|---|
--attribute KEY:TYPE |
Resource attribute key:type (repeatable). E.g. |
--help |
Show this message and exit. |
resource-type-delete¶
[OPTIONS] RESOURCE_TYPE
| Option | Description |
|---|---|
-y, --yes |
Skip confirmation. |
--help |
Show this message and exit. |
resource-type-list¶
List resource types.
| Option | Description |
|---|---|
--noindent |
Disable JSON indentation. |
--max-width INTEGER |
Maximum table width (0 = unlimited). |
--fit-width |
Fit table to terminal width. |
-c, --column TEXT |
Column to include (repeatable). Shows all if |
-f, --format [table|json|value] |
|
--help |
Show this message and exit. |
resource-type-show¶
RESOURCE_TYPE
| Option | Description |
|---|---|
--noindent |
Disable JSON indentation. |
--max-width INTEGER |
Maximum table width (0 = unlimited). |
--fit-width |
Fit table to terminal width. |
-c, --column TEXT |
Column to include (repeatable). Shows all if |
-f, --format [table|json|value] |
|
--help |
Show this message and exit. |
show¶
Show metric details.
| Option | Description |
|---|---|
--noindent |
Disable JSON indentation. |
--max-width INTEGER |
Maximum table width (0 = unlimited). |
--fit-width |
Fit table to terminal width. |
-c, --column TEXT |
Column to include (repeatable). Shows all if |
-f, --format [table|json|value] |
|
--help |
Show this message and exit. |
status¶
Show Gnocchi processing status.
| Option | Description |
|---|---|
--noindent |
Disable JSON indentation. |
--max-width INTEGER |
Maximum table width (0 = unlimited). |
--fit-width |
Fit table to terminal width. |
-c, --column TEXT |
Column to include (repeatable). Shows all if |
-f, --format [table|json|value] |
|
--help |
Show this message and exit. |