Fix slow timings regex matcher

Change-Id: Id58b76ffa608654418e41cd8ab4c3d1021102ceb
Signed-off-by: Bogdan Dobrelya <bdobreli@redhat.com>
This commit is contained in:
Bogdan Dobrelya 2022-01-27 10:30:18 +01:00
parent 1809de92a6
commit d8fdd04f93
1 changed files with 1 additions and 1 deletions

View File

@ -347,7 +347,7 @@ artcl_commands:
echo "+ slow req_ids";
find /var/log/containers -type f -name '*.log'
-not -path '*/stdouts/*' -not -path '*httpd*'
-exec grep -HE '(time:|held |waited )([3-9][0-9]\.|[0-9]{3,}\.)' {} \;;
-exec grep -HE '(time:\s?|held |waited )([3-9][0-9]\.|[0-9]{3,}\.)' {} \;;
echo "+ slow haproxy api calls";
grep -E '([0-9]+\/){3,}[3-9][0-9]{4,}/?' /var/log/containers/haproxy/haproxy.log
monitoring: {}