pub struct MetricRow {Show 30 fields
pub export_name: String,
pub run_id: String,
pub duration_ms: i64,
pub total_rows: i64,
pub peak_rss_mb: Option<i64>,
pub status: String,
pub error_message: Option<String>,
pub tuning_profile: Option<String>,
pub format: Option<String>,
pub mode: Option<String>,
pub files_produced: i64,
pub bytes_written: i64,
pub retries: i64,
pub validated: Option<bool>,
pub schema_changed: Option<bool>,
pub files_committed: i64,
pub reconciled: Option<bool>,
pub source_count: Option<i64>,
pub quality_passed: Option<bool>,
pub pg_temp_bytes_delta: Option<i64>,
pub batch_size: i64,
pub batch_size_memory_mb: Option<i64>,
pub skip_reason: Option<String>,
pub schema_fingerprint: Option<String>,
pub chunk_size: Option<i64>,
pub parallel: Option<i64>,
pub source_type: Option<String>,
pub destination_type: Option<String>,
pub rivet_version: Option<String>,
pub longest_chunk_ms: Option<i64>,
}Expand description
Every column written to one export_metrics row.
Bundles the original 15 metrics with the v9 additions (source harm,
completeness, memory, config dimensions) so a new metric is a struct field +
a column, not another positional argument to a 30-arg function. Default
lets a call site fill only the signals it actually has; the run path builds
the whole thing via pipeline::job::build_metric_row.
Fields§
§export_name: String§run_id: String§duration_ms: i64§total_rows: i64§peak_rss_mb: Option<i64>§status: String§error_message: Option<String>§tuning_profile: Option<String>§format: Option<String>§mode: Option<String>§files_produced: i64§bytes_written: i64§retries: i64§validated: Option<bool>§schema_changed: Option<bool>§files_committed: i64§reconciled: Option<bool>§source_count: Option<i64>§quality_passed: Option<bool>§pg_temp_bytes_delta: Option<i64>§batch_size: i64§batch_size_memory_mb: Option<i64>§skip_reason: Option<String>§schema_fingerprint: Option<String>§chunk_size: Option<i64>§parallel: Option<i64>§source_type: Option<String>§destination_type: Option<String>§rivet_version: Option<String>§longest_chunk_ms: Option<i64>Trait Implementations§
Auto Trait Implementations§
impl Freeze for MetricRow
impl RefUnwindSafe for MetricRow
impl Send for MetricRow
impl Sync for MetricRow
impl Unpin for MetricRow
impl UnsafeUnpin for MetricRow
impl UnwindSafe for MetricRow
Blanket Implementations§
impl<T> Allocation for T
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