Struct Open Inference 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 OpenInferenceSubscriberOptions {
    pub mark_projection: MarkProjection,
    pub mark_exclude_names: Vec<String>,
    pub attribute_mappings: Vec<OtlpAttributeMapping>,
}

Options for constructing an OpenInference 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 OpenInferenceSubscriberOptions

impl Clone for OpenInferenceSubscriberOptions

clone

fn clone(&self) -> OpenInferenceSubscriberOptions

clone_from

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

impl Debug for OpenInferenceSubscriberOptions

impl Debug for OpenInferenceSubscriberOptions

fmt

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

impl Default for OpenInferenceSubscriberOptions

impl Default for OpenInferenceSubscriberOptions

default

fn default() -> Self