Skip to main content

Crate diagprint_otel

Crate diagprint_otel 

Source
Expand description

Privacy-aware OpenTelemetry integration for diagprint.

diagprint-otel maps structured diagnostics to OpenTelemetry events without owning exporter, collector, or SDK configuration.

Applications remain free to choose OTLP, Jaeger, Zipkin, stdout, custom exporters, sampling, batching, and runtime configuration.

Free-form diagnostic content is not exported in plaintext by default. Arbitrary structured diagnostic attributes are not exported at all unless explicitly enabled through AttributeExport.

Re-exports§

pub use opentelemetry;
pub use tracing_opentelemetry;

Structs§

TelemetryAdapter
TelemetryEvent
TelemetryPolicy
Privacy and span-behavior policy for diagnostic telemetry.

Enums§

AttributeExport
Policy for exporting arbitrary structured diagnostic attributes.
LocationExport
Policy for exporting diagnostic source paths.
TextExport
Policy for exporting free-form diagnostic text.

Constants§

DIAGNOSTIC_EVENT_NAME