public class NetuitiveMetricRestClient extends BasicAuthRestClient implements NetuitiveMetricClient
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
METRICS_ENDPOINT |
API_HOST, BASE_API_URL, SCHEME
Constructor and Description |
---|
NetuitiveMetricRestClient(java.lang.String username,
java.lang.String password) |
Modifier and Type | Method and Description |
---|---|
FqnListWrapper |
getMetricFqns(GetMetricFqnsRequest req) |
MetricStatisticsWrapper |
getMetricStatistics(GetMetricStatisticsRequest req) |
send
request
public static final java.lang.String METRICS_ENDPOINT
public NetuitiveMetricRestClient(java.lang.String username, java.lang.String password)
public MetricStatisticsWrapper getMetricStatistics(GetMetricStatisticsRequest req)
getMetricStatistics
in interface NetuitiveMetricClient
public FqnListWrapper getMetricFqns(GetMetricFqnsRequest req)
getMetricFqns
in interface NetuitiveMetricClient