Skip to content

v0.9.1

Compare
Choose a tag to compare
@onlime onlime released this 03 Jun 08:46
· 57 commits to main since this release

Added

  • Added new config param queries.exclude_pattern (env var SQL_REPORTER_QUERIES_EXCLUDE_PATTERN) to narrow down queries to be logged without bloating include pattern regex.
  • Added unit tests for Writer, testing query include/exclude patterns and min exec time.

Changed

  • Renamed SQL_REPORTER_QUERIES_PATTERN env var to SQL_REPORTER_QUERIES_INCLUDE_PATTERN
  • Renamed methods in Writer for clarity.
  • Improved testability of Writer::writeQuery() by returning true if query was written to log.