From defd62280110cb385700912e440a613d4739bb63 Mon Sep 17 00:00:00 2001 From: "github-action[bot]" <> Date: Wed, 23 Apr 2025 12:12:37 +0000 Subject: [PATCH] Update Flex endpoint --- ...ed34d60ded4d22d10b43cd08bb463a6f4ce26.json | 54 ++++++++++++++++++ ...c577142172082bb3aeef519af6b5944b86ac2.json | 56 +++++++++++++++++++ sentry.sentry-symfony.4.6.json | 10 +--- sentry.sentry-symfony.5.0.json | 10 +--- 4 files changed, 116 insertions(+), 14 deletions(-) create mode 100644 archived/sentry.sentry-symfony/3cbed34d60ded4d22d10b43cd08bb463a6f4ce26.json create mode 100644 archived/sentry.sentry-symfony/f26c577142172082bb3aeef519af6b5944b86ac2.json diff --git a/archived/sentry.sentry-symfony/3cbed34d60ded4d22d10b43cd08bb463a6f4ce26.json b/archived/sentry.sentry-symfony/3cbed34d60ded4d22d10b43cd08bb463a6f4ce26.json new file mode 100644 index 00000000..6ae493fd --- /dev/null +++ b/archived/sentry.sentry-symfony/3cbed34d60ded4d22d10b43cd08bb463a6f4ce26.json @@ -0,0 +1,54 @@ +{ + "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", + "# fill_extra_context: true # Enables sending monolog context to Sentry", + "# process_psr_3_messages: false # Disables the resolution of PSR-3 placeholders", + "" + ], + "executable": false + } + }, + "ref": "3cbed34d60ded4d22d10b43cd08bb463a6f4ce26" + } + } +} diff --git a/archived/sentry.sentry-symfony/f26c577142172082bb3aeef519af6b5944b86ac2.json b/archived/sentry.sentry-symfony/f26c577142172082bb3aeef519af6b5944b86ac2.json new file mode 100644 index 00000000..0bb2cb87 --- /dev/null +++ b/archived/sentry.sentry-symfony/f26c577142172082bb3aeef519af6b5944b86ac2.json @@ -0,0 +1,56 @@ +{ + "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:", + "# 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", + "" + ], + "executable": false + } + }, + "ref": "f26c577142172082bb3aeef519af6b5944b86ac2" + } + } +} diff --git a/sentry.sentry-symfony.4.6.json b/sentry.sentry-symfony.4.6.json index 9eecdb47..6ae493fd 100644 --- a/sentry.sentry-symfony.4.6.json +++ b/sentry.sentry-symfony.4.6.json @@ -41,18 +41,14 @@ "# 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 }", + "# fill_extra_context: true # Enables sending monolog context to Sentry", + "# process_psr_3_messages: false # Disables the resolution of PSR-3 placeholders", "" ], "executable": false } }, - "ref": "153de5f041f7e8a9c19f3674b800b76be0e6fd90" + "ref": "3cbed34d60ded4d22d10b43cd08bb463a6f4ce26" } } } diff --git a/sentry.sentry-symfony.5.0.json b/sentry.sentry-symfony.5.0.json index 4271c788..0bb2cb87 100644 --- a/sentry.sentry-symfony.5.0.json +++ b/sentry.sentry-symfony.5.0.json @@ -43,18 +43,14 @@ "# 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 }", + "# fill_extra_context: true # Enables sending monolog context to Sentry", + "# process_psr_3_messages: false # Disables the resolution of PSR-3 placeholders", "" ], "executable": false } }, - "ref": "d852d02a2e294d0d39110947609a791e93e5ee42" + "ref": "f26c577142172082bb3aeef519af6b5944b86ac2" } } }