Skip to main content

otelite_core/
lib.rs

1//! Otelite Core Library
2//!
3//! This crate provides core functionality for the Otelite OpenTelemetry receiver,
4//! including telemetry data types for metrics, logs, and traces.
5
6// Telemetry data types
7pub mod telemetry;
8
9// API response types
10pub mod api;
11
12// Query parser
13pub mod query;
14
15// Storage abstraction (trait + associated types)
16pub mod storage;
17
18// GenAI semantic-convention attribute vocabulary
19pub mod semconv;
20
21// Model pricing data + cost computation
22pub mod pricing;
23
24// Agent-framework attribute recognizers (CrewAI, AutoGen, LangGraph, ...)
25pub mod agent_frameworks;
26
27// Re-exports for convenience
28pub use telemetry::{
29    format_attribute_preview, format_attribute_value, LogRecord, Metric, Resource, Span, Trace,
30};