Interface TracerProvider

    • Method Detail

      • get

        Tracer get​(java.lang.String instrumentationScopeName)
        Gets or creates a named tracer instance.
        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

        Tracer get​(java.lang.String instrumentationScopeName,
                   java.lang.String instrumentationScopeVersion)
        Gets or creates a named and versioned tracer instance.
        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

        default TracerBuilder tracerBuilder​(java.lang.String instrumentationScopeName)
        Creates a TracerBuilder for a named Tracer instance.
        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.
        Since:
        1.4.0