Class SpanNames


  • public final class SpanNames
    extends Object
    • Method Detail

      • fromMethod

        public static String fromMethod​(Method method)
        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,
                                        @Nullable Method method)
        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<?> cl,
                                        String methodName)
        This method is used to generate a span name based on a method. Anonymous classes are named based on their parent.