Skip to content

Setup Sentry Environments #402

@Maxastuart

Description

@Maxastuart
  • Set up environments in Sentry to filter the errors from the Production server and the Staging server (and none from local machine instances)
  • Filter slack notifications (#sentry-alerts) to only show Production errors

REPEAT FOR askdarcel-api AND askdarcel-web
(consider merging those two apps, or sending all errors through one)

Expected Behavior: Errors from Prod get reported to sentry prod environment and #sentry-alerts slack channel. errors from Staging get reported to sentry prod environment. errors from local machines do not get reported to Sentry.

Actual Behavior: While running the askdarcel app anywhere (even on local machines) all errors are reported to Sentry (which also posts to #sentry-alerts in Slack).

How to set it up with Sentry:
https://docs.sentry.io/enriching-error-data/environments/?platform=javascript

Metadata

Metadata

Assignees

No one assigned

    Labels

    Dev InternalTasks that are not user-facing

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions