java.lang.Object
io.helidon.microprofile.grpc.metrics.MetricsConfigurer
All Implemented Interfaces:
AnnotatedServiceConfigurer

public class MetricsConfigurer extends Object implements AnnotatedServiceConfigurer
A AnnotatedServiceConfigurer that adds a gRPC metrics interceptor to an annotated gRPC service.

Metric interceptors are only added to services where the method on the service class is annotated with a metric annotation. Any metric annotations on super classes or interfaces will be ignored.