mirror of
https://github.com/symfony/recipes-contrib.git
synced 2026-03-24 00:32:17 +01:00
23 lines
1023 B
YAML
23 lines
1023 B
YAML
when@prod:
|
|
sentry:
|
|
dsn: '%env(SENTRY_DSN)%'
|
|
# this hooks into critical paths of the framework (and vendors) to perform
|
|
# automatic instrumentation (there might be some performance penalty)
|
|
# https://docs.sentry.io/platforms/php/guides/symfony/performance/instrumentation/automatic-instrumentation/
|
|
tracing:
|
|
enabled: false
|
|
|
|
# If you are using Monolog, you also need this additional configuration to log the errors correctly:
|
|
# https://docs.sentry.io/platforms/php/guides/symfony/integrations/monolog/
|
|
# register_error_listener: false
|
|
# register_error_handler: false
|
|
|
|
# monolog:
|
|
# handlers:
|
|
# sentry:
|
|
# type: sentry
|
|
# level: !php/const Monolog\Logger::ERROR
|
|
# hub_id: Sentry\State\HubInterface
|
|
# fill_extra_context: true # Enables sending monolog context to Sentry
|
|
# process_psr_3_messages: false # Disables the resolution of PSR-3 placeholders
|