Skip to content

Commit

Permalink
Update logic for markus logging
Browse files Browse the repository at this point in the history
  • Loading branch information
robhudson committed Oct 31, 2024
1 parent 653417f commit af6aac2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bedrock/settings/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -1188,7 +1188,7 @@ def before_send(event, hint):
SENTRY_FRONTEND_DSN = config("SENTRY_FRONTEND_DSN", default=SENTRY_DSN)

# Statsd metrics via markus
if DEBUG and not config("DISABLE_LOCAL_MARKUS", default="False", parser=bool):
if DEBUG or config("DISABLE_LOCAL_MARKUS", default="false", parser=bool):
MARKUS_BACKENDS = [
{"class": "markus.backends.logging.LoggingMetrics", "options": {"logger_name": "metrics"}},
]
Expand Down

0 comments on commit af6aac2

Please sign in to comment.