|
Monitoring System 0.1.0
System resource monitoring with pluggable collectors and alerting
|
Namespaces | |
| namespace | adapters |
| namespace | collectors |
| namespace | concepts |
| namespace | core |
| namespace | detail |
| namespace | exporters |
| namespace | hot_path |
| namespace | interfaces |
| namespace | metrics |
| namespace | platform |
| namespace | plugins |
| namespace | stats |
| namespace | utils |
Classes | |
| class | absent_trigger |
| Trigger when no data is received for a period. More... | |
| struct | adaptation_stats |
| Adaptation statistics. More... | |
| class | adaptive_collector |
| Adaptive collector wrapper. More... | |
| struct | adaptive_config |
| Adaptive configuration parameters. More... | |
| class | adaptive_monitor |
| Adaptive monitoring controller. More... | |
| class | adaptive_scope |
| Adaptive monitoring scope. More... | |
| class | aggregation_processor |
| Processes metric streams and generates aggregated statistics. More... | |
| struct | aggregation_result |
| Result of time series aggregation. More... | |
| struct | aggregation_rule |
| Configuration for metric aggregation. More... | |
| struct | alert |
| Core alert data structure. More... | |
| class | alert_aggregator |
| Groups and deduplicates alerts. More... | |
| struct | alert_aggregator_config |
| Configuration for alert aggregation. More... | |
| struct | alert_annotations |
| Additional metadata for alert context. More... | |
| class | alert_deduplicator |
| Deduplicates alerts based on fingerprint. More... | |
| class | alert_formatter |
| Formats alerts for notification payloads. More... | |
| struct | alert_group |
| Group of related alerts for batch notification. More... | |
| class | alert_inhibitor |
| Manages alert inhibition rules. More... | |
| struct | alert_labels |
| Key-value labels for alert identification and routing. More... | |
| class | alert_manager |
| Central coordinator for the alert pipeline. More... | |
| struct | alert_manager_config |
| Configuration for the alert manager. More... | |
| struct | alert_manager_metrics |
| Metrics for alert manager operations. More... | |
| class | alert_notifier |
| Base class for alert notification handlers. More... | |
| class | alert_pipeline |
| Configurable alert processing pipeline. More... | |
| class | alert_rule |
| Defines conditions and behavior for alert triggering. More... | |
| struct | alert_rule_config |
| Configuration for an alert rule. More... | |
| class | alert_rule_group |
| A group of related alert rules. More... | |
| struct | alert_silence |
| Silence configuration to suppress alerts. More... | |
| class | alert_template |
| Template engine for alert messages. More... | |
| class | alert_trigger |
| Base class for alert trigger conditions. More... | |
| class | alternative_service_strategy |
| Alternative service fallback strategy. More... | |
| class | anomaly_trigger |
| Trigger based on statistical anomaly detection. More... | |
| class | battery_collector |
| Battery status monitoring collector implementing collector_plugin interface. More... | |
| struct | battery_info |
| Information about a battery source. More... | |
| class | battery_info_collector |
| Battery data collector using platform abstraction layer. More... | |
| struct | battery_reading |
| A single battery reading. More... | |
| class | buffered_notifier |
| Buffers alerts and sends in batches. More... | |
| class | cached_value_strategy |
| Cached value fallback strategy. More... | |
| class | callback_notifier |
| Notifier that invokes a callback function. More... | |
| class | central_collector |
| Central collector for aggregating metrics from thread-local buffers. More... | |
| class | circuit_breaker_registry |
| Circuit breaker registry. More... | |
| class | cloud_storage_backend |
| Cloud storage backend (stub implementation) More... | |
| class | collection_config |
| Configuration for metric collection. More... | |
| class | collector_base |
| CRTP base class for metric collectors. More... | |
| class | collector_interface |
| Base interface for type-erased collectors. More... | |
| class | collector_plugin |
| Pure virtual interface for metric collector plugins. More... | |
| class | collector_registry |
| Thread-safe registry for managing collector plugins. More... | |
| struct | compact_metric_value |
| Memory-efficient metric value storage. More... | |
| class | component_lifecycle_event |
| Event for component lifecycle changes. More... | |
| class | composite_health_check |
| Composite health check that aggregates multiple sub-checks. More... | |
| class | composite_trigger |
| Combines multiple triggers with logical operations. More... | |
| class | config_parser |
| Unified configuration parsing utility. More... | |
| class | configuration_change_event |
| Event fired when configuration changes. More... | |
| class | console_color_notifier |
| class | container_collector |
| struct | container_info |
| class | container_info_collector |
| struct | container_metrics |
| struct | context_metadata |
| Context metadata for thread-specific information. More... | |
| class | context_switch_info_collector |
| Context switch data collector using platform abstraction layer. More... | |
| struct | context_switch_metrics |
| Aggregated context switch metrics for system and process. More... | |
| class | cooldown_tracker |
| Tracks cooldown periods for alert notifications. More... | |
| struct | cpu_interrupt_info |
| Per-CPU interrupt statistics. More... | |
| struct | cpu_throttle_config |
| Configuration for CPU throttling. More... | |
| class | cpu_throttler |
| Throttles operations based on CPU usage. More... | |
| struct | create_result |
| Result of collector creation. More... | |
| class | crtp_collector_adapter |
| Adapter for CRTP-based collectors (collector_base<T>) More... | |
| class | data_consistency_manager |
| Data consistency manager coordinating transaction managers and validators. More... | |
| class | database_storage_backend |
| Database storage backend (stub implementation) More... | |
| class | default_value_strategy |
| Default value fallback strategy. More... | |
| class | degradable_service |
| Degradable service wrapper. More... | |
| struct | degradation_plan |
| Degradation plan for coordinated service degradation. More... | |
| class | delta_trigger |
| Trigger based on change from previous value. More... | |
| struct | disk_info |
| class | distributed_tracer |
| Distributed tracer for managing spans and traces. More... | |
| class | dynamic_plugin_loader |
| Concrete implementation of plugin_loader using OS dynamic loading APIs. More... | |
| class | error_boundary |
| Error boundary implementation for resilient operations. More... | |
| struct | error_boundary_config |
| Error boundary configuration. More... | |
| struct | error_boundary_metrics |
| Error boundary metrics with atomic counters. More... | |
| class | error_boundary_registry |
| Error boundary registry for managing multiple boundaries. More... | |
| struct | error_info |
| Extended error information with context. More... | |
| class | event_base |
| Base class for all events in the system. More... | |
| class | event_bus |
| Thread-safe event bus implementation. More... | |
| struct | event_bus_config |
| Configuration for event bus. More... | |
| class | event_envelope |
| Container for events with metadata. More... | |
| class | event_handler |
| Type-safe event handler wrapper. More... | |
| class | event_handler_wrapper |
| Wrapper for event handlers with metadata. More... | |
| class | fallback_strategy_interface |
| Base interface for fallback strategies. More... | |
| struct | fault_tolerance_config |
| Fault tolerance configuration. More... | |
| class | fault_tolerance_manager |
| Fault tolerance manager template class. More... | |
| struct | fault_tolerance_metrics |
| Fault tolerance metrics. More... | |
| class | fault_tolerance_registry |
| Fault tolerance manager registry. More... | |
| class | fd_info_collector |
| File descriptor data collector using platform abstraction layer. More... | |
| struct | fd_metrics |
| File descriptor usage metrics. More... | |
| class | file_notifier |
| Writes alerts to a file. More... | |
| class | file_storage_backend |
| File storage backend for metrics snapshots. More... | |
| struct | filesystem_inode_info |
| Inode usage information for a single filesystem. More... | |
| class | functional_health_check |
| Health check implementation backed by a std::function. More... | |
| class | gpu_collector |
| GPU metrics monitoring collector implementing collector_plugin interface. More... | |
| struct | gpu_device_info |
| Information about a GPU device. More... | |
| class | gpu_info_collector |
| GPU data collector using platform abstraction layer. More... | |
| struct | gpu_reading |
| A single GPU metrics reading. More... | |
| class | graceful_degradation_manager |
| Graceful degradation manager. More... | |
| struct | graceful_degradation_metrics |
| Graceful degradation metrics. More... | |
| struct | grpc_request |
| gRPC request configuration More... | |
| struct | grpc_response |
| gRPC response data More... | |
| struct | grpc_statistics |
| Statistics for gRPC transport operations. More... | |
| class | grpc_transport |
| Abstract gRPC transport interface. More... | |
| struct | handler_error_info |
| Information about handler execution errors. More... | |
| class | health_check |
| Abstract base class for health checks. More... | |
| class | health_check_builder |
| Fluent builder for creating functional_health_check instances. More... | |
| class | health_check_event |
| Event for health check results. More... | |
| struct | health_check_result |
| Result of a health check operation. More... | |
| class | health_dependency_graph |
| Directed acyclic graph for health check dependencies. More... | |
| class | health_monitor |
| Health monitor with dependency management, auto-recovery, and statistics. More... | |
| struct | health_monitor_config |
| Configuration for the health_monitor. More... | |
| struct | health_monitor_stats |
| Accumulated statistics for health monitoring operations. More... | |
| struct | histogram_bucket |
| Bucket for histogram metrics. More... | |
| struct | histogram_data |
| Histogram data with buckets. More... | |
| struct | http_request |
| HTTP request configuration. More... | |
| struct | http_response |
| HTTP response data. More... | |
| class | http_transport |
| Abstract HTTP transport interface. More... | |
| struct | inhibition_rule |
| Rule for inhibiting alerts based on other alerts. More... | |
| class | inode_info_collector |
| Inode data collector using platform abstraction layer. More... | |
| struct | inode_metrics |
| Aggregated inode usage metrics for all filesystems. More... | |
| class | interface_aggregated_collector |
| Interface for collectors that aggregate metrics from multiple sources. More... | |
| class | interface_event_bus |
| Pure virtual interface for event bus implementation. More... | |
| class | interface_event_publisher |
| Interface for components that publish events. More... | |
| class | interface_event_subscriber |
| Interface for components that subscribe to events. More... | |
| class | interface_metric_collector |
| Pure virtual interface for metric collectors. More... | |
| class | interface_metric_source |
| Interface for components that provide metrics. More... | |
| class | interface_monitoring_observer |
| Pure virtual interface for monitoring event observers. More... | |
| class | interface_observable |
| Interface for components that can be observed. More... | |
| class | interrupt_collector |
| Hardware and software interrupt statistics monitoring collector. More... | |
| class | interrupt_info_collector |
| Interrupt data collector using platform abstraction layer. More... | |
| struct | interrupt_metrics |
| Aggregated interrupt statistics for the system. More... | |
| class | jaeger_exporter |
| Jaeger trace exporter implementation. More... | |
| struct | jaeger_span_data |
| Jaeger-specific span representation. More... | |
| class | json_alert_formatter |
| Formats alerts as JSON. More... | |
| class | kv_memory_storage_backend |
| In-memory key-value storage backend (legacy interface) More... | |
| class | kv_storage_backend |
| Basic key-value storage interface - stub. More... | |
| class | leaky_bucket_limiter |
| Leaky bucket rate limiter implementation. More... | |
| class | load_average_history |
| Specialized buffer for tracking load average history. More... | |
| struct | load_average_sample |
| Sample containing all three load averages. More... | |
| struct | load_average_statistics |
| Statistics for load average history. More... | |
| class | lockfree_queue |
| Thread-safe lock-free MPMC (Multiple Producer Multiple Consumer) queue. More... | |
| struct | lockfree_queue_config |
| Configuration for lock-free queue. More... | |
| struct | lockfree_queue_statistics |
| Statistics for lock-free queue operations. More... | |
| class | log_notifier |
| Simple notifier that logs alerts. More... | |
| class | logger_to_monitoring_adapter |
| Logger system adapter using dependency injection (Phase 2.3.3) More... | |
| class | logging_metric_event |
| Event containing logging system metrics. More... | |
| class | memory_pool |
| Thread-safe fixed-size block memory allocator. More... | |
| struct | memory_pool_config |
| Configuration for memory pool. More... | |
| struct | memory_pool_statistics |
| Statistics for memory pool operations. More... | |
| class | memory_quota_manager |
| Manages memory quota with tracking and throttling. More... | |
| class | memory_storage_backend |
| In-memory snapshot storage backend. More... | |
| struct | metric |
| Basic metric structure for interface compatibility. More... | |
| struct | metric_batch |
| Batch of metrics for efficient processing. More... | |
| class | metric_collection_event |
| Event containing collected metrics batch. More... | |
| class | metric_collector_plugin |
| class | metric_event |
| Event fired when a metric is collected. More... | |
| struct | metric_export_config |
| Configuration for metric exporters. More... | |
| class | metric_exporter_factory |
| Factory for creating metric exporters. More... | |
| class | metric_exporter_interface |
| Abstract interface for metric exporters. More... | |
| class | metric_factory |
| Unified factory for metric collector instantiation. More... | |
| class | metric_filter |
| Filter configuration for metric collection. More... | |
| struct | metric_metadata |
| Compact metadata for metrics. More... | |
| struct | metric_sample |
| Sample data structure for metric recording. More... | |
| struct | metric_stats |
| Statistics about metric collection. More... | |
| class | metric_storage |
| Thread-safe metric storage with ring buffer buffering. More... | |
| struct | metric_storage_config |
| Configuration for metric storage. More... | |
| struct | metric_storage_stats |
| Statistics for metric storage performance. More... | |
| struct | metric_value |
| Represents a single metric value with metadata. More... | |
| class | metrics_analyzer |
| Abstract interface for metrics analysis. More... | |
| class | metrics_collector |
| Abstract base class for metric collectors. More... | |
| struct | metrics_snapshot |
| Complete snapshot of metrics at a point in time. More... | |
| class | monitorable_component |
| Base class providing default monitorable implementation. More... | |
| class | monitorable_interface |
| Interface for components that can be monitored. More... | |
| class | monitoring_aggregator |
| Utility class to aggregate metrics from multiple monitorable components. More... | |
| struct | monitoring_config |
| Configuration for the monitoring system. More... | |
| struct | monitoring_data |
| Container for monitoring metrics from a component. More... | |
| class | monitoring_interface |
| Abstract interface for monitoring operations. More... | |
| class | moving_window_aggregator |
| Time-windowed value collection. More... | |
| class | multi_notifier |
| Sends alerts to multiple notifiers. More... | |
| class | network_info_collector |
| Internal network data collector using platform abstraction layer. More... | |
| struct | network_metrics |
| Aggregated network metrics from all sources. More... | |
| class | network_metrics_collector |
| Unified network metrics collector implementing collector_plugin interface. More... | |
| struct | network_metrics_config |
| Configuration for network metrics collector. More... | |
| class | online_statistics |
| Welford's algorithm for computing streaming statistics. More... | |
| class | opentelemetry_compatibility_layer |
| Main OpenTelemetry compatibility layer. More... | |
| class | opentelemetry_exporter_config |
| Configuration for OpenTelemetry exporters. More... | |
| class | opentelemetry_metrics_adapter |
| Adapter for converting monitoring system metrics to OpenTelemetry format. More... | |
| class | opentelemetry_tracer_adapter |
| Adapter for converting monitoring system traces to OpenTelemetry format. More... | |
| struct | otel_attribute |
| OpenTelemetry attribute representation. More... | |
| struct | otel_metric_data |
| OpenTelemetry metric data representation. More... | |
| struct | otel_resource |
| OpenTelemetry resource representation. More... | |
| struct | otel_span_context |
| OpenTelemetry span context. More... | |
| struct | otel_span_data |
| OpenTelemetry span data representation. More... | |
| class | otlp_exporter |
| OpenTelemetry Protocol (OTLP) trace exporter implementation. More... | |
| struct | otlp_exporter_stats |
| Statistics for OTLP exporter. More... | |
| struct | otlp_grpc_config |
| Configuration for OTLP gRPC exporter. More... | |
| class | otlp_grpc_exporter |
| OTLP gRPC trace exporter. More... | |
| class | otlp_metrics_exporter |
| OpenTelemetry Protocol (OTLP) metrics exporter implementation. More... | |
| class | otlp_span_converter |
| Converts internal spans to OTLP wire format. More... | |
| class | performance_alert_event |
| Event for performance-related alerts. More... | |
| class | performance_benchmark |
| Performance benchmark utility. More... | |
| struct | performance_metrics |
| Performance metrics for a specific operation. More... | |
| class | performance_monitor |
| Performance monitor combining profiling and system monitoring. More... | |
| class | performance_monitor_adapter |
| Adapter that wraps performance_monitor to implement IMonitor interface. More... | |
| struct | performance_profile |
| Lightweight performance profile for aggregated metrics. More... | |
| class | performance_profiler |
| Performance profiler for code sections. More... | |
| class | pipeline_stage |
| Base class for pipeline processing stages. More... | |
| struct | platform_context_switches |
| Platform context switch statistics. More... | |
| struct | platform_info |
| Platform identification information. More... | |
| class | platform_info_collector |
| Platform data collector using platform abstraction layer. More... | |
| struct | platform_interrupt_info |
| Platform interrupt statistics. More... | |
| struct | platform_metrics |
| Combined platform-level metrics. More... | |
| class | platform_metrics_collector |
| Unified platform-agnostic metrics collector. More... | |
| struct | platform_metrics_config |
| Configuration for platform metrics collection. More... | |
| struct | platform_socket_info |
| Platform socket buffer statistics. More... | |
| struct | platform_tcp_info |
| Platform TCP connection state information. More... | |
| struct | platform_uptime |
| Platform uptime information. More... | |
| class | plugin_collector_adapter |
| Adapter for plugin-based collectors (metric_collector_plugin) More... | |
| struct | plugin_collector_config |
| class | plugin_factory |
| class | plugin_loader |
| Abstract interface for plugin loading. More... | |
| struct | plugin_metadata |
| Metadata describing a collector plugin. More... | |
| class | plugin_metric_collector |
| class | power_collector |
| Power consumption monitoring collector implementing collector_plugin interface. More... | |
| class | power_info_collector |
| Power data collector using platform abstraction layer. More... | |
| struct | power_reading |
| A single power reading from a source. More... | |
| struct | power_source_info |
| Information about a power source. More... | |
| struct | process_context_switch_info |
| Context switch information for the current process. More... | |
| struct | process_metrics |
| Combined process-level metrics. More... | |
| class | process_metrics_collector |
| Unified process-level metrics collector. More... | |
| struct | process_metrics_config |
| Configuration for selective metric collection. More... | |
| class | prometheus_exporter |
| Prometheus metric exporter implementation. More... | |
| struct | prometheus_metric_data |
| Prometheus-specific metric representation. More... | |
| class | quantile_estimator |
| P² algorithm for streaming quantile estimation. More... | |
| class | range_trigger |
| Trigger based on value being within or outside a range. More... | |
| struct | rate_limit_config |
| Configuration for rate limiting. More... | |
| class | rate_limiter |
| Base interface for rate limiters. More... | |
| class | rate_of_change_trigger |
| Trigger based on rate of change of values. More... | |
| class | resource_manager |
| Coordinates multiple resource management components. More... | |
| struct | resource_metrics |
| Metrics for resource usage tracking. More... | |
| struct | resource_quota |
| Configuration for resource quotas. More... | |
| class | resource_threshold_monitor |
| struct | retry_config |
| Retry configuration. More... | |
| class | retry_executor |
| Retry executor template class. More... | |
| class | retry_executor_registry |
| Retry executor registry. More... | |
| struct | retry_metrics |
| Retry metrics. More... | |
| class | retry_policy |
| Basic retry policy implementation (backward compatibility) More... | |
| class | ring_buffer |
| Lock-free ring buffer with atomic operations. More... | |
| struct | ring_buffer_config |
| Configuration for ring buffer behavior. More... | |
| struct | ring_buffer_stats |
| Statistics for ring buffer performance monitoring. More... | |
| class | routing_notifier |
| Routes alerts to different notifiers based on criteria. More... | |
| class | rule_builder |
| Builds alert_rule from rule_definition. More... | |
| struct | rule_definition |
| Structured definition for alert rule configuration. More... | |
| class | rule_registry |
| Dynamic registry for alert rules with hot-reload support. More... | |
| class | safe_event_dispatcher |
| Event dispatcher with exception handling and error recovery. More... | |
| class | scoped_span |
| Scoped span for RAII-style span management. More... | |
| class | scoped_timer |
| Scoped performance timer. More... | |
| class | security_collector |
| Security event monitoring collector. More... | |
| struct | security_event |
| Individual security event information. More... | |
| struct | security_event_counts |
| Counts of security events by type. More... | |
| class | security_info_collector |
| Security event data collector using platform abstraction layer. More... | |
| struct | security_metrics |
| Aggregated security event metrics. More... | |
| struct | service_config |
| Service configuration for graceful degradation. More... | |
| struct | service_state |
| Service state tracking. More... | |
| class | simd_aggregator |
| SIMD-accelerated statistical aggregator. More... | |
| struct | simd_aggregator_statistics |
| Statistics for SIMD aggregator operations. More... | |
| struct | simd_capabilities |
| SIMD capabilities detection. More... | |
| struct | simd_config |
| Configuration for SIMD aggregator. More... | |
| class | simple_http_client |
| Simple HTTP client using basic socket operations. More... | |
| class | smart_collector |
| struct | smart_disk_metrics |
| class | smart_info_collector |
| class | snapshot_storage_backend |
| Base interface for snapshot storage backends. More... | |
| class | span_builder |
| Span builder for creating new spans. More... | |
| class | standalone_collector_adapter |
| Adapter for standalone collectors (like vm_collector) More... | |
| class | state_change_event |
| Event fired when system state changes. More... | |
| class | state_validator |
| State validator for validating system state. More... | |
| struct | statistical_summary |
| Statistical summary result. More... | |
| class | statistics_notifier |
| class | statsd_exporter |
| StatsD metric exporter implementation. More... | |
| struct | statsd_metric_data |
| StatsD-specific metric representation. More... | |
| class | storage_backend |
| Abstract interface for metrics storage. More... | |
| class | storage_backend_factory |
| Factory for creating storage backends. More... | |
| struct | storage_config |
| Storage configuration. More... | |
| struct | stream_aggregation_result |
| Result of an aggregation operation. More... | |
| class | stream_aggregator |
| Full-featured streaming aggregation. More... | |
| struct | stream_aggregator_config |
| Configuration for stream aggregator. More... | |
| struct | streaming_statistics |
| Statistical summary from streaming computation. More... | |
| class | stub_grpc_transport |
| Stub gRPC transport for testing. More... | |
| class | stub_http_transport |
| Stub HTTP transport for testing. More... | |
| class | stub_udp_transport |
| Stub UDP transport for testing. More... | |
| class | subscription_token |
| Token for managing event subscriptions. More... | |
| struct | summary_data |
| Summary statistics for metrics. More... | |
| class | system_event |
| Generic system event for monitoring components. More... | |
| class | system_info_collector |
| struct | system_metrics |
| System resource metrics. More... | |
| struct | system_metrics_config |
| class | system_monitor |
| System resource monitor. More... | |
| class | system_resource_collector |
| class | system_resource_event |
| Event containing system resource metrics. More... | |
| struct | system_resources |
| struct | tagged_metric |
| Represents a metric value with associated tags. More... | |
| struct | tcp_state_counts |
| Counts of connections in each TCP state. More... | |
| class | temperature_collector |
| Hardware temperature monitoring collector implementing collector_plugin interface. More... | |
| class | temperature_info_collector |
| Temperature data collector using platform abstraction layer. More... | |
| struct | temperature_reading |
| A single temperature reading from a sensor. More... | |
| struct | temperature_sensor_info |
| Information about a temperature sensor. More... | |
| class | text_alert_formatter |
| Formats alerts as human-readable text. More... | |
| class | thread_context |
| Thread-local context management for request tracking. More... | |
| struct | thread_context_data |
| Enhanced thread context data for comprehensive request and trace tracking. More... | |
| class | thread_local_buffer |
| Thread-local buffer for lock-free metric collection. More... | |
| class | thread_pool_metric_event |
| Event containing thread pool metrics. More... | |
| class | thread_to_monitoring_adapter |
| class | threshold_trigger |
| Trigger based on comparing value against a threshold. More... | |
| struct | time_point_data |
| Single data point in time series. More... | |
| class | time_series |
| Thread-safe time series data storage. More... | |
| class | time_series_buffer |
| Thread-safe ring buffer for time-series data with statistics. More... | |
| struct | time_series_buffer_config |
| Configuration for time series buffer. More... | |
| struct | time_series_config |
| Configuration for time series storage. More... | |
| struct | time_series_query |
| Query parameters for time series data. More... | |
| struct | time_series_sample |
| Single sample in time series with timestamp. More... | |
| struct | time_series_statistics |
| Statistics calculated from time series data. More... | |
| struct | timer_data |
| Timer data with percentile calculations. More... | |
| class | timer_scope |
| RAII timer scope for automatic duration recording with timer_data. More... | |
| class | token_bucket_limiter |
| Token bucket rate limiter implementation. More... | |
| struct | trace_context |
| Trace context for propagation across service boundaries. More... | |
| struct | trace_export_config |
| Configuration for trace exporters. More... | |
| struct | trace_export_settings |
| Configuration settings for trace export behavior. More... | |
| class | trace_exporter_factory |
| Factory for creating trace exporters. More... | |
| class | trace_exporter_interface |
| Abstract interface for trace exporters. More... | |
| struct | trace_span |
| Trace span representing a unit of work in distributed tracing. More... | |
| class | transaction |
| Transaction containing multiple operations. More... | |
| struct | transaction_config |
| Transaction configuration. More... | |
| class | transaction_manager |
| Transaction manager for coordinating transactions. More... | |
| struct | transaction_metrics |
| Transaction metrics. More... | |
| class | transaction_operation |
| Single transaction operation with execute and rollback capabilities. More... | |
| struct | udp_send_result |
| Result of a UDP send operation. More... | |
| struct | udp_statistics |
| Statistics for UDP transport operations. More... | |
| class | udp_transport |
| Abstract UDP transport interface. More... | |
| class | uptime_collector |
| System uptime monitoring collector implementing collector_plugin interface. More... | |
| class | uptime_info_collector |
| Uptime data collector using platform abstraction layer. More... | |
| struct | uptime_metrics |
| Aggregated uptime metrics for the system. More... | |
| struct | validation_config |
| Validation configuration. More... | |
| struct | validation_metrics |
| Validation metrics. More... | |
| class | vm_collector |
| Virtualization metrics monitoring collector. More... | |
| class | vm_info_collector |
| Platform-specific virtualization data collector implementation. More... | |
| struct | vm_metrics |
| Virtualization specific metrics. More... | |
| struct | webhook_config |
| Configuration for webhook notifier. More... | |
| class | webhook_notifier |
| Sends alerts to a webhook endpoint. More... | |
| class | zipkin_exporter |
| Zipkin trace exporter implementation. More... | |
| struct | zipkin_span_data |
| Zipkin-specific span representation. More... | |
Typedefs | |
| using | logger_system_adapter = logger_to_monitoring_adapter |
| using | thread_system_adapter = thread_to_monitoring_adapter |
| using | config_map = std::unordered_map<std::string, std::string> |
| Type alias for configuration map. | |
| using | stats_map = std::unordered_map<std::string, double> |
| Type alias for statistics map. | |
| using | tag_map = std::unordered_map<std::string, std::string> |
| Type alias for metric tags/labels. | |
| using | collector_factory_fn = std::function<std::unique_ptr<collector_interface>()> |
| Factory function type for creating collectors. | |
| using | plugin_factory_fn = std::unique_ptr<collector_plugin> (*)() |
| Type alias for plugin factory function. | |
| using | circuit_state = common::resilience::circuit_state |
| using | circuit_breaker_config = common::resilience::circuit_breaker_config |
| using | circuit_breaker = common::resilience::circuit_breaker |
| using | aggregation_result_stream = stream_aggregation_result |
Functions | |
| std::shared_ptr< common::interfaces::IMonitor > | make_monitor_adapter (std::shared_ptr< performance_monitor > monitor) |
| Factory function to create performance_monitor_adapter. | |
| adaptive_monitor & | global_adaptive_monitor () |
| Global adaptive monitor instance. | |
| constexpr const char * | comparison_operator_to_string (comparison_operator op) noexcept |
| Convert comparison operator to string. | |
| constexpr const char * | alert_severity_to_string (alert_severity severity) noexcept |
| Convert alert severity to string. | |
| constexpr const char * | alert_state_to_string (alert_state state) noexcept |
| Convert alert state to string. | |
| std::string | battery_status_to_string (battery_status status) |
| Convert battery_status to string representation. | |
| std::string | gpu_vendor_to_string (gpu_vendor vendor) |
| Convert gpu_vendor to string representation. | |
| std::string | gpu_type_to_string (gpu_type type) |
| Convert gpu_type to string representation. | |
| std::string | tcp_state_to_string (tcp_state state) |
| Convert tcp_state to string representation. | |
| std::string | power_source_type_to_string (power_source_type type) |
| Convert power_source_type to string representation. | |
| std::string | security_event_type_to_string (security_event_type type) |
| Convert security_event_type to string representation. | |
| std::string | sensor_type_to_string (sensor_type type) |
| Convert sensor_type to string representation. | |
| std::string | vm_type_to_string (vm_type type) |
| Convert vm_type to string representation. | |
| std::string | error_code_to_string (monitoring_error_code code) |
| Convert error code to string representation. | |
| std::string | get_error_details (monitoring_error_code code) |
| Get detailed error message. | |
| performance_monitor & | global_performance_monitor () |
| Global performance monitor instance. | |
| std::unique_ptr< grpc_transport > | create_default_grpc_transport () |
| Create default gRPC transport. | |
| std::unique_ptr< stub_grpc_transport > | create_stub_grpc_transport () |
| Create stub gRPC transport for testing. | |
| std::unique_ptr< http_transport > | create_default_transport () |
| Create default HTTP transport. | |
| std::unique_ptr< stub_http_transport > | create_stub_transport () |
| Create stub HTTP transport for testing. | |
| std::unique_ptr< prometheus_exporter > | create_prometheus_exporter (std::uint16_t port=9090, const std::string &job_name="monitoring_system") |
| Helper function to create a Prometheus exporter. | |
| std::unique_ptr< statsd_exporter > | create_statsd_exporter (const std::string &host="localhost", std::uint16_t port=8125, bool datadog_format=false) |
| Helper function to create a StatsD exporter. | |
| std::unique_ptr< otlp_metrics_exporter > | create_otlp_metrics_exporter (const std::string &endpoint, const otel_resource &resource, metric_export_format format=metric_export_format::otlp_grpc) |
| Helper function to create an OTLP metrics exporter. | |
| otel_resource | create_service_resource (const std::string &service_name, const std::string &service_version="1.0.0", const std::string &service_namespace="") |
| Create OpenTelemetry resource with service information. | |
| std::unique_ptr< opentelemetry_compatibility_layer > | create_opentelemetry_compatibility_layer (const otel_resource &resource) |
| Create OpenTelemetry compatibility layer. | |
| std::unique_ptr< opentelemetry_compatibility_layer > | create_opentelemetry_compatibility_layer (const std::string &service_name, const std::string &service_version="1.0.0") |
| Create OpenTelemetry compatibility layer with service resource. | |
| std::unique_ptr< otlp_grpc_exporter > | create_otlp_grpc_exporter (const std::string &endpoint="localhost:4317") |
| Create OTLP gRPC exporter with default configuration. | |
| std::unique_ptr< otlp_grpc_exporter > | create_otlp_grpc_exporter (const otlp_grpc_config &config) |
| Create OTLP gRPC exporter with custom configuration. | |
| std::unique_ptr< jaeger_exporter > | create_jaeger_exporter (const std::string &endpoint, trace_export_format format=trace_export_format::jaeger_grpc) |
| Helper function to create a Jaeger exporter. | |
| std::unique_ptr< zipkin_exporter > | create_zipkin_exporter (const std::string &endpoint, trace_export_format format=trace_export_format::zipkin_json) |
| Helper function to create a Zipkin exporter. | |
| std::unique_ptr< otlp_exporter > | create_otlp_exporter (const std::string &endpoint, const otel_resource &resource, trace_export_format format=trace_export_format::otlp_grpc) |
| Helper function to create an OTLP exporter. | |
| std::unique_ptr< udp_transport > | create_default_udp_transport () |
| Create default UDP transport. | |
| std::unique_ptr< stub_udp_transport > | create_stub_udp_transport () |
| Create stub UDP transport for testing. | |
| bool | register_builtin_collectors () |
| Register all built-in collectors with the collector_registry. | |
| std::vector< std::string > | get_builtin_collector_names () |
| Get list of all built-in collector names. | |
| template<typename T > | |
| bool | register_plugin_collector (const std::string &name) |
| Helper function to register a plugin-based collector. | |
| template<typename T > | |
| bool | register_crtp_collector (const std::string &name) |
| Helper function to register a CRTP-based collector. | |
| template<typename T > | |
| bool | register_standalone_collector (const std::string &name) |
| Helper function to register a standalone collector. | |
| health_monitor & | global_health_monitor () |
| Get the global health monitor singleton instance. | |
| template<typename T > | |
| std::unique_ptr< lockfree_queue< T > > | make_lockfree_queue () |
| Create a lock-free queue with default configuration. | |
| template<typename T > | |
| std::unique_ptr< lockfree_queue< T > > | make_lockfree_queue (const lockfree_queue_config &config) |
| Create a lock-free queue with configuration. | |
| std::vector< lockfree_queue_config > | create_default_queue_configs () |
| Create default queue configurations for different use cases. | |
| std::unique_ptr< memory_pool > | make_memory_pool () |
| Create a memory pool with default configuration. | |
| std::unique_ptr< memory_pool > | make_memory_pool (const memory_pool_config &config) |
| Create a memory pool with configuration. | |
| std::vector< memory_pool_config > | create_default_pool_configs () |
| Create default pool configurations for different use cases. | |
| std::unique_ptr< simd_aggregator > | make_simd_aggregator () |
| Create a SIMD aggregator with default configuration. | |
| std::unique_ptr< simd_aggregator > | make_simd_aggregator (const simd_config &config) |
| Create a SIMD aggregator with configuration. | |
| std::vector< simd_config > | create_default_simd_configs () |
| Create default SIMD configurations for different use cases. | |
| auto | to_string (plugin_load_error error) -> std::string |
| Convert plugin_load_error to string. | |
| std::shared_ptr< transaction_manager > | create_transaction_manager (const std::string &name) |
| Factory function to create a transaction manager. | |
| std::shared_ptr< state_validator > | create_state_validator (const std::string &name) |
| Factory function to create a state validator. | |
| std::shared_ptr< data_consistency_manager > | create_data_consistency_manager (const std::string &name) |
| Factory function to create a data consistency manager. | |
| template<typename T , typename Func > | |
| common::Result< T > | execute_with_circuit_breaker (circuit_breaker &cb, const std::string &name, Func &&func) |
| Execute an operation through a circuit breaker. | |
| circuit_breaker_registry & | global_circuit_breaker_registry () |
| Get global circuit breaker registry. | |
| retry_executor_registry & | global_retry_executor_registry () |
| Get global retry executor registry. | |
| fault_tolerance_registry & | global_fault_tolerance_registry () |
| Get global fault tolerance manager registry. | |
| error_boundary_registry & | global_error_boundary_registry () |
| Get global error boundary registry. | |
| std::shared_ptr< graceful_degradation_manager > | create_degradation_manager (const std::string &name) |
| Create a graceful degradation manager. | |
| service_config | create_service_config (const std::string &name, service_priority priority) |
| Create a service configuration. | |
| degradation_plan | create_degradation_plan (const std::string &name, const std::vector< std::string > &maintain, const std::vector< std::string > &disable, degradation_level level) |
| Create a degradation plan. | |
| template<typename T > | |
| std::shared_ptr< degradable_service< T > > | create_degradable_service (const std::string &name, std::shared_ptr< graceful_degradation_manager > manager, typename degradable_service< T >::normal_operation normal_op, typename degradable_service< T >::degraded_operation degraded_op) |
| Create a degradable service. | |
| std::unique_ptr< token_bucket_limiter > | create_token_bucket_limiter (const std::string &name, double rate, size_t capacity, throttling_strategy strategy=throttling_strategy::reject) |
| Create a token bucket rate limiter. | |
| std::unique_ptr< leaky_bucket_limiter > | create_leaky_bucket_limiter (const std::string &name, double rate, size_t capacity) |
| Create a leaky bucket rate limiter. | |
| std::unique_ptr< memory_quota_manager > | create_memory_quota_manager (const std::string &name, size_t max_bytes, throttling_strategy strategy=throttling_strategy::reject) |
| Create a memory quota manager. | |
| std::unique_ptr< resource_manager > | create_resource_manager (const std::string &name) |
| Create a resource manager. | |
| retry_config | create_exponential_backoff_config (size_t max_attempts=3, std::chrono::milliseconds initial_delay=std::chrono::milliseconds(1000)) |
| Factory function for exponential backoff config. | |
| retry_config | create_fixed_delay_config (size_t max_attempts=3, std::chrono::milliseconds delay=std::chrono::milliseconds(1000)) |
| Factory function for fixed delay config. | |
| retry_config | create_fibonacci_backoff_config (size_t max_attempts=3, std::chrono::milliseconds initial_delay=std::chrono::milliseconds(1000)) |
| Factory function for Fibonacci backoff config. | |
| std::unique_ptr< snapshot_storage_backend > | create_file_storage (const std::string &path, storage_backend_type type, size_t capacity) |
| Create a file storage backend. | |
| std::unique_ptr< snapshot_storage_backend > | create_database_storage (storage_backend_type type, const std::string &path, const std::string &table) |
| Create a database storage backend. | |
| std::unique_ptr< snapshot_storage_backend > | create_cloud_storage (storage_backend_type type, const std::string &bucket) |
| Create a cloud storage backend. | |
| distributed_tracer & | global_tracer () |
| Global tracer instance. | |
| std::vector< aggregation_rule > | create_standard_aggregation_rules () |
| Create standard aggregation rules for common metrics. | |
| constexpr const char * | metric_type_to_string (metric_type type) noexcept |
| Convert metric type to string. | |
| uint32_t | hash_metric_name (const std::string &name) noexcept |
| Hash function for metric names. | |
| metric_metadata | create_metric_metadata (const std::string &name, metric_type type, size_t tag_count=0) |
| Create metric metadata from name and type. | |
| template<typename T > | |
| std::unique_ptr< ring_buffer< T > > | make_ring_buffer (size_t capacity=8192) |
| Helper function to create a ring buffer with default configuration. | |
| template<typename T > | |
| std::unique_ptr< ring_buffer< T > > | make_ring_buffer (const ring_buffer_config &config) |
| Helper function to create a ring buffer with custom configuration. | |
| double | pearson_correlation (const std::vector< double > &x, const std::vector< double > &y) |
| Calculate Pearson correlation coefficient. | |
| alert | create_sample_alert (const std::string &name, alert_severity severity, alert_state state, double value, const std::string &team="ops") |
Definition at line 78 of file aggregation_processor.h.
| using kcenon::monitoring::circuit_breaker = common::resilience::circuit_breaker |
Definition at line 26 of file circuit_breaker.h.
| using kcenon::monitoring::circuit_breaker_config = common::resilience::circuit_breaker_config |
Definition at line 25 of file circuit_breaker.h.
| using kcenon::monitoring::circuit_state = common::resilience::circuit_state |
Definition at line 24 of file circuit_breaker.h.
| using kcenon::monitoring::collector_factory_fn = std::function<std::unique_ptr<collector_interface>()> |
Factory function type for creating collectors.
Definition at line 103 of file metric_factory.h.
| typedef std::unordered_map< std::string, std::string > kcenon::monitoring::config_map = std::unordered_map<std::string, std::string> |
Type alias for configuration map.
Definition at line 63 of file collector_base.h.
Definition at line 21 of file logger_adapters.h.
| using kcenon::monitoring::plugin_factory_fn = std::unique_ptr<collector_plugin> (*)() |
Type alias for plugin factory function.
Factories enable lazy instantiation and dynamic loading. Signature: unique_ptr<collector_plugin>(void)
Definition at line 256 of file collector_plugin.h.
| using kcenon::monitoring::stats_map = std::unordered_map<std::string, double> |
Type alias for statistics map.
Definition at line 68 of file collector_base.h.
| using kcenon::monitoring::tag_map = std::unordered_map<std::string, std::string> |
Type alias for metric tags/labels.
Tags are key-value pairs that add dimensions to metrics, enabling filtering and aggregation by service, endpoint, host, etc.
Definition at line 46 of file performance_monitor.h.
Definition at line 21 of file thread_adapters.h.
|
strong |
Adaptation strategy for monitoring behavior.
| Enumerator | |
|---|---|
| conservative | |
| balanced | |
| aggressive | |
Definition at line 40 of file adaptive_monitor.h.
|
strong |
Severity levels for alerts.
Defines the urgency and importance of alerts, affecting routing and notification behavior.
Definition at line 35 of file alert_types.h.
|
strong |
State machine states for alert lifecycle.
State machine: inactive ─[condition met]─> pending pending ─[for_duration elapsed]─> firing firing ─[condition cleared]─> resolved resolved ─[condition met]─> pending any state ─[silenced]─> suppressed suppressed ─[silence expired]─> previous state
Definition at line 69 of file alert_types.h.
|
strong |
Current battery charging status.
| Enumerator | |
|---|---|
| unknown | Unknown status. |
| charging | Battery is charging. |
| discharging | Battery is discharging. |
| not_charging | Battery is not charging (plugged in but not charging) |
| full | Battery is fully charged. |
Definition at line 37 of file battery_collector.h.
|
strong |
Cgroup version detection
| Enumerator | |
|---|---|
| none | Not in a cgroup or not Linux. |
| v1 | Legacy cgroups v1. |
| v2 | Unified cgroups v2 hierarchy. |
Definition at line 79 of file container_collector.h.
|
strong |
Comparison operators for threshold triggers.
Definition at line 32 of file alert_triggers.h.
|
strong |
|
strong |
|
strong |
|
strong |
|
strong |
|
strong |
GPU type classification.
| Enumerator | |
|---|---|
| unknown | Unknown GPU type. |
| discrete | Discrete GPU (dedicated graphics card) |
| integrated | Integrated GPU (part of CPU/SoC) |
| virtual_gpu | Virtual GPU (cloud/VM) |
Definition at line 70 of file gpu_collector.h.
|
strong |
GPU vendor identification.
| Enumerator | |
|---|---|
| unknown | Unknown vendor. |
| nvidia | NVIDIA Corporation. |
| amd | Advanced Micro Devices. |
| intel | Intel Corporation. |
| apple | Apple (Apple Silicon GPU) |
| other | Other vendor. |
Definition at line 37 of file gpu_collector.h.
|
strong |
Types of health checks following Kubernetes probe conventions.
Definition at line 69 of file health_monitor.h.
|
strong |
|
strong |
System load levels.
| Enumerator | |
|---|---|
| idle | |
| low | |
| moderate | |
| high | |
| critical | |
Definition at line 49 of file adaptive_monitor.h.
|
strong |
Supported metric export formats.
Definition at line 50 of file metric_exporters.h.
|
strong |
Metric types supported by exporters.
Types of metrics supported by the system.
Definition at line 64 of file metric_exporters.h.
|
strong |
Definition at line 50 of file metric_types.h.
|
strong |
Comprehensive error codes for monitoring system operations.
Definition at line 25 of file error_codes.h.
|
strong |
OpenTelemetry resource types.
| Enumerator | |
|---|---|
| service | |
| service_instance | |
| host | |
| container | |
| process | |
| runtime | |
| telemetry_sdk | |
| custom | |
Definition at line 36 of file opentelemetry_adapter.h.
|
strong |
OpenTelemetry span kinds.
| Enumerator | |
|---|---|
| unspecified | |
| internal | |
| server | |
| client | |
| producer | |
| consumer | |
Definition at line 51 of file opentelemetry_adapter.h.
|
strong |
OpenTelemetry status codes.
| Enumerator | |
|---|---|
| unset | |
| ok | |
| error | |
Definition at line 64 of file opentelemetry_adapter.h.
|
strong |
Categorization of collector plugins.
Categories help organize plugins by their data source type, enabling selective loading and filtering.
Definition at line 69 of file collector_plugin.h.
|
strong |
Error codes for plugin loading operations.
| Enumerator | |
|---|---|
| none | |
| file_not_found | |
| library_load_failed | |
| symbol_not_found | |
| incompatible_api_version | |
| create_function_failed | |
| plugin_unavailable | |
| already_loaded | |
| not_loaded | |
| invalid_metadata | |
Definition at line 52 of file plugin_loader.h.
|
strong |
Type of power source.
Definition at line 38 of file power_collector.h.
|
strong |
Types of recorded metrics.
| Enumerator | |
|---|---|
| counter | Monotonically increasing counter. |
| gauge | Instantaneous value that can go up and down. |
| histogram | Distribution of values with buckets. |
Definition at line 52 of file performance_monitor.h.
|
strong |
Type of resource being managed.
| Enumerator | |
|---|---|
| memory | Memory resource. |
| cpu | CPU resource. |
Definition at line 40 of file resource_manager.h.
|
strong |
Retry strategies.
| Enumerator | |
|---|---|
| fixed_delay | |
| exponential_backoff | |
| linear_backoff | |
| fibonacci_backoff | |
Definition at line 27 of file retry_policy.h.
|
strong |
Types of security events tracked.
Definition at line 40 of file security_collector.h.
|
strong |
Type of temperature sensor.
Definition at line 37 of file temperature_collector.h.
|
strong |
|
strong |
Storage backend types.
| Enumerator | |
|---|---|
| memory_buffer | |
| file_json | |
| file_binary | |
| file_csv | |
| database_sqlite | |
| database_postgresql | |
| database_mysql | |
| cloud_s3 | |
| cloud_gcs | |
| cloud_azure_blob | |
Definition at line 30 of file storage_backends.h.
|
strong |
TCP connection states as defined in RFC 793.
Definition at line 44 of file network_metrics_collector.h.
|
strong |
Strategy for handling resource exhaustion.
| Enumerator | |
|---|---|
| reject | Reject requests immediately when limit exceeded. |
| delay | Delay requests until resources are available. |
Definition at line 32 of file resource_manager.h.
|
strong |
Supported trace export formats.
Definition at line 47 of file trace_exporters.h.
|
strong |
Transaction states.
| Enumerator | |
|---|---|
| active | |
| committed | |
| aborted | |
Definition at line 32 of file data_consistency.h.
|
strong |
Validation result states.
| Enumerator | |
|---|---|
| valid | |
| invalid | |
Definition at line 41 of file data_consistency.h.
|
strong |
Detected virtualization platform.
Definition at line 35 of file vm_collector.h.
|
constexprnoexcept |
Convert alert severity to string.
| severity | The severity level |
Definition at line 47 of file alert_types.h.
References critical, emergency, info, and warning.
Referenced by kcenon::monitoring::json_alert_formatter::format(), kcenon::monitoring::text_alert_formatter::format(), kcenon::monitoring::json_alert_formatter::format_group(), kcenon::monitoring::text_alert_formatter::format_group(), main(), kcenon::monitoring::console_color_notifier::notify(), print_alert_state(), kcenon::monitoring::statistics_notifier::print_statistics(), kcenon::monitoring::alert_template::render(), and TEST().

