desktop/src-tauri/crates/core/src/adapters/otel/detect.rs
Comment 1, line 1
desktop/src-tauri/crates/core/src/adapters/otel/detect.rs:1
//! Detect OTel span JSONL by record/attribute fields, accepting both spellings.Comment 2, line 15
desktop/src-tauri/crates/core/src/adapters/otel/detect.rs:15
// Temporary lock/timeout/removal after enumeration is Pending; retry next run.Comment 3, line 26
desktop/src-tauri/crates/core/src/adapters/otel/detect.rs:26
// Recognize gen_ai/agentlens namespaces or span record fields.Comment 4, line 27
desktop/src-tauri/crates/core/src/adapters/otel/detect.rs:27
// Avoid whitespace-sensitive matches such as "name":"chat": valid JSONComment 5, line 28
desktop/src-tauri/crates/core/src/adapters/otel/detect.rs:28
// allows whitespace between keys/values; spanId/startTime identify the format.Comment 6, line 33
desktop/src-tauri/crates/core/src/adapters/otel/detect.rs:33
// File exporters mix metrics/logs/spans. An initial metrics-only batchComment 7, line 34
desktop/src-tauri/crates/core/src/adapters/otel/detect.rs:34
// still identifies the format; scanning skips non-call records.