diff --git a/archived/sentry.sentry-symfony/b6cb4b34429dadecd7187852123be19d628fa37a.json b/archived/sentry.sentry-symfony/b6cb4b34429dadecd7187852123be19d628fa37a.json new file mode 100644 index 00000000..8db72f25 --- /dev/null +++ b/archived/sentry.sentry-symfony/b6cb4b34429dadecd7187852123be19d628fa37a.json @@ -0,0 +1,68 @@ +{ + "manifests": { + "sentry/sentry-symfony": { + "manifest": { + "bundles": { + "Sentry\\SentryBundle\\SentryBundle": [ + "prod" + ] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" + }, + "env": { + "SENTRY_DSN": "" + }, + "conflict": { + "symfony/framework-bundle": "<5.4", + "symfony/monolog-bundle": "<3.7" + } + }, + "files": { + "config/packages/sentry.yaml": { + "contents": [ + "when@prod:", + " sentry:", + " dsn: '%env(SENTRY_DSN)%'", + " options:", + " # Add request headers, cookies, IP address and the authenticated user", + " # see https://docs.sentry.io/platforms/php/data-management/data-collected/ for more info", + " # send_default_pii: true", + " ignore_exceptions:", + " - 'Symfony\\Component\\ErrorHandler\\Error\\FatalError'", + " - 'Symfony\\Component\\Debug\\Exception\\FatalErrorException'", + "#", + "# # If you are using Monolog, you also need this additional configuration to log the errors correctly:", + "# # https://docs.sentry.io/platforms/php/guides/symfony/#monolog-integration", + "# register_error_listener: false", + "# register_error_handler: false", + "#", + "# monolog:", + "# handlers:", + "# # Use this only if you don't want to use structured logging and instead receive", + "# # certain log levels as errors. ", + "# 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", + "#", + "# # Use this for structured log integration", + "# sentry_logs:", + "# type: service", + "# id: Sentry\\SentryBundle\\Monolog\\LogsHandler", + "#", + "# services:", + "# Sentry\\SentryBundle\\Monolog\\LogsHandler:", + "# arguments:", + "# - !php/const Monolog\\Logger::INFO", + "" + ], + "executable": false + } + }, + "ref": "b6cb4b34429dadecd7187852123be19d628fa37a" + } + } +} diff --git a/sentry.sentry-symfony.5.0.json b/sentry.sentry-symfony.5.0.json index 0bb2cb87..8db72f25 100644 --- a/sentry.sentry-symfony.5.0.json +++ b/sentry.sentry-symfony.5.0.json @@ -31,26 +31,38 @@ " ignore_exceptions:", " - 'Symfony\\Component\\ErrorHandler\\Error\\FatalError'", " - 'Symfony\\Component\\Debug\\Exception\\FatalErrorException'", - "", - "# If you are using Monolog, you also need this additional configuration to log the errors correctly:", - "# https://docs.sentry.io/platforms/php/guides/symfony/#monolog-integration", + "#", + "# # If you are using Monolog, you also need this additional configuration to log the errors correctly:", + "# # https://docs.sentry.io/platforms/php/guides/symfony/#monolog-integration", "# register_error_listener: false", "# register_error_handler: false", - "", + "#", "# monolog:", "# handlers:", + "# # Use this only if you don't want to use structured logging and instead receive", + "# # certain log levels as errors. ", "# 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", + "#", + "# # Use this for structured log integration", + "# sentry_logs:", + "# type: service", + "# id: Sentry\\SentryBundle\\Monolog\\LogsHandler", + "#", + "# services:", + "# Sentry\\SentryBundle\\Monolog\\LogsHandler:", + "# arguments:", + "# - !php/const Monolog\\Logger::INFO", "" ], "executable": false } }, - "ref": "f26c577142172082bb3aeef519af6b5944b86ac2" + "ref": "b6cb4b34429dadecd7187852123be19d628fa37a" } } }