You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

63 lines
2.3 KiB

  1. # -*- coding: utf-8 -*-
  2. ##############################################################################
  3. #
  4. # Author: Alexandre Fayolle
  5. # Copyright 2014 Camptocamp SA
  6. #
  7. # This program is free software: you can redistribute it and/or modify
  8. # it under the terms of the GNU Affero General Public License as
  9. # published by the Free Software Foundation, either version 3 of the
  10. # License, or (at your option) any later version.
  11. #
  12. # This program is distributed in the hope that it will be useful,
  13. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  14. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  15. # GNU Affero General Public License for more details.
  16. #
  17. # You should have received a copy of the GNU Affero General Public License
  18. # along with this program. If not, see <http://www.gnu.org/licenses/>.
  19. #
  20. ##############################################################################
  21. {
  22. 'name': 'Server Monitoring',
  23. 'version': '0.1',
  24. 'category': 'Tools',
  25. 'depends': ['base',
  26. ],
  27. 'author': 'Camptocamp, Odoo Community Association (OCA)',
  28. 'license': 'AGPL-3',
  29. 'description': """
  30. Server Monitoring
  31. =================
  32. This module allows in-database logging of some statistics in order to monitor
  33. the health of an openerp instance.
  34. Database indicators are logged (number of rows, table size, number of reads,
  35. number of updates...), with a cron running each week by default. This cron
  36. needs to be activated after the module is installed.
  37. Some process indicators are logged (cpu time, memory) together with information
  38. about the different XMLRPC calls made to the server (user, model, method).
  39. Two crons are provided to cleanup old logs from the database.
  40. The logs are available through the menu Reporting -> Server Monitoring.
  41. """,
  42. 'data': [
  43. 'views/menu.xml',
  44. 'views/server_monitor_database_table_activity.xml',
  45. 'views/server_monitor_database.xml',
  46. 'views/server_monitor_model_row_count.xml',
  47. 'views/server_monitor_model_table_size.xml',
  48. 'views/server_monitor_process.xml',
  49. 'data/ir_cron.xml',
  50. 'security/ir.model.access.csv',
  51. ],
  52. 'test': [
  53. 'tests/test_monitor_process.yml',
  54. 'tests/test_monitor_database.yml',
  55. ],
  56. 'installable': True,
  57. }