Logger System 0.1.3
High-performance C++20 thread-safe logging system with asynchronous capabilities
Loading...
Searching...
No Matches
monitoring_interface.h File Reference

Abstract interface for monitoring and metrics collection. More...

#include <string>
#include <unordered_map>
#include <vector>
#include <chrono>
#include <atomic>
#include <kcenon/logger/core/error_codes.h>
Include dependency graph for monitoring_interface.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  kcenon::logger::metric_value
 Single metric value with metadata. More...
 
class  kcenon::logger::monitoring_data
 Collection of metrics. More...
 
class  kcenon::logger::health_check_result
 Health check result. More...
 
class  kcenon::logger::monitoring_interface
 Abstract monitoring interface. More...
 

Namespaces

namespace  kcenon
 
namespace  kcenon::logger
 

Enumerations

enum class  kcenon::logger::health_status { kcenon::logger::healthy , kcenon::logger::degraded , kcenon::logger::unhealthy , kcenon::logger::unknown }
 Health status levels. More...
 
enum class  kcenon::logger::metric_type {
  kcenon::logger::gauge , kcenon::logger::counter , kcenon::logger::histogram , kcenon::logger::counter ,
  kcenon::logger::gauge , kcenon::logger::histogram , kcenon::logger::summary
}
 Metric types for categorization. More...
 

Functions

std::string kcenon::logger::health_status_to_string (health_status status)
 Convert health status to string.
 
std::string kcenon::logger::metric_type_to_string (metric_type type)
 Convert metric type to string.
 

Detailed Description

Abstract interface for monitoring and metrics collection.

This interface defines the contract for monitoring implementations, allowing different backends without creating external dependencies.

Definition in file monitoring_interface.h.