Class GrpcMetricsClientInterceptor

java.lang.Object
io.micrometer.core.instrument.binder.grpc.AbstractMetricCollectingInterceptor
io.micrometer.core.instrument.binder.grpc.MetricCollectingClientInterceptor
io.quarkus.micrometer.runtime.binder.grpc.GrpcMetricsClientInterceptor
All Implemented Interfaces:
io.grpc.ClientInterceptor, jakarta.enterprise.inject.spi.Prioritized

@Singleton public class GrpcMetricsClientInterceptor extends io.micrometer.core.instrument.binder.grpc.MetricCollectingClientInterceptor 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
    GrpcMetricsClientInterceptor(io.micrometer.core.instrument.MeterRegistry registry)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    int
     

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

    interceptCall, newRequestCounterFor, newResponseCounterFor, newTimerFunction

    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

    • GrpcMetricsClientInterceptor

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

    • getPriority

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