mod api;
mod arrow;
mod batch;
mod decode;
mod error;
pub mod fixtures;
mod output;
pub mod proto_output;
mod schema;
#[cfg(feature = "ffi")]
#[path = "bindings/ffi.rs"]
pub mod ffi;
#[cfg(all(feature = "wasm", target_arch = "wasm32"))]
#[path = "bindings/wasm.rs"]
pub mod wasm;
pub use api::{
transform_logs, transform_logs_json, transform_logs_partitioned, transform_logs_with_observer,
transform_metrics, transform_metrics_json, transform_metrics_partitioned,
transform_metrics_with_observer, transform_traces, transform_traces_json,
transform_traces_partitioned, transform_traces_with_observer, JsonMetricBatches, MetricBatches,
SkippedMetrics,
};
pub use arrow::{
extract_min_timestamp_micros, extract_service_name, group_batch_by_service, PartitionedBatch,
PartitionedMetrics, ServiceGroupedBatches,
};
pub use batch::{
TransformCounter, TransformCounterValue, TransformObserver, TransformPhase,
TransformPhaseTiming, TransformSignal,
};
pub use decode::{DecodeError, InputFormat};
pub use error::{Error, Result};
#[cfg(feature = "parquet")]
pub use output::to_parquet;
pub use output::{to_ipc, to_json};
pub use schema::{
exp_histogram_schema, gauge_schema, histogram_schema, logs_schema, schema_def, schema_defs,
sum_schema, traces_schema, FieldType, SchemaDef, SchemaField,
};