/timeseries
Mount Point: /api/v10/timeseries
GET
Retrieve time-series data from the Cloudera Manager (CM) time-series data store using a tsquery. Please see the tsquery language documentation.
Available since API v6.Parameters
name | description | type | default |
---|---|---|---|
query | Tsquery to run against the CM time-series data store. | query | |
from | Start of the period to query (defaults to 5 minutes before the end of the period). | query | |
to | End of the period to query (defaults to current time). | query | now |
contentType | to return the response in. The content types "application/json" and "text/csv" are supported. This defaults to "application/json". If "text/csv" is specified then we return one row per time series data point, and we don't return any of the metadata. | query | application/json |
desiredRollup | Aggregate rollup level desired for the response data. Valid values are RAW, TEN_MINUTELY, HOURLY, SIX_HOURLY, DAILY, and WEEKLY. Note that if the mustUseDesiredRollup parameter is not set, then the monitoring server can decide to return a different rollup level. | query | RAW |
mustUseDesiredRollup | If set then the tsquery will return data with the desired aggregate rollup level. | query | false |
Response Body
element: | (custom) |
List of time series that match the tsquery.
GET
Retrieve time-series data from the Cloudera Manager (CM) time-series data store using a tsquery.
Please see the tsquery language documentation.
Available since API v4.Parameters
name | description | type | default |
---|---|---|---|
query | Tsquery to run against the CM time-series data store. | query | |
from | Start of the period to query (defaults to 5 minutes before the end of the period). | query | |
to | End of the period to query (defaults to current time). | query | now |
Response Body
element: | timeSeriesResponseList |
List of time series that match the tsquery.