Skip to main content

Profiling and Slow SQL Tracing

TeaQL provides hooks for profiling slow queries and tracking execution time.

Integration with Spring Actuator​

If you are using Spring Boot, TeaQL metrics can be exported to Spring Actuator.

Logback Configuration​

To see the exact SQL queries being executed, you can lower the logging level for the provider:

<logger name="io.teaql.runtime.provider" level="DEBUG" />

This will print the parameterized SQL and the execution time in milliseconds.