|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TimeSeriesResource
Method Summary | |
---|---|
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. |
Method Detail |
---|
@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()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |