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

Core alert data structures for the monitoring system. More...

#include <algorithm>
#include <atomic>
#include <chrono>
#include <cstdint>
#include <optional>
#include <string>
#include <unordered_map>
#include <variant>
#include <vector>
Include dependency graph for alert_types.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  kcenon::monitoring::alert_labels
 Key-value labels for alert identification and routing. More...
 
struct  kcenon::monitoring::alert_annotations
 Additional metadata for alert context. More...
 
struct  kcenon::monitoring::alert
 Core alert data structure. More...
 
struct  kcenon::monitoring::alert_group
 Group of related alerts for batch notification. More...
 
struct  kcenon::monitoring::alert_silence
 Silence configuration to suppress alerts. More...
 

Namespaces

namespace  kcenon
 
namespace  kcenon::monitoring
 

Enumerations

enum class  kcenon::monitoring::alert_severity : uint8_t { kcenon::monitoring::info = 0 , kcenon::monitoring::warning , kcenon::monitoring::critical , kcenon::monitoring::emergency }
 Severity levels for alerts. More...
 
enum class  kcenon::monitoring::alert_state : uint8_t {
  kcenon::monitoring::inactive = 0 , kcenon::monitoring::pending , kcenon::monitoring::firing , kcenon::monitoring::resolved ,
  kcenon::monitoring::suppressed
}
 State machine states for alert lifecycle. More...
 

Functions

constexpr const char * kcenon::monitoring::alert_severity_to_string (alert_severity severity) noexcept
 Convert alert severity to string.
 
constexpr const char * kcenon::monitoring::alert_state_to_string (alert_state state) noexcept
 Convert alert state to string.
 

Detailed Description

Core alert data structures for the monitoring system.

This file defines the fundamental alert types, states, and data structures used throughout the alert pipeline. Alerts represent conditions that require attention or notification.

Definition in file alert_types.h.