diff --git a/archived/sentry.sentry-symfony/153de5f041f7e8a9c19f3674b800b76be0e6fd90.json b/archived/sentry.sentry-symfony/153de5f041f7e8a9c19f3674b800b76be0e6fd90.json new file mode 100644 index 00000000..9eecdb47 --- /dev/null +++ b/archived/sentry.sentry-symfony/153de5f041f7e8a9c19f3674b800b76be0e6fd90.json @@ -0,0 +1,58 @@ +{ + "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)%'", + " # 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/#monolog-integration", + "# register_error_listener: false", + "# register_error_handler: false", + "", + "# monolog:", + "# handlers:", + "# sentry:", + "# type: sentry", + "# level: !php/const Monolog\\Logger::ERROR", + "# hub_id: Sentry\\State\\HubInterface", + "", + "# Uncomment these lines to register a log message processor that resolves PSR-3 placeholders", + "# https://docs.sentry.io/platforms/php/guides/symfony/#monolog-integration", + "# services:", + "# Monolog\\Processor\\PsrLogMessageProcessor:", + "# tags: { name: monolog.processor, handler: sentry }", + "" + ], + "executable": false + } + }, + "ref": "153de5f041f7e8a9c19f3674b800b76be0e6fd90" + } + } +} diff --git a/sentry.sentry-symfony.4.6.json b/sentry.sentry-symfony.4.6.json index 17f3adc2..9eecdb47 100644 --- a/sentry.sentry-symfony.4.6.json +++ b/sentry.sentry-symfony.4.6.json @@ -24,6 +24,11 @@ "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/#monolog-integration", @@ -36,12 +41,18 @@ "# type: sentry", "# level: !php/const Monolog\\Logger::ERROR", "# hub_id: Sentry\\State\\HubInterface", + "", + "# Uncomment these lines to register a log message processor that resolves PSR-3 placeholders", + "# https://docs.sentry.io/platforms/php/guides/symfony/#monolog-integration", + "# services:", + "# Monolog\\Processor\\PsrLogMessageProcessor:", + "# tags: { name: monolog.processor, handler: sentry }", "" ], "executable": false } }, - "ref": "f7b4706a3e8a6f096b7392f3146f4f7f65ff594c" + "ref": "153de5f041f7e8a9c19f3674b800b76be0e6fd90" } } }