| docs | |
| ▼ examples | |
| ▼ plugin_example | |
| example_plugin.cpp | Example dynamically loaded collector plugin |
| plugin_loader_example.cpp | Example demonstrating dynamic plugin loading |
| alert_notifiers_example.cpp | Comprehensive example demonstrating alert notification implementations |
| alert_pipeline_example.cpp | Comprehensive example demonstrating AlertManager, AlertPipeline, and alert lifecycle management |
| alert_triggers_example.cpp | Comprehensive example demonstrating various alert trigger types |
| basic_monitoring_example.cpp | Basic example demonstrating simple monitoring setup |
| bidirectional_di_example.cpp | Phase 4 - Bidirectional Dependency Injection Example |
| collector_factory_example.cpp | Demonstrates metric_factory usage for collector creation |
| custom_metric_types_example.cpp | Example demonstrating custom metric types: histogram, summary, and timer |
| distributed_tracing_example.cpp | Example demonstrating distributed tracing across services |
| event_bus_example.cpp | Example demonstrating event-driven monitoring system |
| facade_adapter_poc.cpp | Proof-of-concept for Facade + Adapter pattern refactoring |
| graceful_degradation_example.cpp | Demonstration of reliability patterns and graceful degradation |
| health_reliability_example.cpp | Example demonstrating health monitoring and reliability features |
| logger_di_integration_example.cpp | Monitoring system integration example with Result pattern |
| monitor_factory_pattern_example.cpp | Monitor factory and provider pattern examples for Phase 4 |
| multi_service_tracing_example.cpp | Demonstrates distributed tracing across multiple services |
| otlp_export_example.cpp | Demonstrates OpenTelemetry Protocol (OTLP) export configuration |
| platform_metrics_example.cpp | Demonstrates platform_metrics_collector usage |
| plugin_collector_example.cpp | Demonstrates plugin-based metric collector setup and usage |
| production_monitoring_example.cpp | Complete production-ready monitoring setup demonstration |
| result_pattern_example.cpp | Example demonstrating Result<T> and VoidResult error handling patterns |
| storage_example.cpp | Example demonstrating metric storage backends and query engine |
| system_collectors_example.cpp | Demonstrates unified system collectors usage |
| time_series_storage_example.cpp | Demonstrates time-series storage for metric history |
| ▼ include | |
| ▼ kcenon | |
| ► monitoring | |
| ► adapters | |
| common_adapters.h | Consolidated adapters for common_system <-> monitoring_system interop |
| common_to_monitoring_adapter.h | Adapter exposing monitoring_system as common::interfaces::IMonitor |
| logger_adapters.h | Consolidated logger system adapters for monitoring_system |
| logger_to_monitoring_adapter.h | Logger system adapter using dependency injection for monitoring integration |
| monitor_adapter.h | Standalone adapter for performance_monitor without DI |
| monitoring_to_common_adapter.h | Health status conversion between monitoring_system and common_system |
| performance_monitor_adapter.h | Adapter to bridge performance_monitor to common::interfaces::IMonitor |
| thread_adapters.h | Consolidated thread system adapters for monitoring_system |
| thread_to_monitoring_adapter.h | Thread system adapter for pulling metrics from thread_system |
| ► adaptive | |
| adaptive_monitor.h | Adaptive monitoring implementation that adjusts behavior based on system load |
| ► alert | |
| alert_config.h | Alert configuration parsing and templating |
| alert_manager.h | Central coordinator for alert lifecycle management |
| alert_notifiers.h | Alert notification implementations |
| alert_pipeline.h | Alert processing pipeline components |
| alert_rule.h | Alert rule configuration and evaluation |
| alert_triggers.h | Alert trigger implementations for various condition types |
| alert_types.h | Core alert data structures for the monitoring system |
| ► collectors | |
| battery_collector.h | Battery status monitoring collector |
| collector_base.h | CRTP base class for metric collectors |
| container_collector.h | Container metrics collector for Docker/cgroup monitoring |
| gpu_collector.h | GPU metrics monitoring collector |
| interrupt_collector.h | Hardware and software interrupt statistics monitoring collector |
| logger_system_collector.h | Metric collector for logger_system log statistics |
| network_metrics_collector.h | Unified network metrics collector for socket buffers and TCP states |
| platform_metrics_collector.h | Unified platform-agnostic metrics collector |
| plugin_metric_collector.h | Plugin-based metric collector with dynamic discovery and registration |
| power_collector.h | Power consumption monitoring collector |
| process_metrics_collector.h | Unified process-level metrics collector |
| security_collector.h | Security event monitoring collector |
| smart_collector.h | S.M.A.R.T. disk health monitoring collector |
| system_resource_collector.h | System resource collector for CPU, memory, and disk metrics |
| temperature_collector.h | Hardware temperature monitoring collector |
| thread_system_collector.h | Metric collector for thread_system pool and queue statistics |
| uptime_collector.h | System uptime monitoring collector |
| vm_collector.h | Virtualization metrics collector |
| ► concepts | |
| monitoring_concepts.h | C++20 concepts for monitoring system types |
| ► config | |
| feature_flags.h | Unified feature flags header for monitoring_system |
| ► context | |
| thread_context.h | Thread-local context management for request tracking and distributed tracing |
| ► core | |
| central_collector.h | Central collector for aggregating metrics from thread-local buffers |
| error_codes.h | Monitoring system specific error codes |
| event_bus.h | Lightweight event bus implementation for monitoring system |
| event_types.h | Common event type definitions for monitoring system |
| performance_monitor.h | Performance monitoring and profiling implementation |
| performance_types.h | Lightweight performance profile types for aggregated metrics |
| result_types.h | Result pattern type definitions for monitoring system |
| safe_event_dispatcher.h | Thread-safe event dispatcher with error boundary for handler failures |
| thread_local_buffer.h | Thread-local buffer for lock-free metric collection |
| ► di | |
| service_registration.h | Service container registration for monitoring_system services |
| ► exporters | |
| grpc_transport.h | GRPC transport layer for OTLP exporters |
| http_transport.h | HTTP transport layer for trace exporters |
| metric_exporters.h | Metric data exporters for various monitoring and observability systems |
| opentelemetry_adapter.h | OpenTelemetry compatibility layer for monitoring system integration |
| otlp_grpc_exporter.h | OTLP gRPC trace exporter implementation |
| trace_exporters.h | Trace data exporters for various distributed tracing systems |
| udp_transport.h | UDP transport layer for metric exporters |
| ► factory | |
| builtin_collectors.h | Registration of built-in metric collectors with the registry |
| collector_adapters.h | Adapters to connect existing collectors to collector_interface |
| metric_factory.h | Unified factory for metric collector instantiation |
| ► health | |
| health_monitor.h | Health monitoring with dependency graphs, auto-recovery, and statistics |
| ► interfaces | |
| event_bus_interface.h | Event bus interface for decoupled component communication |
| metric_collector_interface.h | Abstract interface for metric collection components |
| metric_types_adapter.h | Adapter for metric types to support interface definitions |
| monitorable_interface.h | Interface for components that expose monitoring metrics |
| monitoring_core.h | Core monitoring system interface definitions |
| observer_interface.h | Observer pattern interface for monitoring system event handling |
| ► optimization | |
| lockfree_queue.h | Lock-free MPMC queue optimized for metric collection pipelines |
| memory_pool.h | Platform-specific aligned memory allocation pool for monitoring objects |
| simd_aggregator.h | SIMD-accelerated metric aggregation (AVX2/NEON auto-detected) |
| ► platform | |
| metrics_provider.h | Platform abstraction layer for system metrics collection |
| ► plugins | |
| ► container | |
| container_plugin.h | Container monitoring plugin for Docker and Kubernetes metrics |
| ► hardware | |
| hardware_plugin.h | Hardware monitoring plugin for battery, power, temperature, and GPU metrics |
| collector_plugin.h | Plugin interface for metric collectors |
| collector_registry.h | Registry for managing collector plugin lifecycle |
| plugin_api.h | C API for dynamically loaded collector plugins |
| plugin_loader.h | Dynamic plugin loading from shared libraries |
| ► reliability | |
| circuit_breaker.h | Circuit breaker integration for monitoring_system |
| data_consistency.h | Transaction states and consistency validation for metric storage |
| error_boundary.h | Error boundary with degradation levels for fault isolation |
| fault_tolerance_manager.h | Fault tolerance manager coordinating circuit breakers and retries |
| graceful_degradation.h | Service priority levels and graceful degradation strategies |
| resource_manager.h | Resource exhaustion handling strategies and limits |
| retry_policy.h | Retry strategies with backoff for monitoring operations |
| ► storage | |
| storage_backends.h | Storage backend type definitions for metric persistence |
| ► tracing | |
| distributed_tracer.h | Distributed tracing implementation for monitoring system |
| trace_context.h | W3C-style trace context with trace_id, span_id, and parent propagation |
| ► utils | |
| aggregation_processor.h | Metric aggregation processing pipeline |
| config_parser.h | Unified configuration parsing utility |
| hot_path_helper.h | Reusable hot-path optimization patterns for concurrent map access |
| metric_storage.h | Memory-efficient metric storage with ring buffer backend |
| metric_types.h | Common metric type definitions for efficient storage |
| ring_buffer.h | Lock-free ring buffer for efficient metric storage |
| statistics.h | Generic statistics utilities for percentile calculations |
| stream_aggregator.h | Streaming statistical aggregation for real-time metrics |
| time_series.h | Time-series data storage for efficient metric history |
| time_series_buffer.h | Generic time-series buffer for metric history tracking |
| forward.h | Forward declarations for monitoring_system types |
| ▼ tests | |
| test_adapter_functionality.cpp | Phase 3.2 - Adapter Functionality Verification Tests |
| test_adaptive_monitoring.cpp | Unit tests for adaptive monitoring functionality |
| test_alert_manager.cpp | |
| test_alert_triggers.cpp | |
| test_alert_types.cpp | |
| test_battery_collector.cpp | |
| test_buffering_strategies.cpp | |
| test_collector_registry.cpp | |
| test_collector_registry_integration.cpp | |
| test_container_collector.cpp | |
| test_container_plugin.cpp | |
| test_cross_system_integration.cpp | Phase 3.3 - Cross-System Integration Tests |
| test_data_consistency.cpp | |
| test_di_container.cpp | Unit tests for monitoring_system DI container integration |
| test_distributed_tracing.cpp | Unit tests for distributed tracing functionality |
| test_error_boundaries.cpp | |
| test_event_bus.cpp | Test for event-driven communication system |
| test_fault_tolerance.cpp | |
| test_gpu_collector.cpp | |
| test_health_monitoring.cpp | Unit tests for health monitoring functionality |
| test_hot_path_helper.cpp | Unit tests for hot-path optimization helpers |
| test_integration_e2e.cpp | End-to-end integration tests for the monitoring system |
| test_interfaces_compile.cpp | Compilation test for new monitoring interfaces |
| test_interrupt_collector.cpp | |
| test_lock_free_collector.cpp | Integration tests for lock-free collector components (Sprint 3-4) |
| test_metric_exporters.cpp | |
| test_metric_factory.cpp | |
| test_metric_storage.cpp | |
| test_metrics_provider.cpp | |
| test_monitorable_interface.cpp | Unit tests for monitorable interface and monitoring data |
| test_network_metrics_collector.cpp | |
| test_opentelemetry_adapter.cpp | |
| test_optimization.cpp | |
| test_performance_monitoring.cpp | Unit tests for performance monitoring functionality |
| test_platform_metrics_collector.cpp | |
| test_power_collector.cpp | |
| test_process_metrics_collector.cpp | |
| test_resource_management.cpp | |
| test_result_types.cpp | |
| test_security_collector.cpp | |
| test_service_registration.cpp | Unit tests for monitoring_system DI service registration |
| test_smart_collector.cpp | |
| test_statistics_utils.cpp | Unit tests for statistics utilities |
| test_storage_backends.cpp | |
| test_stream_aggregation.cpp | |
| test_stress_performance.cpp | Stress testing for the monitoring system |
| test_system_resource_collector.cpp | |
| test_temperature_collector.cpp | |
| test_thread_context.cpp | Unit tests for thread context and metadata |
| test_thread_context_simple.cpp | Simple unit tests for thread context and metadata |
| test_time_series_buffer.cpp | |
| test_timer_metrics.cpp | |
| test_trace_exporters.cpp | |
| test_uptime_collector.cpp | |
| test_vm_collector.cpp | |
| thread_safety_tests.cpp | |