userver: alerts::StorageComponent Class Reference
Loading...
Searching...
No Matches
alerts::StorageComponent Class Referencefinal

#include <userver/alerts/component.hpp>

Detailed Description

Component that keeps an alert::Storage storage for fired alerts.

The component does not have any options for service config.

Static configuration example:

# yaml
statistics-storage:
# Nothing

Definition at line 30 of file component.hpp.

+ Inheritance diagram for alerts::StorageComponent:
+ Collaboration diagram for alerts::StorageComponent:

Public Member Functions

 StorageComponent (const components::ComponentConfig &config, const components::ComponentContext &context)
 
StorageGetStorage () const
 

Static Public Attributes

static constexpr std::string_view kName = "alerts-storage"
 The default name of alert::StorageComponent component.
 

The documentation for this class was generated from the following file: