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

Configuration structures and enums for log sampling kcenon. More...

#include <vector>
#include <string>
#include <unordered_map>
#include <cstddef>
#include <cstdint>
#include <kcenon/common/interfaces/logger_interface.h>
Include dependency graph for sampling_config.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  kcenon::logger::sampling::sampling_config
 Configuration for log sampling behavior. More...
 
struct  kcenon::logger::sampling::sampling_stats
 Statistics about sampling behavior. More...
 

Namespaces

namespace  kcenon
 
namespace  kcenon::logger
 
namespace  kcenon::logger::sampling
 

Enumerations

enum class  kcenon::logger::sampling::sampling_strategy : std::uint8_t { kcenon::logger::sampling::random , kcenon::logger::sampling::rate_limiting , kcenon::logger::sampling::adaptive , kcenon::logger::sampling::hash_based }
 Defines the sampling algorithm to use. More...
 

Detailed Description

Configuration structures and enums for log sampling kcenon.

Since
3.3.0

This file defines the configuration structures and sampling strategies for the log sampling feature. Sampling helps reduce log volume in high-throughput scenarios while preserving critical log entries.

Definition in file sampling_config.h.