|
Monitoring System 0.1.0
System resource monitoring with pluggable collectors and alerting
|
Configurable alert processing pipeline. More...
#include <alert_pipeline.h>

Public Member Functions | |
| void | add_stage (std::shared_ptr< pipeline_stage > stage) |
| Add a processing stage. | |
| bool | process (alert &a) |
| Process an alert through all stages. | |
| std::vector< std::string > | stage_names () const |
| Get stage names. | |
Private Attributes | |
| std::vector< std::shared_ptr< pipeline_stage > > | stages_ |
Configurable alert processing pipeline.
Allows building custom alert processing workflows by chaining multiple processing stages together.
Definition at line 615 of file alert_pipeline.h.
|
inline |
Add a processing stage.
Definition at line 620 of file alert_pipeline.h.
References stages_.
|
inline |
Process an alert through all stages.
| a | Alert to process |
Definition at line 629 of file alert_pipeline.h.
References stages_.
|
inline |
Get stage names.
Definition at line 641 of file alert_pipeline.h.
References stages_.
|
private |
Definition at line 651 of file alert_pipeline.h.
Referenced by add_stage(), process(), and stage_names().