Tracers. The name Provider is for consistency with *
other languages and it is NOT loaded using reflection.
Tracer
| Modifier and Type | Method and Description |
|---|---|
| public Tracer | |
| public Tracer | Returns: a tracer instance.A name uniquely identifying the instrumentation scope, such as
the instrumentation library, package, or fully qualified class name. Must not be null. instrumentationScopeName, String The version of the instrumentation scope (e.g., "1.0.0"). instrumentationScopeVersion)Gets or creates a named and versioned tracer instance. |
| public static TracerProvider | noop()
Returns a no-op |
| public default TracerBuilder | Returns: a TracerBuilder instance.A name uniquely identifying the instrumentation scope, such as
the instrumentation library, package, or fully qualified class name. Must not be null. instrumentationScopeName)Creates a TracerBuilder for a named |
| get | back to summary |
|---|---|
| public Tracer get(String instrumentationScopeName) Gets or creates a named tracer instance. | |
| get | back to summary |
|---|---|
| public Tracer get(String instrumentationScopeName, String instrumentationScopeVersion) Gets or creates a named and versioned tracer instance.
| |
| noop | back to summary |
|---|---|
| public static TracerProvider noop() Returns a no-op | |
| tracerBuilder | back to summary |
|---|---|
| public default TracerBuilder tracerBuilder(String instrumentationScopeName) Creates a TracerBuilder for a named
| |