pub struct OtelRequirements {
pub tool_result: Option<OtelToolResultLogConfig>,
pub log_sse_deltas: Option<bool>,
pub log_user_prompt: Option<bool>,
pub log_agent_responses: Option<bool>,
pub log_guardian_assessments: Option<bool>,
pub environment: Option<String>,
pub exporter: Option<OtelExporter>,
pub trace_exporter: Option<OtelExporter>,
pub metrics_exporter: Option<OtelExporter>,
pub span_attributes: Option<BTreeMap<String, String>>,
pub tracestate: Option<BTreeMap<String, BTreeMap<String, String>>>,
}Expand description
OpenTelemetry settings enforced by managed requirements
(ConfigRequirements::otel). Keys are snake_case on the wire.
Fields§
§tool_result: Option<OtelToolResultLogConfig>§log_sse_deltas: Option<bool>§log_user_prompt: Option<bool>§log_agent_responses: Option<bool>§log_guardian_assessments: Option<bool>§environment: Option<String>§exporter: Option<OtelExporter>§trace_exporter: Option<OtelExporter>§metrics_exporter: Option<OtelExporter>§span_attributes: Option<BTreeMap<String, String>>§tracestate: Option<BTreeMap<String, BTreeMap<String, String>>>Trait Implementations§
Source§impl Clone for OtelRequirements
impl Clone for OtelRequirements
Source§impl Debug for OtelRequirements
impl Debug for OtelRequirements
Source§impl Default for OtelRequirements
impl Default for OtelRequirements
Source§impl<'de> Deserialize<'de> for OtelRequirements
impl<'de> Deserialize<'de> for OtelRequirements
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
Source§impl PartialEq for OtelRequirements
impl PartialEq for OtelRequirements
Source§impl Serialize for OtelRequirements
impl Serialize for OtelRequirements
impl StructuralPartialEq for OtelRequirements
Auto Trait Implementations§
impl Forget for OtelRequirements
impl Freeze for OtelRequirements
impl Move for OtelRequirements
impl RefUnwindSafe for OtelRequirements
impl Send for OtelRequirements
impl Sync for OtelRequirements
impl Unpin for OtelRequirements
impl UnsafeUnpin for OtelRequirements
impl UnwindSafe for OtelRequirements
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