Commit b181c320 authored by Alain Takoudjou's avatar Alain Takoudjou

erp5-cluster: enable monitor slow query report generation for instance mariadb

parent 432bc897
......@@ -166,7 +166,7 @@ md5sum = d7bbc175e7ff9723784d3403e76cf45e
[template-mariadb]
< = download-base
filename = instance-mariadb.cfg.in
md5sum = 7e1f4bf4c8224454409289dbc92cf5e0
md5sum = c85d5ee8d0ec122fd836e5cabc57d671
link-binary =
${coreutils:location}/bin/basename
${coreutils:location}/bin/cat
......
......@@ -230,6 +230,14 @@ source = ${directory:log}
< = monitor-directory-access
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]
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