|
constexprnoexcept |
Convert alert state to string.
| state | The alert state |
Definition at line 82 of file alert_types.h.
References firing, inactive, pending, resolved, and suppressed.
Referenced by kcenon::monitoring::json_alert_formatter::format(), kcenon::monitoring::text_alert_formatter::format(), kcenon::monitoring::text_alert_formatter::format_group(), main(), kcenon::monitoring::console_color_notifier::notify(), print_alert_state(), kcenon::monitoring::statistics_notifier::print_statistics(), kcenon::monitoring::alert_template::render(), and TEST().

|
inline |
Convert battery_status to string representation.
Definition at line 48 of file battery_collector.h.
References charging, discharging, full, and not_charging.
|
constexprnoexcept |
Convert comparison operator to string.
Definition at line 44 of file alert_triggers.h.
References equal, greater_or_equal, greater_than, less_or_equal, less_than, and not_equal.
Referenced by kcenon::monitoring::threshold_trigger::description(), and TEST().

|
inline |
Create a cloud storage backend.
| type | Cloud type (cloud_s3, cloud_gcs, cloud_azure_blob) |
| bucket | Bucket or container name |
Definition at line 536 of file storage_backends.h.
References kcenon::monitoring::storage_backend_factory::create_backend(), kcenon::monitoring::storage_config::max_capacity, kcenon::monitoring::storage_config::path, and kcenon::monitoring::storage_config::type.
Referenced by TEST_F().


