Class GrpcMetricsServerInterceptor

java.lang.Object
io.micrometer.core.instrument.binder.grpc.AbstractMetricCollectingInterceptor
io.micrometer.core.instrument.binder.grpc.MetricCollectingServerInterceptor
io.quarkus.micrometer.runtime.binder.grpc.GrpcMetricsServerInterceptor
All Implemented Interfaces:
io.grpc.ServerInterceptor, jakarta.enterprise.inject.spi.Prioritized

@Singleton public class GrpcMetricsServerInterceptor extends io.micrometer.core.instrument.binder.grpc.MetricCollectingServerInterceptor implements jakarta.enterprise.inject.spi.Prioritized
  • Nested Class Summary

    Nested classes/interfaces inherited from class io.micrometer.core.instrument.binder.grpc.AbstractMetricCollectingInterceptor

    io.micrometer.core.instrument.binder.grpc.AbstractMetricCollectingInterceptor.MetricSet
  • Field Summary

    Fields inherited from class io.micrometer.core.instrument.binder.grpc.AbstractMetricCollectingInterceptor

    counterCustomizer, eagerInitializedCodes, registry, timerCustomizer
  • Constructor Summary

    Constructors
    Constructor
    Description
    GrpcMetricsServerInterceptor(io.micrometer.core.instrument.MeterRegistry registry)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    int
     

    Methods inherited from class io.micrometer.core.instrument.binder.grpc.MetricCollectingServerInterceptor

    interceptCall, newRequestCounterFor, newResponseCounterFor, newTimerFunction, preregisterService, preregisterService

    Methods inherited from class io.micrometer.core.instrument.binder.grpc.AbstractMetricCollectingInterceptor

    asTimerFunction, metricsFor, newMetricsFor, prepareCounterFor, prepareTimerFor, preregisterMethod, preregisterService

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • GrpcMetricsServerInterceptor

      @Inject public GrpcMetricsServerInterceptor(io.micrometer.core.instrument.MeterRegistry registry)
  • Method Details

    • getPriority

      public int getPriority()
      Specified by:
      getPriority in interface jakarta.enterprise.inject.spi.Prioritized