| Package | Description |
|---|---|
| com.coscale.sdk.client.metrics | |
| com.coscale.sdk.client.servers |
| Modifier and Type | Field and Description |
|---|---|
List<Metric> |
MetricGroup.metrics |
| Modifier and Type | Method and Description |
|---|---|
Metric |
MetricsApi.addMetricToGroup(long metricId,
long groupId)
Add an existing metric to a metric group.
|
Metric |
MetricsApi.get(long id)
get a metric by the id.
|
Metric |
MetricsApi.insert(MetricInsert metric)
Insert a new metric.
|
| Modifier and Type | Method and Description |
|---|---|
List<Metric> |
MetricsApi.all()
all is used to get a list of all metrics.
|
List<Metric> |
MetricsApi.all(Options options)
all is used to get a list of all metrics.
|
List<Metric> |
MetricsApi.getGroupMetrics(long groupId)
* Get all metrics in the metric group.
|
| Constructor and Description |
|---|
MetricGroup(Long id,
String source,
List<Metric> metrics,
SubjectType subject,
String description,
String name,
State state,
List<MetricGroup> metricgroups,
List<Long> metricIds,
String type,
Long version) |
| Modifier and Type | Field and Description |
|---|---|
List<Metric> |
Server.metrics |
| Constructor and Description |
|---|
Server(Long id,
String source,
List<Metric> metrics,
String description,
String name,
State state,
List<Server> children,
String type,
Long version) |
Copyright © 2016. All rights reserved.