Skip to content

Commit b091611

Browse files
aldy505aminvakil
andauthored
docs: provide information for SENTRY_AIR_GAP flag on Django config file (#3935)
* docs: provide information for SENTRY_AIR_GAP flag on Django config file * Apply suggestions from code review Co-authored-by: Amin Vakil <[email protected]> * Apply suggestions from code review Co-authored-by: Amin Vakil <[email protected]> --------- Co-authored-by: Amin Vakil <[email protected]>
1 parent 84f904f commit b091611

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

sentry/sentry.conf.example.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,14 @@ def get_internal_network():
9595
# See https://develop.sentry.dev/self-hosted/experimental/errors-only/
9696
SENTRY_SELF_HOSTED_ERRORS_ONLY = env("COMPOSE_PROFILES") != "feature-complete"
9797

98+
# When running in an air-gapped environment, set this to True to entirely disable
99+
# external network calls and features that require Internet connectivity.
100+
#
101+
# Setting the value to False while running in an air-gapped environment will
102+
# cause some containers to raise exceptions. One known example is fetching
103+
# AI model prices from various public APIs.
104+
SENTRY_AIR_GAP = False
105+
98106
################
99107
# Node Storage #
100108
################

0 commit comments

Comments
 (0)