Class GrpcTracingServerInterceptor.GrpcServerNetworkAttributesGetter

java.lang.Object
io.quarkus.opentelemetry.runtime.tracing.intrumentation.grpc.GrpcTracingServerInterceptor.GrpcServerNetworkAttributesGetter
All Implemented Interfaces:
io.opentelemetry.instrumentation.api.instrumenter.network.ClientAttributesGetter<GrpcRequest,io.grpc.Status>, io.opentelemetry.instrumentation.api.instrumenter.network.NetworkAttributesGetter<GrpcRequest,io.grpc.Status>, io.opentelemetry.instrumentation.api.instrumenter.network.ServerAttributesGetter<GrpcRequest,io.grpc.Status>
Enclosing class:
GrpcTracingServerInterceptor

static class GrpcTracingServerInterceptor.GrpcServerNetworkAttributesGetter extends Object implements io.opentelemetry.instrumentation.api.instrumenter.network.NetworkAttributesGetter<GrpcRequest,io.grpc.Status>, io.opentelemetry.instrumentation.api.instrumenter.network.ServerAttributesGetter<GrpcRequest,io.grpc.Status>, io.opentelemetry.instrumentation.api.instrumenter.network.ClientAttributesGetter<GrpcRequest,io.grpc.Status>
  • Constructor Details

    • GrpcServerNetworkAttributesGetter

      GrpcServerNetworkAttributesGetter()
  • Method Details

    • getServerAddress

      public String getServerAddress(GrpcRequest grpcRequest)
      Specified by:
      getServerAddress in interface io.opentelemetry.instrumentation.api.instrumenter.network.ServerAttributesGetter<GrpcRequest,io.grpc.Status>
    • getServerPort

      public Integer getServerPort(GrpcRequest grpcRequest)
      Specified by:
      getServerPort in interface io.opentelemetry.instrumentation.api.instrumenter.network.ServerAttributesGetter<GrpcRequest,io.grpc.Status>
    • getClientInetSocketAddress

      public InetSocketAddress getClientInetSocketAddress(GrpcRequest grpcRequest, io.grpc.Status status)
      Specified by:
      getClientInetSocketAddress in interface io.opentelemetry.instrumentation.api.instrumenter.network.ClientAttributesGetter<GrpcRequest,io.grpc.Status>
    • getServerInetSocketAddress

      public InetSocketAddress getServerInetSocketAddress(GrpcRequest grpcRequest, io.grpc.Status status)
      Specified by:
      getServerInetSocketAddress in interface io.opentelemetry.instrumentation.api.instrumenter.network.ServerAttributesGetter<GrpcRequest,io.grpc.Status>