hyprstream_metrics/metrics/mod.rs
1//! Metric record types, stores, and metric-specific aggregation.
2//!
3//! The public record types, schema, producer API, and the calibration /
4//! decision-batch stores live in the Apache-2.0 `hyprstream-metrics-api`
5//! crate and are re-exported here unchanged; this module adds the
6//! engine-side metric aggregation and storage execution.
7
8// tonic::Status is the idiomatic gRPC error type - boxing would break API
9#![allow(clippy::result_large_err)]
10
11pub mod storage;
12
13#[cfg(test)]
14mod api_store_tests;
15
16pub use hyprstream_metrics_api::metrics::*;
17pub use storage::{MetricsStorage, MetricsStorageImpl};