OptionalsessionAn optional fixed session ID. If not provided, a new session ID will be generated automatically. A session ID is a unique identifier for a sequence of related traces.
The destination that persists events, such as a file, browser console, or HTTP endpoint. The sink is responsible for writing events to the desired output.
OptionalmiddlewaresAn array of middlewares to transform, sample, or drop events before they are sent to the sink. Middlewares are executed in the order they are provided.
OptionaldefaultThe default log level to apply to emitted events. This can be overridden on a per-event basis.
OptionalserviceOptional environment tags that are propagated on each event. These tags provide context about the service, environment, and region where the event originated.
OptionalenvOptionalregion
The options for constructing a new Tracer instance.