pub struct TelemetryPolicy {
pub otlp_endpoint: Option<String>,
pub console: bool,
}Expand description
[telemetry] (otlp_endpoint, console). Parsed and carried; Engine
exposes otlp_endpoint back to native front ends (telemetry_otlp_endpoint)
which feed it to keel-core’s otel::init_otlp when built with the otel
feature — the standard OTEL_* environment variables take precedence over
this table (see keel-core’s otel module for the exact precedence rules).
console (the local pretty-console-summary switch) is validated and
carried but has no consumer yet; Engine::configure warns on an explicit
false so the user is not silently surprised.
Fields§
§otlp_endpoint: Option<String>§console: boolTrait Implementations§
Source§impl Clone for TelemetryPolicy
impl Clone for TelemetryPolicy
Source§fn clone(&self) -> TelemetryPolicy
fn clone(&self) -> TelemetryPolicy
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 TelemetryPolicy
impl Debug for TelemetryPolicy
Source§impl Default for TelemetryPolicy
impl Default for TelemetryPolicy
Source§impl<'de> Deserialize<'de> for TelemetryPolicywhere
TelemetryPolicy: Default,
impl<'de> Deserialize<'de> for TelemetryPolicywhere
TelemetryPolicy: Default,
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
impl Eq for TelemetryPolicy
Source§impl PartialEq for TelemetryPolicy
impl PartialEq for TelemetryPolicy
impl StructuralPartialEq for TelemetryPolicy
Auto Trait Implementations§
impl Freeze for TelemetryPolicy
impl RefUnwindSafe for TelemetryPolicy
impl Send for TelemetryPolicy
impl Sync for TelemetryPolicy
impl Unpin for TelemetryPolicy
impl UnsafeUnpin for TelemetryPolicy
impl UnwindSafe for TelemetryPolicy
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