pub struct SemanticRefreshRunMetrics { /* private fields */ }Expand description
Non-sensitive work evidence for one settled scheduled semantic refresh attempt.
Implementations§
Source§impl SemanticRefreshRunMetrics
impl SemanticRefreshRunMetrics
pub fn sequence(&self) -> u64
pub fn outcome(&self) -> SemanticRefreshRunOutcome
pub fn elapsed_ms(&self) -> u64
Sourcepub fn source_change_token_requests(&self) -> u64
pub fn source_change_token_requests(&self) -> u64
Repository change-token calls started by this refresh attempt.
Sourcepub fn source_change_token_observations(&self) -> u64
pub fn source_change_token_observations(&self) -> u64
Valid Some change tokens returned by those repository calls.
pub fn source_snapshot_requests(&self) -> u64
pub fn source_snapshot_node_reads(&self) -> u64
pub fn source_snapshot_bytes(&self) -> u64
pub fn embedding_cache_hits(&self) -> u64
pub fn embedding_inputs(&self) -> u64
pub fn embedding_input_bytes(&self) -> u64
Sourcepub fn provider_requests(&self) -> u64
pub fn provider_requests(&self) -> u64
Provider-adapter invocations, including retries and failed invocations.
This counter records work at Code’s adapter boundary. It does not prove that an adapter transmitted a remote request or incurred a charge.
Sourcepub fn provider_inputs(&self) -> u64
pub fn provider_inputs(&self) -> u64
Inputs offered to provider-adapter invocations; retries count again.
Sourcepub fn provider_input_bytes(&self) -> u64
pub fn provider_input_bytes(&self) -> u64
UTF-8 input bytes offered to provider-adapter invocations, including retries. This is not proof of remote transmission or billing.
Sourcepub fn publication_attempts(&self) -> u64
pub fn publication_attempts(&self) -> u64
Complete-partition publication calls that reached the index backend.
A rejected CAS publication counts. Later invalidation cleanup does not.
Sourcepub fn publication_records(&self) -> u64
pub fn publication_records(&self) -> u64
Records offered by complete-partition publication attempts.
A rejected CAS publication counts. Later invalidation cleanup does not.
Trait Implementations§
Source§impl Clone for SemanticRefreshRunMetrics
impl Clone for SemanticRefreshRunMetrics
Source§fn clone(&self) -> SemanticRefreshRunMetrics
fn clone(&self) -> SemanticRefreshRunMetrics
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for SemanticRefreshRunMetrics
impl Debug for SemanticRefreshRunMetrics
impl Eq for SemanticRefreshRunMetrics
impl StructuralPartialEq for SemanticRefreshRunMetrics
Auto Trait Implementations§
impl Freeze for SemanticRefreshRunMetrics
impl RefUnwindSafe for SemanticRefreshRunMetrics
impl Send for SemanticRefreshRunMetrics
impl Sync for SemanticRefreshRunMetrics
impl Unpin for SemanticRefreshRunMetrics
impl UnsafeUnpin for SemanticRefreshRunMetrics
impl UnwindSafe for SemanticRefreshRunMetrics
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
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§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
key and return true if they are equal.Source§impl<T> FutureExt for T
impl<T> FutureExt for T
Source§fn with_context(self, otel_cx: Context) -> WithContext<Self> ⓘ
fn with_context(self, otel_cx: Context) -> WithContext<Self> ⓘ
Source§fn with_current_context(self) -> WithContext<Self> ⓘ
fn with_current_context(self) -> WithContext<Self> ⓘ
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> ⓘ
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> ⓘ
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