休眠存储配置¶
监视器扩展的许多方面都是可配置的。配置文件存储在数据目录中的 monitoring 目录::
<data_directory>
monitoring/
db.properties
hibernate.properties
In particular: * db.properties - Database configuration when using database persistence. * hibernate.properties - Hibernate configuration when using database persistence.
监视器存储¶
如何保存请求数据可以通过 storage 中定义的属性 monitor.properties 文件。以下值支持 storage 财产:
记忆 -请求数据将单独保存在内存中。
冬眠 -请求数据将通过Hibernate持久化到关系数据库中。
默认值为 memory ,以便使用hibernate storage 配置需要切换到 hibernate .