Get Gnocchi Measures
get_gnocchi_measuresRead stored Gnocchi telemetry time series for a metric to analyze measured utilization, load, trends, and historical values.
Instructions
Read stored Gnocchi measures (telemetry time series) for a metric.
Use for measured utilization, load, trends, and history ("CPU usage of vm1", "memory over the last hour"). Values are observed telemetry collected by Ceilometer, such as cpu, memory.usage, or disk and network counters. Cumulative counters like cpu (nanoseconds) grow over time; compare consecutive values for rates. Some metrics such as vcpus and memory record flavor sizes, not usage. For averages, totals, top N, or groups across many resources, use get_gnocchi_aggregates. For allocations, capacity, or quotas, use get_resource_monitoring or get_quota. If a metric is not collected, report that; do not substitute allocation data.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"metric": "<metric>"
},
"name": "get_gnocchi_measures"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| stop | No | Exclusive ISO 8601 stop time | |
| limit | No | Maximum latest measures to return (1-1000, default 100) | |
| start | No | Inclusive ISO 8601 start time (default: all retained data) | |
| metric | Yes | Metric UUID, or a metric name when resource_id is given | |
| refresh | No | Process pending measures before reading | |
| resample | No | Resample interval in seconds (requires granularity) | |
| aggregation | No | Aggregation method from the archive policy (default mean) | mean |
| granularity | No | Granularity in seconds from the metric archive policy | |
| resource_id | No | Resource ID (Nova server UUID for instances) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |