Skip to main content

Crate lightshuttle_otel

Crate lightshuttle_otel 

Source
Expand description

OpenTelemetry collector bundling and environment injection for LightShuttle.

This crate provides two building blocks:

Structs§

CollectorConfig
Strongly-typed configuration of the bundled OpenTelemetry collector.
TracerGuard
RAII guard returned by init_orchestrator_tracer.

Constants§

SYNTHETIC_RESOURCE_NAME
Resource name used for the bundled collector inside the lifecycle plan. Stable so dependents can refer to it via the standard ${resources.lightshuttle_otel.host} interpolation if needed.

Functions§

augment_manifest
Augment manifest in place with the bundled OTel collector.
init_orchestrator_tracer
Initialise orchestrator self-tracing.
inject_otel_env
Inject the three standard OTel environment keys into env.
is_enabled
Returns whether OTel is enabled for manifest.