OptionalforceForces the tracer provider to flush any buffered data.
A promise that resolves when the flush is complete.
OptionalshutdownShuts down the tracer provider and releases any resources.
A promise that resolves when the shutdown is complete.
Returns a Tracer, creating one if one with the given name and version is not already created. This may return
The name of the tracer or instrumentation library.
Optionalversion: stringThe version of the tracer or instrumentation library.
Optionaloptions: IOTelTracerOptionsThe options of the tracer or instrumentation library.
Tracer A Tracer with the given name and version
OpenTelemetry Trace API for getting tracers. This provides the standard OpenTelemetry trace API entry point.