mentat.module.statistician module¶
This Mentat module is a script providing statistical functions and features for message processing performance analysis.
This script is implemented using the pyzenkit.zenscript
framework and
so it provides all of its core features. See the documentation for more in-depth
details.
It is further based on mentat.script.fetcher
module, which provides
database fetching and message post-processing capabilities.
Usage examples¶
# Display help message and exit.
mentat-statistician.py --help
# Run in debug mode (enable output of debugging information to terminal).
mentat-statistician.py --debug
# Run with increased logging level.
mentat-statistician.py --log-level debug
Available script commands¶
calculate
(default)Calculate statistics for messages stored into database within configured time interval thresholds.
-
class
mentat.module.statistician.
MentatStatisticianScript
[source]¶ Bases:
mentat.script.fetcher.FetcherScript
Implementation of Mentat module (script) providing statistical functions and features for message processing performance analysis.
-
CONFIG_REPORTS_DIR
= 'reports_dir'¶
-
CONFIG_RRDS_DIR
= 'rrds_dir'¶
-
CORECFG_STATISTICS
= '__core__statistics'¶
-