| Package | Description |
|---|---|
| org.kairosdb.client.builder |
| Modifier and Type | Method and Description |
|---|---|
Metric |
Metric.addDataPoint(double value)
Adds the data point to the metric with a timestamp of now.
|
Metric |
Metric.addDataPoint(long value)
Adds the data point to the metric with a timestamp of now.
|
Metric |
Metric.addDataPoint(long timestamp,
double value)
Adds the data point to the metric.
|
Metric |
Metric.addDataPoint(long timestamp,
long value)
Adds the data point to the metric.
|
Metric |
Metric.addDataPoint(long timestamp,
Object value) |
Metric |
MetricBuilder.addMetric(String metricName)
Adds a metric to the builder.
|
Metric |
MetricBuilder.addMetric(String metricName,
String registeredType)
Adds a metric to the builder with a customer type.
|
Metric |
Metric.addTag(String name,
String value)
Adds a tag to the data point.
|
Metric |
Metric.addTags(Map<String,String> tags)
Adds tags to the data point.
|
Metric |
Metric.addTtl(int ttl)
Adds a time-to-live for this metric specified in seconds.
|
| Modifier and Type | Method and Description |
|---|---|
List<Metric> |
MetricBuilder.getMetrics()
Returns a list of metrics added to the builder.
|
Copyright © 2018. All rights reserved.