#include <userver/components/dump_configurator.hpp>
Helper component that manages common configuration for userver dumps.
The component must be configured in service config.
Name | Description | Default value |
---|---|---|
dump-root | Components store dumps in subdirectories of this directory | - |
Definition at line 30 of file dump_configurator.hpp.
Public Member Functions | |
DumpConfigurator (const ComponentConfig &config, const ComponentContext &context) | |
const std::string & | GetDumpRoot () const |
Public Member Functions inherited from components::LoggableComponentBase | |
LoggableComponentBase (const ComponentConfig &, const ComponentContext &) | |
LoggableComponentBase (LoggableComponentBase &&)=delete | |
LoggableComponentBase (const LoggableComponentBase &)=delete | |
~LoggableComponentBase () override=default | |
ComponentHealth | GetComponentHealth () const override |
void | OnLoadingCancelled () override |
void | OnAllComponentsLoaded () override |
void | OnAllComponentsAreStopping () override |
Static Public Member Functions | |
static yaml_config::Schema | GetStaticConfigSchema () |
Static Public Member Functions inherited from components::LoggableComponentBase | |
static yaml_config::Schema | GetStaticConfigSchema () |
Static Public Attributes | |
static constexpr std::string_view | kName = "dump-configurator" |
The default name of components::DumpConfigurator component. | |