Package org.apache.flink.metrics.datadog
Class DCounter
- java.lang.Object
-
- org.apache.flink.metrics.datadog.DMetric
-
- org.apache.flink.metrics.datadog.DCounter
-
public class DCounter extends DMetric
Mapping of counter between Flink and Datadog.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
ackReport()
Number
getMetricValue()
Returns the count of events since the last report.
-
-
-
Method Detail
-
getMetricValue
public Number getMetricValue()
Returns the count of events since the last report.- Specified by:
getMetricValue
in classDMetric
- Returns:
- the number of events since the last retrieval
-
-