Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Xiaowu Zhang
slapos
Commits
b181c320
Commit
b181c320
authored
Feb 03, 2015
by
Alain Takoudjou
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5-cluster: enable monitor slow query report generation for instance mariadb
parent
432bc897
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
1 deletion
+9
-1
stack/erp5/buildout.cfg
stack/erp5/buildout.cfg
+1
-1
stack/erp5/instance-mariadb.cfg.in
stack/erp5/instance-mariadb.cfg.in
+8
-0
No files found.
stack/erp5/buildout.cfg
View file @
b181c320
...
@@ -166,7 +166,7 @@ md5sum = d7bbc175e7ff9723784d3403e76cf45e
...
@@ -166,7 +166,7 @@ md5sum = d7bbc175e7ff9723784d3403e76cf45e
[template-mariadb]
[template-mariadb]
< = download-base
< = download-base
filename = instance-mariadb.cfg.in
filename = instance-mariadb.cfg.in
md5sum =
7e1f4bf4c8224454409289dbc92cf5e0
md5sum =
c85d5ee8d0ec122fd836e5cabc57d671
link-binary =
link-binary =
${coreutils:location}/bin/basename
${coreutils:location}/bin/basename
${coreutils:location}/bin/cat
${coreutils:location}/bin/cat
...
...
stack/erp5/instance-mariadb.cfg.in
View file @
b181c320
...
@@ -230,6 +230,14 @@ source = ${directory:log}
...
@@ -230,6 +230,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 }}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment