pub struct OtelIngestConfig {
pub enabled: bool,
}Expand description
OpenTelemetry OTLP ingestion configuration.
When enabled, the proxy exposes POST /v1/traces to accept traces in
the standard OTLP/HTTP format (JSON and protobuf).
§Example (YAML)
otel_ingest:
enabled: trueFields§
§enabled: boolEnable the OTLP/HTTP ingestion endpoint.
Trait Implementations§
Source§impl Clone for OtelIngestConfig
impl Clone for OtelIngestConfig
Source§fn clone(&self) -> OtelIngestConfig
fn clone(&self) -> OtelIngestConfig
Returns a duplicate 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 OtelIngestConfig
impl Debug for OtelIngestConfig
Source§impl Default for OtelIngestConfig
impl Default for OtelIngestConfig
Source§fn default() -> OtelIngestConfig
fn default() -> OtelIngestConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for OtelIngestConfig
impl<'de> Deserialize<'de> for OtelIngestConfig
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 Freeze for OtelIngestConfig
impl RefUnwindSafe for OtelIngestConfig
impl Send for OtelIngestConfig
impl Sync for OtelIngestConfig
impl Unpin for OtelIngestConfig
impl UnsafeUnpin for OtelIngestConfig
impl UnwindSafe for OtelIngestConfig
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