Skip to main content
plyra-guard emits an audit event for every decision — allowed and blocked. Events go to one or more exporters.
Plyra Guard Exporters
plyra-guard emits an audit event for every decision — allowed and blocked. Events go to one or more exporters.
StdoutExporter is always enabled by default. It writes JSON lines to stdout on every action. In production, disable it to avoid log noise by setting observability.exporters: [] in your YAML config.

StdoutExporter (default)

Writes audit entries as JSON lines to stdout. Enabled by default when "stdout" is in the observability.exporters list.
To disable in your config:

Constructor

OTelExporter

Exports audit entries as OpenTelemetry spans.

Constructor

DatadogExporter

Exports audit entries as Datadog spans via ddtrace.

Constructor

WebhookExporter

POSTs audit entries as JSON to an arbitrary URL. Useful for Slack, PagerDuty, or custom dashboards.

Constructor

Combining exporters

Snapshot database

All decisions are written to ~/.plyra/snapshots.db (SQLite). Change the path via environment variable:
Or in your YAML config: