| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface TimeSeriesResourceV6
| Method Summary | |
|---|---|
 DashboardsResource | 
getDashboardsResource()
 | 
 javax.ws.rs.core.Response | 
queryTimeSeries(String query,
                String from,
                String to,
                String contentType,
                String desiredRollup,
                boolean mustUseDesiredRollup)
Retrieve time-series data from the Cloudera Manager (CM) time-series data store using a tsquery.  | 
| Methods inherited from interface com.cloudera.api.v4.TimeSeriesResource | 
|---|
getMetricSchema, queryTimeSeries | 
| Method Detail | 
|---|
@Path(value="/")
javax.ws.rs.core.Response queryTimeSeries(String query,
                                               String from,
                                               String to,
                                               String contentType,
                                               String desiredRollup,
                                               boolean mustUseDesiredRollup)
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).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.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.mustUseDesiredRollup - If set then the tsquery will return
 data with the desired aggregate rollup level.
@Path(value="/dashboards") DashboardsResource getDashboardsResource()
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||