pub struct ContextManagementTelemetry {
pub strategy: String,
pub model_context_epoch: u64,
pub model_context_reset_reason: Option<String>,
pub retrieval_archive_event_count: usize,
pub latest_retrieval_archive_event_id: Option<String>,
pub latest_retrieval_archive_trigger_type: Option<String>,
}Expand description
Non-content context-management correlation captured for one provider call.
These fields deliberately contain only strategy/lifecycle identifiers. Raw messages, search queries/results, memory, tool arguments, file paths, and provider payloads must never enter the token-usage sidecar.
Fields§
§strategy: String§model_context_epoch: u64§model_context_reset_reason: Option<String>§retrieval_archive_event_count: usize§latest_retrieval_archive_event_id: Option<String>§latest_retrieval_archive_trigger_type: Option<String>Trait Implementations§
Source§impl Clone for ContextManagementTelemetry
impl Clone for ContextManagementTelemetry
Source§impl Debug for ContextManagementTelemetry
impl Debug for ContextManagementTelemetry
Source§impl Default for ContextManagementTelemetry
impl Default for ContextManagementTelemetry
impl Eq for ContextManagementTelemetry
impl StructuralPartialEq for ContextManagementTelemetry
Auto Trait Implementations§
impl Freeze for ContextManagementTelemetry
impl RefUnwindSafe for ContextManagementTelemetry
impl Send for ContextManagementTelemetry
impl Sync for ContextManagementTelemetry
impl Unpin for ContextManagementTelemetry
impl UnsafeUnpin for ContextManagementTelemetry
impl UnwindSafe for ContextManagementTelemetry
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.