Skip to main content

SAMPLE_SCHEMA

Constant SAMPLE_SCHEMA 

Source
pub const SAMPLE_SCHEMA: &str = "
    message schema {
        REQUIRED INT64 timestamp_unix_ns;
        REQUIRED DOUBLE value;
    }
";
Expand description

Two-column schema of every archived sample file.

timestamp_unix_ns is the sample time in Unix nanoseconds and value is the raw (uncalibrated) sample value. Both columns are required.