Interface GrpcTracingName

Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface GrpcTracingName
Name generator for span operation name.
  • Method Summary

    Modifier and Type
    Method
    Description
    name(io.grpc.MethodDescriptor<?,?> method)
    Constructs a span's operation name from the gRPC method.
  • Method Details

    • name

      String name(io.grpc.MethodDescriptor<?,?> method)
      Constructs a span's operation name from the gRPC method.
      Parameters:
      method - method to extract a name from
      Returns:
      operation name