pub struct TelemetryRetentionState {Show 50 fields
pub policy_version: u32,
pub logical_byte_version: u32,
pub raw_rows: usize,
pub max_raw_rows: usize,
pub max_raw_age_seconds: u64,
pub raw_logical_bytes: usize,
pub max_raw_logical_bytes: usize,
pub baseline_rows: usize,
pub max_baselines_per_instance: usize,
pub max_active_baseline_rows: usize,
pub baseline_logical_bytes: usize,
pub max_baseline_logical_bytes: usize,
pub dimension_rows: usize,
pub max_dimensions: usize,
pub instance_rows: usize,
pub active_instance_rows: usize,
pub max_active_instances: usize,
pub max_retained_instances: usize,
pub retained_label_rows: usize,
pub max_retained_labels: usize,
pub daily_rows: usize,
pub max_daily_rows: usize,
pub retained_trend_days: u64,
pub label_tombstone_rows: usize,
pub max_label_tombstones: usize,
pub instance_tombstone_rows: usize,
pub max_instance_tombstones: usize,
pub pruned_raw_rows: usize,
pub pruned_instance_rows: usize,
pub evicted_tombstones: usize,
pub maintenance_pending: bool,
pub prune_batch_rows: usize,
pub writes_since_checkpoint: usize,
pub checkpoint_write_interval: usize,
pub last_checkpoint_epoch: u64,
pub oldest_retained_epoch: Option<u64>,
pub clock_anomaly: bool,
pub spill_cleanup: SpillCleanupState,
pub checkpoint_state: TelemetryCheckpointState,
pub wal_autocheckpoint_pages: usize,
pub freelist_pages: usize,
pub page_count: usize,
pub page_size: usize,
pub journal_mode: String,
pub synchronous_mode: String,
pub connection_busy_timeout_ms: u64,
pub normal_busy_timeout_ms: u64,
pub telemetry_busy_timeout_ms: u64,
pub statistics_policy: PlannerStatisticsPolicy,
pub statistics_state: PlannerStatisticsState,
}Expand description
Content-free retention and page-lifecycle state.
Fields§
§policy_version: u32Retention policy format version.
logical_byte_version: u32Logical-byte accounting version.
raw_rows: usizeRetained raw rows.
max_raw_rows: usizeMaximum retained raw rows.
max_raw_age_seconds: u64Maximum retained raw age in seconds.
raw_logical_bytes: usizeRetained raw logical bytes.
max_raw_logical_bytes: usizeMaximum retained raw logical bytes.
baseline_rows: usizeActive baseline rows.
max_baselines_per_instance: usizeMaximum baselines for one active instance.
max_active_baseline_rows: usizeMaximum active baseline rows.
baseline_logical_bytes: usizeActive baseline witness bytes.
max_baseline_logical_bytes: usizeMaximum active baseline witness bytes.
dimension_rows: usizeNormalized dimension rows.
max_dimensions: usizeMaximum normalized dimensions including overflow.
instance_rows: usizeRetained runtime-instance rows.
active_instance_rows: usizeActive runtime-instance rows for the selected project.
max_active_instances: usizeMaximum active runtime instances per project.
max_retained_instances: usizeMaximum retained runtime-instance rows.
retained_label_rows: usizeRetained caller-label state rows in the authoritative database.
max_retained_labels: usizeMaximum retained caller-label state rows in the authoritative database.
daily_rows: usizeRetained daily aggregate rows.
max_daily_rows: usizeMaximum retained daily aggregate rows.
retained_trend_days: u64Daily trend retention in days.
label_tombstone_rows: usizeRetained label tombstones.
max_label_tombstones: usizeMaximum retained label tombstones.
instance_tombstone_rows: usizeRetained runtime-instance tombstones.
max_instance_tombstones: usizeMaximum retained runtime-instance tombstones.
pruned_raw_rows: usizeLifetime pruned raw rows.
pruned_instance_rows: usizeLifetime pruned runtime instances.
evicted_tombstones: usizeLifetime evicted tombstones.
maintenance_pending: boolWhether more bounded maintenance is pending.
prune_batch_rows: usizeFixed maximum rows touched by one maintenance category pass.
writes_since_checkpoint: usizeWrites accumulated since the last passive checkpoint attempt.
checkpoint_write_interval: usizeWrites between passive checkpoint attempts.
last_checkpoint_epoch: u64Epoch of the most recent checkpoint attempt.
oldest_retained_epoch: Option<u64>Oldest retained raw-event epoch, when detail exists.
clock_anomaly: boolWhether anomalous wall-clock movement was observed.
spill_cleanup: SpillCleanupStateSpill cleanup state; always not applicable for the one-database design.
checkpoint_state: TelemetryCheckpointStateMost recent ProjectAtlas passive-checkpoint state.
wal_autocheckpoint_pages: usizeConnection-local SQLite automatic-checkpoint threshold in WAL pages.
freelist_pages: usizeReusable database pages observed live by the reporting connection.
page_count: usizeTotal database pages observed live by the reporting connection.
page_size: usizeSQLite database page size in bytes.
journal_mode: StringActive journal mode reported by SQLite.
synchronous_mode: StringActive synchronous mode reported by SQLite.
connection_busy_timeout_ms: u64Busy timeout observed on the reporting connection in milliseconds.
normal_busy_timeout_ms: u64Busy timeout required for ordinary read/write connections in milliseconds.
telemetry_busy_timeout_ms: u64Busy timeout required for best-effort telemetry writers in milliseconds.
statistics_policy: PlannerStatisticsPolicyPlanner-statistics lifecycle policy.
statistics_state: PlannerStatisticsStateCurrent planner-statistics availability.
Trait Implementations§
Source§impl Clone for TelemetryRetentionState
impl Clone for TelemetryRetentionState
Source§fn clone(&self) -> TelemetryRetentionState
fn clone(&self) -> TelemetryRetentionState
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for TelemetryRetentionState
impl Debug for TelemetryRetentionState
Source§impl PartialEq for TelemetryRetentionState
impl PartialEq for TelemetryRetentionState
Source§impl Serialize for TelemetryRetentionState
impl Serialize for TelemetryRetentionState
impl Eq for TelemetryRetentionState
impl StructuralPartialEq for TelemetryRetentionState
Auto Trait Implementations§
impl Freeze for TelemetryRetentionState
impl RefUnwindSafe for TelemetryRetentionState
impl Send for TelemetryRetentionState
impl Sync for TelemetryRetentionState
impl Unpin for TelemetryRetentionState
impl UnwindSafe for TelemetryRetentionState
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.