//! OpenTelemetry (OTLP) types and parsing logic for multi-framework API tracking
//!
//! This module provides types and parsing logic for OpenTelemetry Protocol (OTLP)
//! log exports from various AI coding assistants (Claude Code, Codex CLI, etc.).
//!
//! # Public Types
//!
//! - [`ExportLogsServiceRequest`]: Top-level OTLP logs export request
//! - [`ParsedApiRequest`]: Parsed API request with token counts
//! - [`ParsedCodexEvent`]: Parsed Codex activity event
//! - [`CodexEventType`]: Types of Codex activity events
//! - [`process_logs_request`]: Process and store OTLP log records

mod api_request;
mod attributes;
mod codex_event;
mod otlp_types;
mod process;
#[cfg(test)]
mod test_utils;

// Re-export public types
pub use api_request::ParsedApiRequest;
pub use codex_event::{CodexEventType, ParsedCodexEvent};
pub use otlp_types::{
    AnyValueTyped, ExportLogsServiceRequest, KeyValue, LogRecord, Resource, ResourceLogs, ScopeLogs,
};
pub use process::process_logs_request;
