getsentry / getsentry/sentry-python

More configuration via environment variables

Open
#3,140 0 comments 0 reactions 0 assignees View on GitHub
Component: SDK Core Feature Integration: AWS Lambda Integration: GCP Python Quality Improvement Spans
Dominant language
Python
Stars
2.2k
Forks
669
Avg merge
1d 1h
Merged PRs (30d)
213

Description

Currently we have [a few config options](https://docs.sentry.io/platforms/python/configuration/options/#common-options) in the SDK that can also be set via environment variables.

To make it easier for our users to deploy their Sentry instrumented project on different environments (development server, staging, production. But also Docker based services, AWS Lambda or other cloud services) it would be good to enable more of our config options to be configurable via environment variables.

This would make our users projects way more portable, and also brings value to all customers that follow the principles of [The Twelve-Factor App](https://12factor.net/).

- [ ] Come of with a list of config options that make sense to set via env var
- [ ] Implement picking those config options from the environment
- [ ] Update docs

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.