Commit 8a5a44ae authored by Alain Takoudjou's avatar Alain Takoudjou Committed by Tristan Cavelier

erp5: enable monitor slow query report generation for instance mariadb

parent 18d74520
...@@ -245,6 +245,14 @@ source = ${directory:log} ...@@ -245,6 +245,14 @@ source = ${directory:log}
< = monitor-directory-access < = monitor-directory-access
source = ${logrotate-entry-mariadb:backup} source = ${logrotate-entry-mariadb:backup}
[mysql-slowquery-report]
extra-context =
raw slow_query_path ${logrotate:backup}/mariadb_slowquery.log-%(date)s.gz
[{{ section('mysql-slowquery-report-access') }}]
< = monitor-directory-access
source = ${mysql-slowquery-report:output-folder}
[monitor-parameters] [monitor-parameters]
port = {{ monitor_port }} port = {{ monitor_port }}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment