Skip to content

Releases: heywinit/pg_turret

Release list

v0.1.0

Choose a tag to compare

@heywinit heywinit released this 05 Apr 14:59

pg_turret v0.1.0

First release of pg_turret — a PostgreSQL extension that captures log events internally and exports them to external observability systems.

Features

  • Log Capture — intercepts PostgreSQL logs via emit_log_hook and converts them to structured events
  • HTTP Exporter — sends logs to any HTTP/S endpoint with gzip compression and dynamic timeout
  • Kafka Exporter — produces log events to Kafka topics with exponential backoff retry logic
  • Sentry Integration — forwards error-level logs to Sentry for production monitoring
  • Log Filtering — filter by log level and regex patterns before export
  • Retry Queue — failed exports are queued and retried with backoff
  • Metrics — tracks log capture and export statistics
  • Dynamic GUC Reload — configuration changes take effect without restart
  • PostgreSQL 13–18 Support — tested across multiple PostgreSQL versions

Installation

cargo pgrx install --release --pg-config /path/to/pg_config

Then in PostgreSQL:

CREATE EXTENSION pg_turret;

See the README for full configuration options.