Skip to content

Commit

Permalink
chore: update sentry sampling query
Browse files Browse the repository at this point in the history
  • Loading branch information
Cryde committed Nov 18, 2023
1 parent 26646c3 commit f8c0ddd
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 14 deletions.
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@
"phpdocumentor/reflection-docblock": "^5.3",
"phpstan/phpdoc-parser": "^1.7",
"ramsey/uuid-doctrine": "^2.0",
"sentry/sdk": "^3.2",
"sentry/sentry": "^3.7",
"sentry/sentry-symfony": "^4.3",
"sentry/sdk": "^3.5",
"sentry/sentry": "^3.22",
"sentry/sentry-symfony": "^4.12",
"symfony/asset": "^6.1",
"symfony/console": "^6.1.4",
"symfony/dotenv": "^6.1",
Expand Down
2 changes: 1 addition & 1 deletion composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

19 changes: 9 additions & 10 deletions config/packages/sentry.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,13 @@ when@prod:
integrations:
- 'Sentry\Integration\IgnoreErrorsIntegration'

# 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
# Specify a fixed sample rate:
traces_sample_rate: 1.0

# monolog:
# handlers:
# sentry:
# type: sentry
# level: !php/const Monolog\Logger::ERROR
# hub_id: Sentry\State\HubInterface
when@test:
sentry:
dsn: ~

when@dev:
sentry:
dsn: ~

0 comments on commit f8c0ddd

Please sign in to comment.