Class DefaultTracerProvider

    • 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.
      (package private) static TracerProvider getInstance()  
      • Methods inherited from class java.lang.Object

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

      • DefaultTracerProvider

        private DefaultTracerProvider()
    • 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.