Module tracing

Source
Expand description

This module contains functionality to initialize tracing Subscribers for console output, file output, and OpenTelemetry OTLP export for traces and logs.

It is intended to be used by the Stackable Data Platform operators and webhooks, but it should be generic enough to be used in any application.

To get started, see Tracing.

Modules§

settings
Subscriber settings.

Structs§

TelemetryOptions
Contains options which can be passed to Tracing::pre_configured().
Tracing
Easily initialize a set of pre-configured Subscriber layers.
TracingBuilder
Makes it easy to build a valid Tracing instance.

Enums§

Error
Errors which can be encountered when initialising Tracing.
RotationPeriod
Supported periods when the log file is rolled over.