Package com.amazonaws.xray.metrics
Class StdoutMetricEmitter
- java.lang.Object
-
- com.amazonaws.xray.metrics.StdoutMetricEmitter
-
- All Implemented Interfaces:
MetricEmitter
public class StdoutMetricEmitter extends java.lang.Object implements MetricEmitter
Writes EMF formatted structured logs to stdout for testing.
-
-
Constructor Summary
Constructors Constructor Description StdoutMetricEmitter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
emitMetric(Segment segment)
Format the given metric and emit it.
-
-
-
Method Detail
-
emitMetric
public void emitMetric(Segment segment)
Description copied from interface:MetricEmitter
Format the given metric and emit it.- Specified by:
emitMetric
in interfaceMetricEmitter
- Parameters:
segment
- Segment to emit metrics from
-
-