pub struct GrokSignals {
pub primary_model_id: String,
pub models_used: Vec<String>,
pub context_tokens_used: u64,
}Expand description
Aggregate telemetry stored in each Grok CLI session’s signals.json.
Grok records a current context-window gauge rather than billed token buckets. Unknown fields are intentionally ignored so new telemetry does not break older VCT releases.
Fields§
§primary_model_id: StringResolved model used for session attribution.
models_used: Vec<String>Models observed in the session, used only when the primary model is absent.
context_tokens_used: u64Current number of tokens occupying the context window.
Trait Implementations§
Source§impl Debug for GrokSignals
impl Debug for GrokSignals
Source§impl Default for GrokSignals
impl Default for GrokSignals
Source§fn default() -> GrokSignals
fn default() -> GrokSignals
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GrokSignalswhere
GrokSignals: Default,
impl<'de> Deserialize<'de> for GrokSignalswhere
GrokSignals: 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
Auto Trait Implementations§
impl Freeze for GrokSignals
impl RefUnwindSafe for GrokSignals
impl Send for GrokSignals
impl Sync for GrokSignals
impl Unpin for GrokSignals
impl UnsafeUnpin for GrokSignals
impl UnwindSafe for GrokSignals
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<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more