userver: alerts::StorageComponent Class Reference
⚠️ This is the documentation for an old userver version. Click here to switch to the latest version.
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages Concepts
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:

    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: