Skip to content

Instantly share code, notes, and snippets.

@davewongillies
Last active December 18, 2015 01:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save davewongillies/5705628 to your computer and use it in GitHub Desktop.
Save davewongillies/5705628 to your computer and use it in GitHub Desktop.
Sentry Configuration for Rhodecode

Sentry Configuration for Rhodecode

Sentry is an alternative open source error aggregator. You must install python packages raven to enable.

The following settings go into your rhodecode production.ini

production.ini

################
### [sentry] ###
################
# Required
sentry.dsn = {protocol}://{PUBLIC_KEY}:{SECRET_KEY}@{HOST}/{PATH}{PROJECT_ID}'
# Required
sentry.servers = {HOST}

# This will override the server_name value for this installation. Defaults to socket.gethostname().
# Optional
sentry.name = None

# Superuser key -- will be used if set, otherwise defers to
# SECRET_KEY and PUBLIC_KEY
# Optional
sentry.key = None
# Required
sentry.public_key =
# Required
sentry.secret_key =

# Set this to your Sentry project ID. This is the number at the end of the DSN
# Required
sentry.project =
# An optional, arbitrary string to identify this client installation.
# Optional
sentry.site = None
# For example, in Django this defaults to your list of INSTALLED_APPS,
# and is used for drilling down where an exception is located
# Optional
sentry.include_paths = None
# Extending this allow you to ignore module prefixes when we attempt
# to discover which function an error comes from (typically a view)
# Optional
sentry.exclude_paths = None

Reference

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment