|
Monitoring System 0.1.0
System resource monitoring with pluggable collectors and alerting
|
Plugin interface for metric collectors with a dynamic data source. More...
#include <string>#include <unordered_map>#include <vector>#include "../interfaces/metric_types_adapter.h"

Go to the source code of this file.
Classes | |
| class | kcenon::monitoring::metric_collector_plugin |
Namespaces | |
| namespace | kcenon |
| namespace | kcenon::monitoring |
Plugin interface for metric collectors with a dynamic data source.
This header defines metric_collector_plugin, the pure-virtual interface that concrete metric collector plugins (for example system_resource_collector, container_plugin and hardware_plugin) implement. The interface is header-only and fully compiled into every consumer through its vtable, so it is safe to integrate.
plugin_metric_collector manager class and a plugin_factory whose member functions were never defined in src/, never tested, and never registered in builtin_collectors.h. Those test-only sketches were removed in issue #690; only the production metric_collector_plugin interface remains.Definition in file plugin_metric_collector.h.