Class RequestAwareGRpcMetricsTagsContributor<ReqT>

    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      boolean accepts​(java.lang.Object o)  
      java.lang.Iterable<io.micrometer.core.instrument.Tag> getTags​(io.grpc.Status status, io.grpc.MethodDescriptor<?,​?> methodDescriptor, io.grpc.Attributes attributes)  
      abstract java.lang.Iterable<io.micrometer.core.instrument.Tag> getTags​(ReqT request, io.grpc.MethodDescriptor<?,​?> methodDescriptor, io.grpc.Attributes attributes)  
      • Methods inherited from class java.lang.Object

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

      • RequestAwareGRpcMetricsTagsContributor

        protected RequestAwareGRpcMetricsTagsContributor​(java.lang.Class<ReqT> tClass)
    • Method Detail

      • accepts

        public final boolean accepts​(java.lang.Object o)
      • getTags

        public java.lang.Iterable<io.micrometer.core.instrument.Tag> getTags​(io.grpc.Status status,
                                                                             io.grpc.MethodDescriptor<?,​?> methodDescriptor,
                                                                             io.grpc.Attributes attributes)
        Specified by:
        getTags in interface GRpcMetricsTagsContributor
      • getTags

        public abstract java.lang.Iterable<io.micrometer.core.instrument.Tag> getTags​(ReqT request,
                                                                                      io.grpc.MethodDescriptor<?,​?> methodDescriptor,
                                                                                      io.grpc.Attributes attributes)