public class OpenTsdbMetricDatapoint extends Object implements Serializable
This class represents a metric data point in OpenTSDB’s format.
Constructor and Description |
---|
OpenTsdbMetricDatapoint(String metric,
Map<String,String> tags,
long timestamp,
Number value) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
String |
getMetric()
Retrieve the metric name of this datapoint.
|
Map<String,String> |
getTags()
Retrieve the map of tag/value pairs of this metric.
|
long |
getTimestamp()
Retrieve the timestamp at which this metric occured.
|
Object |
getValue()
Retrieve the value of this metric datapoint.
|
int |
hashCode() |
String |
toString() |
public String getMetric()
Retrieve the metric name of this datapoint.
public Map<String,String> getTags()
Retrieve the map of tag/value pairs of this metric.
public long getTimestamp()
Retrieve the timestamp at which this metric occured.
public Object getValue()
Retrieve the value of this metric datapoint.
Copyright © 2019 The Apache Software Foundation. All rights reserved.