Skip to content

v6.1.5

Choose a tag to compare

@cindreta cindreta released this 09 Jun 10:52
· 13 commits to main since this release
7c12b26

This adds automatic SQL query tracking to every request Treblle monitors. Each query's SQL and execution time (in ms) are now captured and included in the payload, giving you full visibility into what your database is doing on a per-request basis.

What's new

  • SQL queries executed during a request are automatically collected and sent to Treblle alongside the existing request/response data
  • Each entry includes the query and how long it took to run
  • Capped at 100 queries per request to keep payloads lean
  • Execution time is captured from Laravel's query events — zero overhead on your response time
  • Works out of the box with no configuration changes required

Notes

  • Bound parameter values are intentionally not captured — only the SQL template with ? placeholders is recorded, keeping sensitive data out of the payload by design
  • No config changes or republishing required for existing installations — it just works after updating the package