10#include <userver/concurrent/variable.hpp>
12USERVER_NAMESPACE_BEGIN
18 std::string description;
19 std::chrono::steady_clock::time_point stop_timepoint;
31 Storage(
const Storage&) =
delete;
32 Storage(Storage&&) =
delete;
36 void FireAlert(std::string_view alert_id, std::string_view description,
46 static void DoStopAlertNow(std::string_view alert_id,
47 std::vector<Alert>& alerts);
49 concurrent::Variable<std::vector<Alert>> alerts_;