Package org.apache.flink.metrics.datadog
Class DMetric
- java.lang.Object
-
- org.apache.flink.metrics.datadog.DMetric
-
- Direct Known Subclasses:
DCounter
,DGauge
,DMeter
,StaticDMetric
public abstract class DMetric extends Object
Abstract metric of Datadog for serialization.
-
-
Constructor Summary
Constructors Constructor Description DMetric(MetricMetaData metaData)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description void
ackReport()
String
getHost()
String
getMetricName()
abstract Number
getMetricValue()
List<List<Number>>
getPoints()
List<String>
getTags()
MetricType
getType()
-
-
-
Constructor Detail
-
DMetric
public DMetric(MetricMetaData metaData)
-
-
Method Detail
-
getType
public MetricType getType()
-
getMetricName
public String getMetricName()
-
getHost
public String getHost()
-
getMetricValue
public abstract Number getMetricValue()
-
ackReport
public void ackReport()
-
-