Expand description
Profiler reaction plugin for Drasi
This plugin implements Profiler reactions for Drasi.
§Example
ⓘ
use drasi_reaction_profiler::ProfilerReaction;
let reaction = ProfilerReaction::builder("my-profiler")
.with_queries(vec!["query1".to_string()])
.with_window_size(2000)
.with_report_interval_secs(30)
.build()?;Re-exports§
pub use config::ProfilerReactionConfig;pub use profiler::ProfilerReaction;
Modules§
- config
- Configuration types for Profiler reactions.
- descriptor
- Descriptor for the profiler reaction plugin.
- profiler
Structs§
- Profiler
Reaction Builder - Builder for Profiler reaction