Skip to content

Commit

Permalink
fix: add config.enabled_environments
Browse files Browse the repository at this point in the history
  • Loading branch information
b1gb4by committed Nov 25, 2024
1 parent 302ad4d commit b72c3fa
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion config/initializers/sentry.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
config.breadcrumbs_logger = [:active_support_logger, :http_logger, :redis_logger]
config.dsn = ENV['SENTRY_DSN']
config.environment = ENV['DREAMKAST_NAMESPACE']
config.enabled_environments = ['dreamkast', 'dreamkast-staging'] # Only staging and production send error logs to sentry
# NOTE: 'dreamkast-prod-dk' will be removed as soon as DREAMKAST_NAMESPACE is changed
config.enabled_environments = ['dreamkast-prod-dk', 'dreamkast', 'dreamkast-staging'] # Only staging and production send error logs to sentry

# To activate performance monitoring, set one of these options.
# We recommend adjusting the value in production:
Expand Down

0 comments on commit b72c3fa

Please sign in to comment.