Struct wasmcloud_core::OtelConfig
source · pub struct OtelConfig {
pub traces_exporter: Option<String>,
pub exporter_otlp_endpoint: Option<String>,
}
Expand description
Configuration values for Open Telemetry
Fields§
§traces_exporter: Option<String>
OTEL_TRACES_EXPORTER https://opentelemetry.io/docs/concepts/sdk-configuration/general-sdk-configuration/#otel_traces_exporter
exporter_otlp_endpoint: Option<String>
OTEL_EXPORTER_OTLP_ENDPOINT https://opentelemetry.io/docs/concepts/sdk-configuration/otlp-exporter-configuration/#otel_exporter_otlp_endpoint
Trait Implementations§
source§impl Clone for OtelConfig
impl Clone for OtelConfig
source§fn clone(&self) -> OtelConfig
fn clone(&self) -> OtelConfig
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for OtelConfig
impl Debug for OtelConfig
source§impl Default for OtelConfig
impl Default for OtelConfig
source§fn default() -> OtelConfig
fn default() -> OtelConfig
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for OtelConfig
impl<'de> Deserialize<'de> for OtelConfig
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl RefUnwindSafe for OtelConfig
impl Send for OtelConfig
impl Sync for OtelConfig
impl Unpin for OtelConfig
impl UnwindSafe for OtelConfig
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more