Monitoring System 0.1.0
System resource monitoring with pluggable collectors and alerting
Loading...
Searching...
No Matches
common_adapters.h
Go to the documentation of this file.
1#pragma once
2
3// BSD 3-Clause License
4// Copyright (c) 2025, 🍀☀🌕🌥 🌊
5// See the LICENSE file in the project root for full license information.
6
7
25
26// common_to_monitoring_adapter.h provides additional adapters:
27// - common_system_monitor_adapter (exposes monitoring_system as common IMonitor)
28// - common_system_monitorable_adapter (exposes monitorable as common IMonitorable)
29// - monitor_from_common_adapter (wraps common IMonitor as metrics_collector)
30//
31// Note: common_to_monitoring_adapter.h and monitoring_to_common_adapter.h
32// define classes with the same name (monitor_from_common_adapter,
33// common_monitor_factory). Only one can be included per translation unit.
34// By default, this header includes monitoring_to_common_adapter.h which
35// provides the more complete adapter set.
36//
37// To use common_to_monitoring_adapter.h instead, include it directly.
Health status conversion between monitoring_system and common_system.