Class GrpcMetricsCdiExtension

  • All Implemented Interfaces:

    public class GrpcMetricsCdiExtension
    extends Object
    implements Extension
    A CDI extension for gRPC metrics.

    This extension will process annotated types that are gRPC methods and ensure that those methods re properly intercepted with a gRPC metrics ServerInterceptor.

    If a method is discovered that is annotated with both a metrics annotation and a gRPC method type annotation they metrics annotation will be effectively removed from the CDI bean so that normal Helidon metrics interceptors do not also intercept that method.

    • Constructor Detail

      • GrpcMetricsCdiExtension

        public GrpcMetricsCdiExtension()