Class ExtendedDefaultTracerProvider

  • All Implemented Interfaces:
    TracerProvider

    @ThreadSafe
    public class ExtendedDefaultTracerProvider
    extends java.lang.Object
    implements TracerProvider
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Tracer get​(java.lang.String instrumentationScopeName)
      Gets or creates a named tracer instance.
      Tracer get​(java.lang.String instrumentationScopeName, java.lang.String instrumentationScopeVersion)
      Gets or creates a named and versioned tracer instance.
      static TracerProvider getNoop()  
      TracerBuilder tracerBuilder​(java.lang.String instrumentationScopeName)
      Creates a TracerBuilder for a named Tracer instance.
      • Methods inherited from class java.lang.Object

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

      • ExtendedDefaultTracerProvider

        private ExtendedDefaultTracerProvider()
    • Method Detail

      • get

        public Tracer get​(java.lang.String instrumentationScopeName)
        Description copied from interface: TracerProvider
        Gets or creates a named tracer instance.
        Specified by:
        get in interface TracerProvider
        Parameters:
        instrumentationScopeName - A name uniquely identifying the instrumentation scope, such as the instrumentation library, package, or fully qualified class name. Must not be null.
        Returns:
        a tracer instance.
      • get

        public Tracer get​(java.lang.String instrumentationScopeName,
                          java.lang.String instrumentationScopeVersion)
        Description copied from interface: TracerProvider
        Gets or creates a named and versioned tracer instance.
        Specified by:
        get in interface TracerProvider
        Parameters:
        instrumentationScopeName - A name uniquely identifying the instrumentation scope, such as the instrumentation library, package, or fully qualified class name. Must not be null.
        instrumentationScopeVersion - The version of the instrumentation scope (e.g., "1.0.0").
        Returns:
        a tracer instance.
      • tracerBuilder

        public TracerBuilder tracerBuilder​(java.lang.String instrumentationScopeName)
        Description copied from interface: TracerProvider
        Creates a TracerBuilder for a named Tracer instance.
        Specified by:
        tracerBuilder in interface TracerProvider
        Parameters:
        instrumentationScopeName - A name uniquely identifying the instrumentation scope, such as the instrumentation library, package, or fully qualified class name. Must not be null.
        Returns:
        a TracerBuilder instance.