Skip navigation links

Package rocks.inspectit.agent.java.sdk.opentracing

Contains inspectIT implementation of the opentracing.io standard.

See: Description

Package rocks.inspectit.agent.java.sdk.opentracing Description

Contains inspectIT implementation of the opentracing.io standard.

Tracer can be obtained by calling one of the get methods in the TracerProvider. If the inspectIT agent is running with the application where TracerProvider is used, the get methods will always returned correctly initialized ExtendedTracer. If the inspectIT is not running, then the caller can control if the returned tracer is noop tracer or null.

It's up to user to decide to code against the io.opentracing interfaces or use directly ExtendedTracer which provides some additional control.

Typical usage:

Tracer tracer = TracerProvider.get();
Span span = tracer.buildSpan().withTag("key", "value").start();
...
span.finish();

Skip navigation links