|
inline |
Factory function to create a data consistency manager.
Definition at line 597 of file data_consistency.h.
Referenced by TEST_F().

|
inline |
Create a database storage backend.
| type | Database type (database_sqlite, database_postgresql, database_mysql) |
| path | Database path or connection string |
| table | Table name |
Definition at line 516 of file storage_backends.h.
References kcenon::monitoring::storage_backend_factory::create_backend(), kcenon::monitoring::storage_config::max_capacity, kcenon::monitoring::storage_config::path, kcenon::monitoring::storage_config::table_name, and kcenon::monitoring::storage_config::type.
Referenced by TEST_F().


|
inline |
Create default gRPC transport.
Returns a real gRPC transport if available, otherwise falls back to a stub implementation.
Definition at line 590 of file grpc_transport.h.
Referenced by TEST().

|
inline |
Create default pool configurations for different use cases.
Definition at line 458 of file memory_pool.h.
Referenced by TEST_F().

|
inline |
Create default queue configurations for different use cases.
Definition at line 337 of file lockfree_queue.h.
Referenced by TEST_F().

|
inline |
Create default SIMD configurations for different use cases.
Definition at line 690 of file simd_aggregator.h.
Referenced by TEST_F().

|
inline |
Create default HTTP transport.
Returns a network_system-based transport if available, otherwise falls back to a stub implementation.
Definition at line 319 of file http_transport.h.
|
inline |
Create default UDP transport.
Returns a network_system-based transport if available, common_system transport if available, otherwise falls back to a stub implementation.
Definition at line 466 of file udp_transport.h.
Referenced by TEST().

