java.lang.Object
io.opentelemetry.instrumentation.api.incubator.semconv.util.SpanNames

@Deprecated public final class SpanNames extends Object
Deprecated.
This class has been stabilized and moved to SpanNames
  • Method Details

    • fromMethod

      public static String fromMethod(Method method)
      Deprecated.
      This method is used to generate a span name based on a method. Anonymous classes are named based on their parent.
    • fromMethod

      public static String fromMethod(Class<?> clazz, String methodName)
      Deprecated.
      This method is used to generate a span name based on a method. Anonymous classes are named based on their parent.