mentat.daemon.component.sampler module¶
Daemon component providing message sampling functions based on configurable keys.
The implementation is based on pyzenkit.zendaemon.ZenDaemonComponent
.
-
class
mentat.daemon.component.sampler.
SamplerDaemonComponent
(**kwargs)[source]¶ Bases:
pyzenkit.zendaemon.ZenDaemonComponent
Implementation of ZenDaemonComponent providing message sampling functions.
-
CONFIG_SAMPLING_KEYS
= 'sampling_keys'¶
-
CONFIG_SAMPLING_LIMIT
= 'sampling_limit'¶
-
CONFIG_SAMPLING_POLICY
= 'sampling_policy'¶
-
EVENT_LOG_STATISTICS
= 'log_statistics'¶
-
EVENT_MSG_PROCESS
= 'message_process'¶
-
STATS_CNT_ERRORS
= 'cnt_errors'¶
-
STATS_CNT_SAMPLED
= 'cnt_sampled'¶
-
STATS_CNT_STOPPED
= 'cnt_stopped'¶
-