hydra-sql/config/packages/sentry.yaml
rudy 9c746638a3
Some checks failed
Cadoles/hydra-sql/pipeline/pr-develop There was a failure building this commit
traductions, sentry, form, mariadb, assets
2022-12-13 15:46:24 +01:00

30 lines
863 B
YAML

parameters:
sentry_dsn: '%env(SENTRY_DSN)%'
env(SENTRY_DSN): ''
sentry_environment: '%env(SENTRY_ENVIRONMENT)%'
env(SENTRY_ENVIRONMENT): ''
sentry:
dsn: '%sentry_dsn%'
options:
sample_rate: 0.25
environment: '%sentry_environment%'
# If you are using Monolog, you also need these additional configuration and services to log the errors correctly:
# https://docs.sentry.io/platforms/php/guides/symfony/#monolog-integration
# register_error_listener: false
# monolog:
# handlers:
# sentry:
# type: service
# id: Sentry\Monolog\Handler
# services:
# Sentry\Monolog\Handler:
# arguments:
# $hub: '@Sentry\State\HubInterface'
# $level: !php/const Monolog\Logger::ERROR
# $bubble: false