Class MetricRecorderImpl

java.lang.Object
io.grpc.internal.MetricRecorderImpl
All Implemented Interfaces:
MetricRecorder

final class MetricRecorderImpl extends Object implements MetricRecorder
Provides a central point for gRPC components to record metric values. Metrics can be exported to monitoring systems by configuring one or more MetricSinks.

This class encapsulates the interaction with metric sinks, including updating them with the latest set of MetricInstruments provided by the MetricInstrumentRegistry.