andersundsehr/sentry-async

Asynchronous Sentry for Symfony - Fire and forget

Maintainers

👁 andersundsehr

Package info

github.com/andersundsehr/sentry-async

Homepage

Type:symfony-bundle

pkg:composer/andersundsehr/sentry-async

Statistics

Installs: 2 807

Dependents: 1

Suggesters: 0

Stars: 2

Open Issues: 0

3.1.0 2025-12-12 08:27 UTC

Requires

Requires (Dev)

Suggests

None

Provides

None

Conflicts

None

Replaces

None

MIT 6461623ba45ad01f16363b57c1a011549e3fb1d2

  • Stefan Lamm <s.lamm.woop@andersundsehr.com>

loggingsymfonyerrorssentry

This package is auto-updated.

Last update: 2026-06-12 09:28:40 UTC


README

To enable the asynchronous transport configure sentry to use our transport factory.
The extension is shipped with a default file_queue, which may be configured in config/packages/sentry.yaml

sentry:
 options:
 transport: AUS\SentryAsync\Transport\QueueTransport

sentry_async:
 file_queue:
 compress: true
 limit: 200
 directory: '%kernel.cache_dir%/sentry_async/'

Indeed, you can use another queue functionality and do things on your own config/services.yaml implementing \AUS\SentryAsync\Queue\QueueInterface

 App\Queue\ExampleQueue:
 public: true

 AUS\SentryAsync\Transport\QueueTransport:
 $queue: '@App\Queue\ExampleQueue'

You can also change the Entry implementation, if you want to carry extradata for your imlpementation.

sentry_async:
 entry_factory:
 entry_class: 'AUS\SentryAsync\Entry\Entry'