#include <userver/alerts/component.hpp>
Component that keeps an alert::Storage storage for fired alerts.
The component does not have any options for service config.
Definition at line 30 of file component.hpp.
Public Member Functions | |
StorageComponent (const components::ComponentConfig &config, const components::ComponentContext &context) | |
Storage & | GetStorage () const |
Static Public Attributes | |
static constexpr std::string_view | kName = "alerts-storage" |
The default name of alert::StorageComponent component. | |