Enum Open Telemetry Error
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 enum OpenTelemetryError {
InvalidGrpcHeader {
key: String,
message: String,
},
InvalidHeader {
key: String,
message: String,
},
GlobalHeaderEnvironmentUnsupported {
variable: &'static str,
},
ExporterBuild(String),
Provider(String),
InvalidAttributeMappings(String),
Core(FlowError),
}
Errors produced while configuring or operating the OpenTelemetry subscriber.
Variants
InvalidGrpcHeader
InvalidGrpcHeader
Failed to parse a configured gRPC metadata header.
Fields
key: String
Header name that failed to parse.
message: String
Parser failure message.
InvalidHeader
InvalidHeader
A configured OTLP header name or value is invalid.
Fields
key: String
Header name that failed validation.
message: String
Validation failure message.
GlobalHeaderEnvironmentUnsupported
GlobalHeaderEnvironmentUnsupported
Process-global OTLP header variables cannot be isolated per endpoint.
Fields
variable: &'static str
Environment variable that was set.
ExporterBuild(String)
ExporterBuild(String)
Failed to build the OTLP exporter.
Provider(String)
Provider(String)
The underlying tracer provider returned an error.
InvalidAttributeMappings(String)
InvalidAttributeMappings(String)
Attribute mapping configuration was invalid.
Core(FlowError)
Core(FlowError)
Registration errors from the core runtime.
Trait Implementations
impl Debug for OpenTelemetryError
impl Debug for OpenTelemetryError
fmt
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl Display for OpenTelemetryError
impl Display for OpenTelemetryError
fmt
fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result
impl Error for OpenTelemetryError
impl Error for OpenTelemetryError
source
fn source(&self) -> Option<&(dyn Error + 'static)>
description
fn description(&self) -> &str
cause
fn cause(&self) -> Option<&dyn Error>
provide
fn provide<'a>(&'a self, request: &mut Request<'a>)
impl From<FlowError> for OpenTelemetryError
impl From<FlowError> for OpenTelemetryError
from
fn from(source: FlowError) -> Self