Monitoring System 0.1.0
System resource monitoring with pluggable collectors and alerting
Loading...
Searching...
No Matches
collector_adapters.h File Reference

Adapters to connect existing collectors to collector_interface. More...

#include <memory>
#include <string>
#include <vector>
#include "metric_factory.h"
Include dependency graph for collector_adapters.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  kcenon::monitoring::plugin_collector_adapter< T >
 Adapter for plugin-based collectors (metric_collector_plugin) More...
 
class  kcenon::monitoring::crtp_collector_adapter< T >
 Adapter for CRTP-based collectors (collector_base<T>) More...
 
class  kcenon::monitoring::standalone_collector_adapter< T >
 Adapter for standalone collectors (like vm_collector) More...
 

Namespaces

namespace  kcenon
 
namespace  kcenon::monitoring
 

Functions

template<typename T >
bool kcenon::monitoring::register_plugin_collector (const std::string &name)
 Helper function to register a plugin-based collector.
 
template<typename T >
bool kcenon::monitoring::register_crtp_collector (const std::string &name)
 Helper function to register a CRTP-based collector.
 
template<typename T >
bool kcenon::monitoring::register_standalone_collector (const std::string &name)
 Helper function to register a standalone collector.
 

Detailed Description

Adapters to connect existing collectors to collector_interface.

This file provides adapter templates that wrap existing collector implementations to conform to the collector_interface, enabling them to work with the metric_factory.

Definition in file collector_adapters.h.