diff --git a/sentry/sentry.conf.example.py b/sentry/sentry.conf.example.py index bb3b4fd5d9..222acf0a87 100644 --- a/sentry/sentry.conf.example.py +++ b/sentry/sentry.conf.example.py @@ -380,7 +380,6 @@ def get_internal_network(): # Configure Sentry JS SDK bundle URL template for Loader Scripts. # Learn more about the Loader Scripts: https://docs.sentry.io/platforms/javascript/install/loader/ - # If you wish to host your own JS SDK bundles, set `SETUP_JS_SDK_ASSETS` environment variable to `1` # on your `.env` or `.env.custom` file. Then, replace the value below with your own public URL. # For example: "https://sentry.example.com/js-sdk/%s/bundle%s.min.js" @@ -394,3 +393,15 @@ def get_internal_network(): # If you would like to use self-hosted Sentry with only errors enabled, please set this SENTRY_SELF_HOSTED_ERRORS_ONLY = env("COMPOSE_PROFILES") != "feature-complete" + +##################### +# Insights Settings # +##################### + +# Since version 24.3.0, Insights features are available on self-hosted. For Requests module, +# there are scrubbing logic done on Relay to prevent high cardinality of stored HTTP hosts. +# However in self-hosted scenario, the amount of stored HTTP hosts might be consistent, +# and you may have allow list of hosts that you want to keep. Uncomment the following line +# to allow specific hosts. It might be IP addresses or domain names (without `http://` or `https://`). + +# SENTRY_OPTIONS["relay.span-normalization.allowed_hosts"] = ["example.com", "192.168.10.1"]