public interface TimeSeriesResource
Modifier and Type | Method and Description |
---|---|
ApiMetricSchemaList |
getMetricSchema()
Retrieve schema for all metrics
The schema is fixed for a product version.
|
ApiTimeSeriesResponseList |
queryTimeSeries(String query,
String from,
String to)
Retrieve time-series data from the Cloudera Manager (CM) time-series
data store using a tsquery.
|
@Path(value="/") ApiTimeSeriesResponseList queryTimeSeries(String query, String from, String to)
Please see the tsquery language documentation.
Available since API v4.query
- Tsquery to run against the CM time-series data store.from
- Start of the period to query in ISO 8601 format (defaults to 5 minutes before the
end of the period).to
- End of the period to query in ISO 8601 format (defaults to current time).@Path(value="/schema") ApiMetricSchemaList getMetricSchema()
Copyright © Cloudera, Inc. Released under Apache License, Version 2.0.