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

Memory-efficient metric storage with ring buffer backend. More...

#include "../core/result_types.h"
#include "../core/error_codes.h"
#include "metric_types.h"
#include "time_series.h"
#include "ring_buffer.h"
#include <string>
#include <memory>
#include <mutex>
#include <shared_mutex>
#include <unordered_map>
#include <atomic>
#include <vector>
#include <thread>
Include dependency graph for metric_storage.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  kcenon::monitoring::metric_storage_config
 Configuration for metric storage. More...
 
struct  kcenon::monitoring::metric_storage_stats
 Statistics for metric storage performance. More...
 
class  kcenon::monitoring::metric_storage
 Thread-safe metric storage with ring buffer buffering. More...
 

Namespaces

namespace  kcenon
 
namespace  kcenon::monitoring
 

Detailed Description

Memory-efficient metric storage with ring buffer backend.

This file provides metric storage implementation that uses ring buffers for efficient incoming metric buffering and time series for historical data.

Definition in file metric_storage.h.