configuration.rst 1.0 KB

123456789101112131415161718192021222324252627282930
  1. .. _monitor_hibernate_configuration:
  2. Hibernate storage Configuration
  3. ===============================
  4. Many aspects of the monitor extension are configurable. The configuration files
  5. are stored in the data directory under the ``monitoring`` directory::
  6. <data_directory>
  7. monitoring/
  8. db.properties
  9. hibernate.properties
  10. In particular:
  11. * **db.properties** - Database configuration when using database persistence.
  12. * **hibernate.properties** - Hibernate configuration when using database persistence.
  13. Monitor Storage
  14. ---------------
  15. How request data is persisted is configurable via the ``storage`` property defined in the
  16. ``monitor.properties`` file. The following values are supported for the ``storage`` property:
  17. * **memory** - Request data is to be persisted in memory alone.
  18. * **hibernate** - Request data is to be persisted in a relational database via Hibernate.
  19. The default value is ``memory``, in order to use hibernate the ``storage`` configuration needs
  20. to be switced to ``hibernate``.