Expand description
Structured Event Streaming (PMAT-043)
Stream metrics to time-series databases and event systems.
§Features
- InfluxDB Line Protocol export
- JSON Lines file sink
- Batch buffering and compression
- Correlation ID tracking
§Falsification Criteria (F1351-F1360)
See tests/event_streaming_f1351.rs for falsification tests.
Structs§
- Event
Batch - Event batch
- Event
Streamer - Event streamer
- Metric
Event - Metric event
- Retry
Config - Retry configuration
- Sink
Health - Sink health status
Enums§
- Sink
Type - Event sink type
Constants§
- DEFAULT_
BATCH_ SIZE - Default batch size
- SCHEMA_
VERSION - Schema version for event format
Functions§
- compress_
data - Compress data using simple run-length encoding (placeholder)
- event_
from_ sample - Create event from performance sample