| std::shared_ptr< degradable_service< T > > kcenon::monitoring::create_degradable_service | ( | const std::string & | name, |
| std::shared_ptr< graceful_degradation_manager > | manager, | ||
| typename degradable_service< T >::normal_operation | normal_op, | ||
| typename degradable_service< T >::degraded_operation | degraded_op ) |
Create a degradable service.
Definition at line 488 of file graceful_degradation.h.
Referenced by TEST_F().

|
inline |
Create a graceful degradation manager.
Definition at line 455 of file graceful_degradation.h.
Referenced by TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), and TEST_F().

|
inline |
Create a degradation plan.
Definition at line 472 of file graceful_degradation.h.
References kcenon::monitoring::degradation_plan::name, kcenon::monitoring::degradation_plan::services_to_disable, kcenon::monitoring::degradation_plan::services_to_maintain, and kcenon::monitoring::degradation_plan::target_level.
Referenced by TEST_F().

|
inline |
Factory function for exponential backoff config.
| max_attempts | Maximum retry attempts |
| initial_delay | Initial delay between retries |
Definition at line 83 of file retry_policy.h.
References kcenon::monitoring::retry_config::backoff_multiplier, exponential_backoff, kcenon::monitoring::retry_config::initial_delay, kcenon::monitoring::retry_config::max_attempts, and kcenon::monitoring::retry_config::strategy.
Referenced by TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), and TEST_F().

