Skip to content

Commit

Permalink
Bind role tag
Browse files Browse the repository at this point in the history
  • Loading branch information
dcramer committed Jun 4, 2020
1 parent 3faa952 commit 57c795b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions backend/atlas/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@
traces_sample_rate=1.0,
_experiments={"fast_serialize": True, "auto_enabling_integrations": True},
)
with sentry_sdk.configure_scope() as scope:
scope.set_tag("role", "backend")

LOGGING = {
"version": 1,
Expand Down
1 change: 1 addition & 0 deletions frontend/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ Sentry.init({
new SentryRRWeb()
]
});
Sentry.setTag("role", "frontend");

// If you want your app to work offline and load faster, you can change
// unregister() to register() below. Note this comes with some pitfalls.
Expand Down

0 comments on commit 57c795b

Please sign in to comment.