Package | Description |
---|---|
com.cloudera.api.v1 |
API version 1, introduced in Cloudera Manager 4.0.
|
Modifier and Type | Method and Description |
---|---|
ApiMetricList |
HostsResource.getMetrics(String hostId,
String from,
String to,
boolean queryNw,
Set<String> ifs,
boolean queryStorage,
Set<String> storageIds,
Set<String> metrics,
DataView dataView)
Deprecated.
This endpoint is not supported as of v6. Use the timeseries API
instead. To get all metrics for a host with the timeseries API use
the query:
'select * where hostId = $HOST_ID'. To get specific metrics for a host use a comma-separated list of the metric names as follows: 'select $METRIC_NAME1, $METRIC_NAME2 where hostId = $HOST_ID'. For more information see the tsquery language documentation. |
ApiMetricList |
ServicesResource.getMetrics(String serviceName,
String from,
String to,
List<String> metrics,
DataView dataView)
Deprecated.
This endpoint is not supported as of v6. Use the timeseries API
instead. To get all metrics for a service with the timeseries API use
the query:
'select * where serviceName = $SERVICE_NAME'. To get specific metrics for a service use a comma-separated list of the metric names as follows: 'select $METRIC_NAME1, $METRIC_NAME2 where serviceName = $SERVICE_NAME'. For more information see the tsquery language documentation. |
ApiMetricList |
RolesResource.getMetrics(String roleName,
String from,
String to,
List<String> metrics,
DataView dataView)
Deprecated.
This endpoint is not supported as of v6. Use the timeseries API
instead. To get all metrics for a role with the timeseries API use
the query:
'select * where roleName = $ROLE_NAME'. To get specific metrics for a role use the query: 'select $METRIC_NAME1, $METRIC_NAME2 where roleName = $ROLE_NAME'. For more information see the tsquery language documentation. |
ApiMetricList |
NameservicesResource.getMetrics(String nameservice,
String from,
String to,
List<String> metrics,
DataView dataView)
Deprecated.
This endpoint is not supported as of v6. Use the timeseries API
instead. To get all metrics for a nameservice with the timeseries API use
the query:
'select * where nameserviceName = $NAMESERVICE_NAME'. To get specific metrics for a nameservice use a comma-separated list of the metric names as follows: 'select $METRIC_NAME1, $METRIC_NAME2 where nameserviceName = $NAMESERVICE_NAME'. For more information see the tsquery language documentation. |
ApiMetricList |
ActivitiesResource.getMetrics(String clusterName,
String serviceName,
String activityId,
String from,
String to,
List<String> metrics,
DataView dataView)
Fetch metric readings for a particular activity.
|
Copyright © Cloudera, Inc. Released under Apache License, Version 2.0.