Package com.amazonaws.xray.metrics
Interface MetricEmitter
- All Known Implementing Classes:
NoOpMetricEmitter
,StdoutMetricEmitter
,UDPMetricEmitter
public interface MetricEmitter
Extract metrics from a segment and emit them to a a given destination.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
emitMetric
(Segment segment) Format the given metric and emit it.
-
Method Details
-
emitMetric
Format the given metric and emit it.- Parameters:
segment
- Segment to emit metrics from
-