greentic_telemetry/
lib.rs1#[cfg(feature = "otlp")]
2pub mod client;
3pub mod context;
4pub mod export;
5#[cfg(feature = "otlp")]
6pub mod host_bridge;
7pub mod init;
8pub mod layer;
9pub mod presets;
10pub mod redaction;
11pub mod secrets;
12pub mod tasklocal;
13pub mod testutil;
14pub mod wasm_guest;
15pub mod wasm_host;
16
17#[cfg(feature = "otlp")]
18pub use client::{init, metric, set_trace_id, span};
19pub use context::TelemetryCtx;
20#[cfg(feature = "otlp")]
21pub use host_bridge::{HostContext, emit_span as emit_host_span};
22pub use init::{
23 TelemetryConfig, init_telemetry, init_telemetry_auto, init_telemetry_from_config, shutdown,
24};
25pub use layer::{layer_from_task_local, layer_with_provider};
26pub use secrets::*;
27pub use tasklocal::{set_current_telemetry_ctx, with_current_telemetry_ctx, with_task_local};