apcore 0.19.0

Schema-driven module standard for AI-perceivable interfaces
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// APCore Protocol — Observability module
// Spec reference: Tracing, metrics, logging, error history, and usage

pub mod error_history;
pub mod exporters;
pub mod logging;
pub mod metrics;
pub mod span;
pub mod tracing_middleware;
pub mod usage;

pub use error_history::{ErrorEntry, ErrorHistory, ErrorHistoryMiddleware};
pub use exporters::{InMemoryExporter, OTLPExporter, StdoutExporter};
pub use logging::{ContextLogger, ObsLoggingMiddleware};
pub use metrics::{MetricsCollector, MetricsMiddleware};
pub use span::{Span, SpanExporter};
pub use tracing_middleware::{SamplingStrategy, TracingMiddleware};
pub use usage::{UsageCollector, UsageMiddleware, UsageStats};