From b1c3bb0b90b59526e70986670cd6e1239d55da66 Mon Sep 17 00:00:00 2001 From: Dmitrii Poddubnyi Date: Tue, 30 Jul 2019 12:05:22 +0300 Subject: [PATCH] Documented most valuable sentry options --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index 8d4cc452..678b8057 100644 --- a/README.md +++ b/README.md @@ -88,8 +88,18 @@ Leaving this value empty (or undeclared) in other environments will effectively ```yaml sentry: dsn: "https://public:secret@sentry.example.com/1" + options: + environment: '%kernel.environment%' + release: '%env(VERSION)%' #your app version + excluded_exceptions: #exclude validation errors + - App\Exception\UserNotFoundException + - Symfony\Component\Security\Core\Exception\AccessDeniedException ``` +The parameter `options` allows to fine-tune exceptions. To discover more options, please refer to +[the Unified APIs](https://docs.sentry.io/development/sdk-dev/unified-api/#options) options and +the [PHP specific](https://docs.sentry.io/platforms/php/#php-specific-options) ones. + #### Optional: use monolog handler provided by `sentry/sentry` *Note: this step is optional*