Expand description
Observability and metrics for the audit system
This module provides comprehensive observability features including:
- Performance metrics (EPS, latency)
- Target health monitoring
- Configuration change tracking
- Error rate monitoring
- Queue depth monitoring
Structs§
- Audit
Metrics - Metrics collector for audit system observability
- Audit
Metrics Report - Comprehensive metrics report
- Performance
Validation - Performance validation results
Functions§
- get_
metrics_ report - Get the current metrics report
- global_
metrics - Get or initialize the global metrics instance
- init_
observability_ metrics - One-time registration of indicator meta information This function ensures that metric descriptors are registered only once.
- record_
audit_ failure - Record a failed audit event dispatch
- record_
audit_ success - Record a successful audit event dispatch
- record_
config_ reload - Record a configuration reload
- record_
system_ start - Record a system start
- record_
target_ failure - Record a failed target operation
- record_
target_ success - Record a successful target operation
- reset_
metrics - Reset all metrics
- validate_
performance - Validate performance requirements