Interface MetricsSubscriber
- All Superinterfaces:
Flow.Subscriber<MetricDataPoint>
A
Flow.Subscriber for
OpenTelemetry MetricDataPoint records.-
Method Summary
Modifier and TypeMethodDescriptionvoidonNext(MetricDataPoint dataPoint) Method invoked for each data point of each metric in an OTLP packet.Methods inherited from interface java.util.concurrent.Flow.Subscriber
onComplete, onError, onSubscribe
-
Method Details
-
onNext
Method invoked for each data point of each metric in an OTLP packet. If this method throws an exception the subscription may be cancelled.- Specified by:
onNextin interfaceFlow.Subscriber<MetricDataPoint>
-