|
inline |
Factory function for Fibonacci backoff config.
| max_attempts | Maximum retry attempts |
| initial_delay | Base delay for Fibonacci sequence |
Definition at line 116 of file retry_policy.h.
References fibonacci_backoff, kcenon::monitoring::retry_config::initial_delay, kcenon::monitoring::retry_config::max_attempts, and kcenon::monitoring::retry_config::strategy.
Referenced by TEST_F().

|
inline |
Create a file storage backend.
| path | File path |
| type | Storage type (file_json, file_binary, file_csv) |
| capacity | Maximum capacity |
Definition at line 496 of file storage_backends.h.
References kcenon::monitoring::storage_backend_factory::create_backend(), kcenon::monitoring::storage_config::max_capacity, kcenon::monitoring::storage_config::path, and kcenon::monitoring::storage_config::type.
Referenced by TEST_F().


|
inline |
Factory function for fixed delay config.
| max_attempts | Maximum retry attempts |
| delay | Fixed delay between retries |
Definition at line 100 of file retry_policy.h.
References delay, fixed_delay, kcenon::monitoring::retry_config::initial_delay, kcenon::monitoring::retry_config::max_attempts, and kcenon::monitoring::retry_config::strategy.
Referenced by TEST_F().

|
inline |
Helper function to create a Jaeger exporter.
Definition at line 806 of file trace_exporters.h.
References kcenon::monitoring::trace_export_config::endpoint, and kcenon::monitoring::trace_export_config::format.
Referenced by TEST_F().

