Service: Time Series
| This API is officially released and maintained. |
This service provides access to the lifetime series data stored on the device.
| Method | Request | Response |
|---|---|---|
Get
Read out lifetime diagnostics time series for given key
Request
Request to get lifetime series data
| Field | Type | Default | Unit |
|---|---|---|---|
key |
string |
- |
- |
Time series key |
|||
aggregation_duration |
optional uint32 |
- |
s |
Aggregate lifetime series into buckets with the given duration. Default: 30 minutes |
|||
time_span |
optional uint32 |
- |
s |
Requested time span Default: 1 month |
|||
GetHealthEvents
Read out the changes of the health states of the modules of the device, oldest first
Request
Request to get the changes of the health states
| Field | Type | Default | Unit |
|---|---|---|---|
time_span |
optional uint32 |
- |
s |
Requested time span up to now Default: 24 hours |
|||
modules |
repeated string |
- |
- |
Modules to return the changes of, all modules if empty |
|||
Response
Response to get the changes of the health states
| Field | Type | Default | Unit |
|---|---|---|---|
events |
repeated data.HealthEvent |
- |
- |
Changes, oldest first |
|||
dropped |
uint32 |
- |
- |
Number of changes which were dropped since the diagnostics started, as a module changed too often |
|||
List
List available lifetime series
Response
Request to get available lifetime series
| Field | Type | Default | Unit |
|---|---|---|---|
series |
repeated SeriesEntry |
- |
- |
Map of series’s |
|||