Skip to main content

read_header_and_stats

Function read_header_and_stats 

Source
pub fn read_header_and_stats(
    data: &str,
) -> Result<(String, String, Agent, SessionContext, Option<Stats>), JsonlError>
Expand description

Read header + stats (first and last line) without loading events. Returns (version, session_id, agent, context, stats_or_none)