#include <userver/engine/task_processors_load_monitor.hpp>
Component to monitor CPU usage for every TaskProcessor present in the service, and dump per-thread stats into metrics.
Inherits all the options from components::LoggableComponentBase and adds the following ones:
| Name | Description | Default value | 
|---|---|---|
| task-processor | name of the TaskProcessor to run monitoring on | default monitoring task processor | 
Definition at line 28 of file task_processors_load_monitor.hpp.
 Inheritance diagram for engine::TaskProcessorsLoadMonitor:
 Collaboration diagram for engine::TaskProcessorsLoadMonitor:Public Member Functions | |
| TaskProcessorsLoadMonitor (const components::ComponentConfig &config, const components::ComponentContext &context) | |
  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 {"task-processors-load-monitor"} | 
| The default name of engine::TaskProcessorsLoadMonitor.   | |