Task #3374: Migrate all core modules from legacy Mentat
Implement mentat-informant.py module
|Assignee:||Jan Mach||% Done:|
|Category:||Development - Core|
Migrate, redesign and implement periodical system performance and reporting briefing module. Send information about number of generated reports, overall event statistics, etc.
Implemented the mentat-informant.py module (previously mentat-briefer).
The mentat-informant.py module is a Python replacement for previous mentat-briefer.py module. It is designed to provide periodical statistical overviews via email. The email reports are localized using babel package and can be translated into any language. Additionally, the reporting engine uses Jinja2 templating system for message rendering, so it enables very easy customization. (Redmine issue: #3377)
Moved the report type header from event report email class to base report email class.
(Redmine issue: #3377)
Feature: Added event reporting statistics to mentat-informant.py and done big overhaul of the whole module.
The mentat-informant.py module was redesigned to the liking of mentat-reporter.py module in terms of configuration options and general code design. The event reporting statistics section was added to the report emails to inform recipients, well, about event reporting statistics. (Redmine issue: #3377)
#1 Updated by Jan Mach over 1 year ago
- Status changed from New to Feedback
- Assignee changed from Jan Mach to Pavel Kácha
Since there is not much of a difference between the mentat-statistician.py module and this module, it would make sense to incorporate the briefing functionality into mentat-statistician.py module into separate subcommand. The statistician is already capable of calculating statistics for given time period and storing them into database, there is no reason why it should not be capable of sending the statistics also by email.
#2 Updated by Jan Mach about 1 year ago
- Subject changed from Implement mentat-briefer.py module to Implement mentat-informant.py module
- Status changed from Feedback to In Progress
- Assignee changed from Pavel Kácha to Jan Mach
The mentat-briefer module from legacy Perl Mentat was renamed to mentat-informant.py.
- Status changed from In Progress to Closed
- % Done changed from 0 to 100
Current state of this module is sufficient for production environment. We are finally releasing 2.0 version of Mentat system, so the period of frantic coding and implementation chaos is over. Any further improvements of this module will be done as they should in separate Redmine issues.