Skip to content

Commit

Permalink
feat(sentry): custom tag with agency name
Browse files Browse the repository at this point in the history
  • Loading branch information
thekaveman committed Oct 11, 2023
1 parent c9cbba5 commit 0d68e4d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions eligibility_server/sentry.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,5 +60,7 @@ def configure(config: Configuration):
send_default_pii=False,
event_scrubber=EventScrubber(denylist=get_denylist()),
)

sentry_sdk.set_tag("agency_name", config.agency_name)
else:
logger.warning("SENTRY_DSN not set, so won't send events")

0 comments on commit 0d68e4d

Please sign in to comment.