Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add option to specify Environment #3

Closed
paxuclus opened this issue Jan 30, 2021 · 0 comments · Fixed by #5
Closed

Add option to specify Environment #3

paxuclus opened this issue Jan 30, 2021 · 0 comments · Fixed by #5
Assignees

Comments

@paxuclus
Copy link
Member

By default, sentry searches for the environment variable SENTRY_ENVIRONMENT. For projects without environment variables, it should be possible to set the environment through the settings.

Similar to the Settings.Release.yaml:

Netlogix:
  Sentry:
    environment:
      setting: '%env:SENTRY_ENVIRONMENT%'

We could then introduce a FlowSettings Provider for the Environment.

Since the default setting is %env:SENTRY_ENVIRONMENT%, this will also work for projects with environment variables.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging a pull request may close this issue.

1 participant