Skip to content

Commit

Permalink
Get StatsD and Sentry settings from env
Browse files Browse the repository at this point in the history
Signed-off-by: Keyhan Asadi <keyhan.asadi@cafebazaar.ir>
  • Loading branch information
keyhana authored and Mohammad Esmaeilbeygi committed Aug 31, 2020
1 parent ca57aff commit 888ebc3
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions snuba/settings_docker.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,7 @@
INGEST_SESSIONS_TOPIC = env("INGEST_SESSION_TOPIC", "ingest-sessions")

# Dogstatsd Options
DOGSTATSD_HOST = None
DOGSTATSD_PORT = None
DOGSTATSD_HOST = os.getenv("DOGSTATSD_HOST")
DOGSTATSD_PORT = os.getenv("DOGSTATSD_PORT")

SENTRY_DSN = os.getenv("SENTRY_DSN")

0 comments on commit 888ebc3

Please sign in to comment.