Skip to content

Commit

Permalink
Merge pull request #228 from glogiotatidis/unify-sentry
Browse files Browse the repository at this point in the history
Add extra tags to sentry report.
  • Loading branch information
glogiotatidis authored Apr 11, 2017
2 parents fc9efad + 15a01fb commit 85d229d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions snippets/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -299,6 +299,11 @@ def get_default_gateway_linux():
RAVEN_CONFIG = {
'dsn': config('SENTRY_DSN', None),
'release': config('GIT_SHA', None),
'tags': {
'server_full_name': '.'.join(x for x in [HOSTNAME, DEIS_APP, DEIS_DOMAIN] if x),
'environment': config('SENTRY_ENVIRONMENT', ''),
'site': '.'.join(x for x in [DEIS_APP, DEIS_DOMAIN] if x),
}
}

ALTERNATE_METRICS_URL = config('ALTERNATE_METRICS_URL', default=None)
Expand Down

0 comments on commit 85d229d

Please sign in to comment.