Struct Open Telemetry LogSection Config

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 OpenTelemetryLogSectionConfig {
    pub enabled: bool,
    pub endpoints: Option<Vec<OpenTelemetrySignalEndpointConfig>>,
    pub minimum_severity: String,
    pub max_queue_size: usize,
    pub max_export_batch_size: usize,
    pub scheduled_delay_millis: u64,
}

OTLP log pipeline settings.

Fields

enabled: bool

Whether log export is active.

endpoints: Option<Vec<OpenTelemetrySignalEndpointConfig>>

Explicit log destinations. When omitted, destinations derive from trace endpoints.

minimum_severity: String

Minimum exported telemetry-log severity.

max_queue_size: usize

Maximum queued log records.

max_export_batch_size: usize

Maximum log records in one batch.

scheduled_delay_millis: u64

Maximum delay before exporting a non-full log batch.

Trait Implementations

impl Clone for OpenTelemetryLogSectionConfig

impl Clone for OpenTelemetryLogSectionConfig

clone

fn clone(&self) -> OpenTelemetryLogSectionConfig

clone_from

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

impl Debug for OpenTelemetryLogSectionConfig

impl Debug for OpenTelemetryLogSectionConfig

fmt

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

impl Default for OpenTelemetryLogSectionConfig

impl Default for OpenTelemetryLogSectionConfig

default

fn default() -> Self

impl<'de> Deserialize<'de> for OpenTelemetryLogSectionConfig

impl<'de> Deserialize<'de> for OpenTelemetryLogSectionConfig

deserialize

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
    __D: Deserializer<'de>,

impl EditorConfig for OpenTelemetryLogSectionConfig

impl EditorConfig for OpenTelemetryLogSectionConfig

editor_schema

fn editor_schema() -> &'static EditorSchema

impl Serialize for OpenTelemetryLogSectionConfig

impl Serialize for OpenTelemetryLogSectionConfig

serialize

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where
    __S: Serializer,