Skip to content
This repository was archived by the owner on Oct 15, 2019. It is now read-only.
This repository was archived by the owner on Oct 15, 2019. It is now read-only.

Add environment Optional Setting #28

@diegoprd

Description

@diegoprd

Sentry supports a custom option to set your environment but segment integration doesnt: https://docs.sentry.io/clients/javascript/config/#optional-settings

This particular custom option allows you to handle different environments without the need of creating different projects for each of them in Sentry.

Add another option called environment to the Sentry destination setup modal under the Optional Settings (string value - defaulting to null) to be sent to Sentry as follows:

environment
Track the environment name inside Sentry.

{
  environment: 'production'
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions