1#![forbid(unsafe_code)]
13
14pub mod config;
15pub mod context;
16pub mod endpoint;
17pub mod ids;
18pub mod jsonl;
19pub mod metrics;
20#[cfg(any(feature = "otlp-grpc", feature = "otlp-http"))]
21pub mod otlp;
22#[cfg(feature = "otlp-http")]
23mod otlp_http_client;
24pub mod project;
25pub mod sink;
26
27pub use config::{
28 AckMode, AlwaysSampleOn, ConfigError, ParentSampling, RootSampling, Sampling, SinkConfig,
29};
30pub use ids::{IdSource, RandomIds, SeededIds};
31pub use jsonl::{JsonlError, JsonlExporter};
32pub use project::{
33 Anchor, AnchorKind, Bindings, Projected, ProjectionInput, ProjectionUnknown, RootIds,
34 UsageKeys, project,
35};
36pub use sink::{
37 BeginError, Begun, DecisionTelemetry, ExportError, Flow, LogRecord, Measurement, OtelSink,
38 OtelStats, SinkClock, SystemClock, TeeSink, TelemetryExporter,
39};