userver: alerts Namespace Reference
Loading...
Searching...
No Matches
alerts Namespace Reference

Detailed Description

Alerts management.

Classes

struct  Alert
 
class  Handler
 Handler that returns the list of active fired alerts. More...
 
class  Storage
 Storage for active fired alerts. More...
 
class  StorageComponent
 Component that keeps an alert::Storage storage for fired alerts. More...
 

Variables

constexpr auto kDefaultDuration = std::chrono::seconds{120}
 
constexpr auto kInfinity = std::chrono::hours{24 * 999}
 

Variable Documentation

◆ kDefaultDuration

constexpr auto alerts::kDefaultDuration = std::chrono::seconds{120}
inlineconstexpr

Definition at line 22 of file storage.hpp.

◆ kInfinity

constexpr auto alerts::kInfinity = std::chrono::hours{24 * 999}
inlineconstexpr

Definition at line 23 of file storage.hpp.