|
inline |
Create a leaky bucket rate limiter.
Definition at line 614 of file resource_manager.h.
Referenced by TEST_F(), and TEST_F().

|
inline |
|
inline |
Create metric metadata from name and type.
Definition at line 616 of file metric_types.h.
References hash_metric_name().
Referenced by demonstrate_metric_batch(), demonstrate_metric_metadata(), kcenon::monitoring::metric_storage::store_metric(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), and TEST_F().


|
inline |
Create OpenTelemetry compatibility layer.
Definition at line 553 of file opentelemetry_adapter.h.
Referenced by create_opentelemetry_compatibility_layer(), OpenTelemetryAdapterTest::SetUp(), TEST_F(), TEST_F(), and TEST_F().

|
inline |
Create OpenTelemetry compatibility layer with service resource.
Definition at line 561 of file opentelemetry_adapter.h.
References create_opentelemetry_compatibility_layer(), and create_service_resource().

|
inline |
Helper function to create an OTLP exporter.
Definition at line 832 of file trace_exporters.h.
References kcenon::monitoring::trace_export_config::endpoint, and kcenon::monitoring::trace_export_config::format.
Referenced by TEST_F().

|
inline |
Create OTLP gRPC exporter with custom configuration.
| config | Exporter configuration |
Definition at line 647 of file otlp_grpc_exporter.h.
|
inline |
Create OTLP gRPC exporter with default configuration.
| endpoint | OTLP receiver endpoint |
Definition at line 634 of file otlp_grpc_exporter.h.
References kcenon::monitoring::otlp_grpc_config::endpoint.
Referenced by demonstrate_batch_export(), demonstrate_otlp_export(), and TEST_F().

