Skip to content

Fix(serverless): Add "SENTRY_" prefix to env variables in serverless init script + added traces_sample_rate #1025

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

Merged
merged 2 commits into from
Feb 18, 2021

Conversation

ahmedetefy
Copy link
Contributor

This PR is a minor fix to the environment variables names in the scripts/init_serverless_sdk.py

  • Added SENTRY_ prefix to all environment variables
  • Added SENTRY_TRACES_SAMPLE_RATE environment variable to initialization of sentry_sdk

@ahmedetefy ahmedetefy merged commit 3be779a into master Feb 18, 2021
@ahmedetefy ahmedetefy deleted the fix/change_serverless_init branch February 18, 2021 13:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants