The ELK stack[1]. If you don't use the ELK stack for everything already, it might be considered an overkill as a safe deployment would take at least three nodes with 8GB of RAM at least.
[1] https://www.phase2technology.com/blog/adding-mysql-slow-quer...