feat: makes sentry more configurable
This commit is contained in:
@@ -5,18 +5,18 @@ when@prod:
|
||||
|
||||
options:
|
||||
release: '%app.version%'
|
||||
traces_sample_rate: 0
|
||||
profiles_sample_rate: 0
|
||||
traces_sample_rate: 1
|
||||
profiles_sample_rate: 1
|
||||
attach_stacktrace: true
|
||||
|
||||
# tracing:
|
||||
# enabled: true
|
||||
# dbal: # DB queries
|
||||
# enabled: true
|
||||
# cache: # cache pools
|
||||
# enabled: true
|
||||
# twig: # templating engine
|
||||
# enabled: true
|
||||
tracing:
|
||||
enabled: true
|
||||
dbal: # DB queries
|
||||
enabled: true
|
||||
cache: # cache pools
|
||||
enabled: true
|
||||
twig: # templating engine
|
||||
enabled: true
|
||||
|
||||
services:
|
||||
# (Optionally) Configure the breadcrumb handler as a service (needed for the breadcrumb Monolog handler)
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
twig:
|
||||
globals:
|
||||
version: '%app.version%'
|
||||
sentry_javascript_url: '%sentry.javascript_url%'
|
||||
file_name_pattern: '*.twig'
|
||||
date:
|
||||
format: 'm/d/Y'
|
||||
|
||||
@@ -48,6 +48,10 @@ parameters:
|
||||
notification.transport: '%env(NOTIFICATION_TRANSPORT)%'
|
||||
notification.ntfy.dsn: '%env(NTFY_DSN)%'
|
||||
|
||||
# Sentry
|
||||
sentry.dsn: '%env(SENTRY_DSN)%'
|
||||
sentry.javascript_url: '%env(SENTRY_JS_URL)%'
|
||||
|
||||
services:
|
||||
# default configuration for services in *this* file
|
||||
_defaults:
|
||||
|
||||
Reference in New Issue
Block a user