Struct Open Telemetry Subscriber Options

View as Markdown

Generated from cargo doc --no-deps -p nemo-relay -p nemo-relay-adaptive -p nemo-relay-pii-redaction -p nemo-relay-ffi -p nemo-relay-types -p nemo-relay-plugin -p nemo-relay-worker-proto -p nemo-relay-worker.

pub struct OpenTelemetrySubscriberOptions {
    pub mark_projection: MarkProjection,
    pub mark_exclude_names: Vec<String>,
    pub attribute_mappings: Vec<OtlpAttributeMapping>,
}

Options for constructing an OpenTelemetry subscriber from an existing tracer provider.

Fields

mark_projection: MarkProjection

How mark events are projected into the trace.

mark_exclude_names: Vec<String>

Mark names excluded from tool projection.

attribute_mappings: Vec<OtlpAttributeMapping>

Typed OTLP attributes copied to alias keys.

Trait Implementations

impl Clone for OpenTelemetrySubscriberOptions

impl Clone for OpenTelemetrySubscriberOptions

clone

fn clone(&self) -> OpenTelemetrySubscriberOptions

clone_from

fn clone_from(&mut self, source: &Self)

impl Debug for OpenTelemetrySubscriberOptions

impl Debug for OpenTelemetrySubscriberOptions

fmt

fn fmt(&self, f: &mut Formatter<'_>) -> Result

impl Default for OpenTelemetrySubscriberOptions

impl Default for OpenTelemetrySubscriberOptions

default

fn default() -> Self