|
inline |
Helper function to create an OTLP metrics exporter.
Definition at line 1176 of file metric_exporters.h.
References kcenon::monitoring::metric_export_config::endpoint, and kcenon::monitoring::metric_export_config::format.
Referenced by TEST_F().

|
inline |
Helper function to create a Prometheus exporter.
Definition at line 1147 of file metric_exporters.h.
References kcenon::monitoring::metric_export_config::format, kcenon::monitoring::metric_export_config::job_name, kcenon::monitoring::metric_export_config::port, and prometheus_text.
Referenced by TEST_F().

|
inline |
| alert kcenon::monitoring::create_sample_alert | ( | const std::string & | name, |
| alert_severity | severity, | ||
| alert_state | state, | ||
| double | value, | ||
| const std::string & | team = "ops" ) |
Definition at line 40 of file alert_notifiers_example.cpp.
References kcenon::monitoring::alert::annotations, kcenon::monitoring::alert_annotations::description, kcenon::monitoring::alert::labels, kcenon::monitoring::alert::name, kcenon::monitoring::alert::rule_name, kcenon::monitoring::alert_labels::set(), kcenon::monitoring::alert::severity, kcenon::monitoring::alert::state, kcenon::monitoring::alert_annotations::summary, and kcenon::monitoring::alert::value.
Referenced by main().


|
inline |
Create a service configuration.
Definition at line 462 of file graceful_degradation.h.
References kcenon::monitoring::service_config::name, and kcenon::monitoring::service_config::priority.
Referenced by TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), and TEST_F().

|
inline |
Create OpenTelemetry resource with service information.
Definition at line 532 of file opentelemetry_adapter.h.
References kcenon::monitoring::otel_resource::add_attribute(), service, and kcenon::monitoring::otel_resource::type.
Referenced by create_opentelemetry_compatibility_layer(), MetricExportersTest::SetUp(), OpenTelemetryAdapterTest::SetUp(), TraceExportersTest::SetUp(), and TEST_F().


|
inline |
Create standard aggregation rules for common metrics.
Definition at line 308 of file aggregation_processor.h.
References kcenon::monitoring::aggregation_rule::aggregation_interval, kcenon::monitoring::aggregation_rule::compute_rate, kcenon::monitoring::aggregation_rule::detect_outliers, kcenon::monitoring::aggregation_rule::outlier_threshold, kcenon::monitoring::aggregation_rule::percentiles, kcenon::monitoring::aggregation_rule::source_metric, and kcenon::monitoring::aggregation_rule::target_metric_prefix.
Referenced by TEST_F().

|
inline |
Factory function to create a state validator.
Definition at line 589 of file data_consistency.h.
Referenced by TEST_F().

|
inline |
Helper function to create a StatsD exporter.
Definition at line 1161 of file metric_exporters.h.
References kcenon::monitoring::metric_export_config::endpoint, kcenon::monitoring::metric_export_config::format, host, kcenon::monitoring::metric_export_config::port, statsd_datadog, and statsd_plain.
Referenced by TEST_F().

|
inline |
Create stub gRPC transport for testing.
Definition at line 601 of file grpc_transport.h.
Referenced by TEST(), TEST(), TEST(), TEST(), TEST(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), and TEST_F().

|
inline |
Create stub HTTP transport for testing.
Definition at line 330 of file http_transport.h.
Referenced by TEST(), TEST_F(), and TEST_F().

|
inline |
|
inline |
|
inline |
Factory function to create a transaction manager.
Definition at line 581 of file data_consistency.h.
Referenced by TEST_F().

|
inline |
Helper function to create a Zipkin exporter.
Definition at line 819 of file trace_exporters.h.
References kcenon::monitoring::trace_export_config::endpoint, and kcenon::monitoring::trace_export_config::format.
Referenced by TEST_F().

|
inline |
Convert error code to string representation.
| code | The error code to convert |
Definition at line 128 of file error_codes.h.
References adapter_initialization_failed, aggregation_failed, already_exists, already_started, bandwidth_exceeded, circuit_breaker_half_open, circuit_breaker_open, collection_failed, collector_already_exists, collector_disabled, collector_initialization_failed, collector_not_found, compression_failed, configuration_not_found, configuration_parse_error, cpu_throttled, data_corrupted, deadlock_detected, dependency_missing, error_boundary_triggered, fallback_failed, health_check_failed, health_check_not_registered, health_check_timeout, incompatible_version, invalid_argument, invalid_capacity, invalid_collector_config, invalid_configuration, invalid_interval, invalid_metric_type, invalid_state, logger_system_not_available, memory_allocation_failed, memory_quota_exceeded, metric_not_found, metric_overflow, monitoring_disabled, network_error, not_found, operation_cancelled, operation_failed, operation_timeout, out_of_memory, permission_denied, quota_exceeded, rate_limit_exceeded, recovery_failed, resource_exhausted, resource_unavailable, retry_attempts_exhausted, rollback_failed, service_degraded, service_unavailable, state_inconsistent, storage_corrupted, storage_empty, storage_full, storage_not_initialized, storage_read_failed, storage_write_failed, success, system_resource_unavailable, thread_system_not_available, transaction_aborted, transaction_failed, transaction_timeout, unknown_error, and validation_failed.
Referenced by get_error_details(), TEST_F(), and kcenon::monitoring::error_info::to_string().

