Skip to main content

csv_columns

Function csv_columns 

Source
pub fn csv_columns(metrics: &[Metric]) -> Result<Vec<&Metric>, MissingMetric>
Expand description

The table in CSV column order: today’s columns first, then the rest in table order. The writer adds timestamp and run before these.

Fails when the table lacks one of today’s columns, so a writer never emits a header that silently drops it.