Function: useTracer

@ottrelite/interop-otel.useTracer

useTracer(name, version?): Tracer

Hook supplying a tracer instance with the given name and (optionally) version.

Parameters

NameTypeDescription
namestringName of the tracer unit; must be unique within the application.
version?stringOptional version of the tracer unit.

Returns

Tracer

The tracer instance.

Need to boost your app's performance?
We help React Native teams enhance speed, responsiveness, and efficiency.