| common::Result< T > kcenon::monitoring::execute_with_circuit_breaker | ( | circuit_breaker & | cb, |
| const std::string & | name, | ||
| Func && | func ) |
Execute an operation through a circuit breaker.
Wraps the allow_request/record_success/record_failure pattern into a functional execute() call for convenience.
| T | The return value type |
| Func | The function type (must return common::Result<T>) |
| cb | The circuit breaker instance |
| name | The circuit breaker name (for error messages) |
| func | The function to execute |
Definition at line 82 of file fault_tolerance_manager.h.
References circuit_breaker_open.
Referenced by demonstrate_circuit_breaker(), demonstrate_combined_patterns(), kcenon::monitoring::fault_tolerance_manager< T >::execute_circuit_breaker_first(), kcenon::monitoring::fault_tolerance_manager< T >::execute_retry_first(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), and TEST_F().

|
inline |
Get list of all built-in collector names.
Definition at line 105 of file builtin_collectors.h.
|
inline |
Get detailed error message.
| code | The error code |
Definition at line 301 of file error_codes.h.
References bandwidth_exceeded, circuit_breaker_open, collector_not_found, cpu_throttled, data_corrupted, deadlock_detected, error_boundary_triggered, error_code_to_string(), fallback_failed, invalid_configuration, memory_quota_exceeded, operation_failed, quota_exceeded, rate_limit_exceeded, resource_unavailable, retry_attempts_exhausted, rollback_failed, service_degraded, state_inconsistent, storage_full, thread_system_not_available, transaction_aborted, transaction_failed, transaction_timeout, and validation_failed.

| adaptive_monitor & kcenon::monitoring::global_adaptive_monitor | ( | ) |
|
inline |
Get global circuit breaker registry.
Definition at line 406 of file fault_tolerance_manager.h.
Referenced by FaultToleranceTest::TearDown(), and TEST_F().

|
inline |
Get global error boundary registry.
Definition at line 447 of file graceful_degradation.h.
Referenced by ErrorBoundariesTest::TearDown(), and TEST_F().

|
inline |
Get global fault tolerance manager registry.
Definition at line 422 of file fault_tolerance_manager.h.
Referenced by FaultToleranceTest::TearDown(), and TEST_F().

|
inline |
Get the global health monitor singleton instance.
Definition at line 1019 of file health_monitor.h.
Referenced by TEST_F(), TEST_F(), and TEST_F().

| performance_monitor & kcenon::monitoring::global_performance_monitor | ( | ) |
Global performance monitor instance.
Referenced by TEST_F().

|
inline |
Get global retry executor registry.
Definition at line 414 of file fault_tolerance_manager.h.
Referenced by FaultToleranceTest::TearDown(), and TEST_F().

| distributed_tracer & kcenon::monitoring::global_tracer | ( | ) |
|
inline |
Convert gpu_type to string representation.
Definition at line 80 of file gpu_collector.h.
References discrete, integrated, and virtual_gpu.
|
inline |
Convert gpu_vendor to string representation.
Definition at line 49 of file gpu_collector.h.
|
inlinenoexcept |
Hash function for metric names.
Definition at line 603 of file metric_types.h.
Referenced by create_metric_metadata(), and kcenon::monitoring::metric_storage::get_or_create_series().

| std::unique_ptr< lockfree_queue< T > > kcenon::monitoring::make_lockfree_queue | ( | ) |
Create a lock-free queue with default configuration.
| T | The element type |
Definition at line 318 of file lockfree_queue.h.
Referenced by TEST_F(), and TEST_F().

| std::unique_ptr< lockfree_queue< T > > kcenon::monitoring::make_lockfree_queue | ( | const lockfree_queue_config & | config | ) |
Create a lock-free queue with configuration.
| T | The element type |
| config | Queue configuration |
Definition at line 329 of file lockfree_queue.h.
|
inline |
Create a memory pool with default configuration.
Definition at line 441 of file memory_pool.h.
Referenced by TEST_F().

|
inline |
Create a memory pool with configuration.
| config | Pool configuration |
Definition at line 450 of file memory_pool.h.
|
inline |
Factory function to create performance_monitor_adapter.
| monitor | The performance_monitor to wrap |
Definition at line 225 of file performance_monitor_adapter.h.
| std::unique_ptr< ring_buffer< T > > kcenon::monitoring::make_ring_buffer | ( | const ring_buffer_config & | config | ) |
Helper function to create a ring buffer with custom configuration.
Definition at line 489 of file ring_buffer.h.
| std::unique_ptr< ring_buffer< T > > kcenon::monitoring::make_ring_buffer | ( | size_t | capacity = 8192 | ) |
Helper function to create a ring buffer with default configuration.
Definition at line 479 of file ring_buffer.h.
References kcenon::monitoring::ring_buffer_config::capacity.
|
inline |
Create a SIMD aggregator with default configuration.
Definition at line 673 of file simd_aggregator.h.
Referenced by TEST_F().

|
inline |
Create a SIMD aggregator with configuration.
| config | Aggregator configuration |
Definition at line 682 of file simd_aggregator.h.
|
constexprnoexcept |
Convert metric type to string.
Definition at line 62 of file metric_types.h.
References counter, gauge, histogram, set, summary, and timer.
Referenced by demonstrate_metric_metadata().

|
inline |
Calculate Pearson correlation coefficient.
| x | First data series |
| y | Second data series |
Definition at line 660 of file stream_aggregator.h.
Referenced by TEST_F().

|
inline |
Convert power_source_type to string representation.
Definition at line 55 of file power_collector.h.
References ac, battery, cpu, gpu, memory, other, package, platform, usb, and wireless.
|
inline |
Register all built-in collectors with the collector_registry.
This function registers the following collectors:
Plugin-based collectors (using collector_plugin interface) are registered with the collector_registry using factory-based lazy loading, enabling runtime enable/disable and plugin management.
All collectors are also registered with metric_factory for backward compatibility.
Call this function once at application startup before using the registry.
Definition at line 70 of file builtin_collectors.h.
References kcenon::monitoring::collector_registry::instance(), register_plugin_collector(), and register_standalone_collector().
Referenced by TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), and TEST_F().


| bool kcenon::monitoring::register_crtp_collector | ( | const std::string & | name | ) |
Helper function to register a CRTP-based collector.
| T | The collector type |
| name | The collector name |
Definition at line 147 of file collector_adapters.h.
References kcenon::monitoring::metric_factory::instance(), and kcenon::monitoring::metric_factory::register_collector().

| bool kcenon::monitoring::register_plugin_collector | ( | const std::string & | name | ) |
Helper function to register a plugin-based collector.
| T | The collector type |
| name | The collector name |
Definition at line 134 of file collector_adapters.h.
References kcenon::monitoring::metric_factory::instance(), and kcenon::monitoring::metric_factory::register_collector().
Referenced by register_builtin_collectors().


| bool kcenon::monitoring::register_standalone_collector | ( | const std::string & | name | ) |
Helper function to register a standalone collector.
| T | The collector type |
| name | The collector name |
Definition at line 160 of file collector_adapters.h.
References kcenon::monitoring::metric_factory::instance(), and kcenon::monitoring::metric_factory::register_collector().
Referenced by register_builtin_collectors().


|
inline |
Convert security_event_type to string representation.
| type | The event type to convert |
Definition at line 59 of file security_collector.h.
References account_created, account_deleted, account_modified, login_failure, login_success, logout, permission_change, session_end, session_start, and sudo_usage.
|
inline |
Convert sensor_type to string representation.
Definition at line 50 of file temperature_collector.h.
References ambient, cpu, gpu, motherboard, other, and storage.
|
inline |
Convert tcp_state to string representation.
| state | The TCP state to convert |
Definition at line 64 of file network_metrics_collector.h.
References CLOSE, CLOSE_WAIT, CLOSING, ESTABLISHED, FIN_WAIT1, FIN_WAIT2, LAST_ACK, LISTEN, SYN_RECV, SYN_SENT, and TIME_WAIT.
| auto kcenon::monitoring::to_string | ( | plugin_load_error | error | ) | -> std::string |
Convert plugin_load_error to string.
Referenced by demo_bidirectional_integration(), demo_monitor_with_logger(), example_5_provider_interface(), console_logger::log(), example_logger::log(), and simple_console_logger::log().

|
inline |
Convert vm_type to string representation.
| type | The VM type to convert |
Definition at line 51 of file vm_collector.h.
References docker, hyperv, kvm, none, other, virtualbox, vmware, and xen.