|
@@ -122,6 +122,10 @@ RELAY_CONFIG_DIR = os.path.normpath(
|
|
os.path.join(PROJECT_ROOT, os.pardir, os.pardir, "config", "relay")
|
|
os.path.join(PROJECT_ROOT, os.pardir, os.pardir, "config", "relay")
|
|
)
|
|
)
|
|
|
|
|
|
|
|
+SYMBOLICATOR_CONFIG_DIR = os.path.normpath(
|
|
|
|
+ os.path.join(PROJECT_ROOT, os.pardir, os.pardir, "config", "symbolicator")
|
|
|
|
+)
|
|
|
|
+
|
|
sys.path.insert(0, os.path.normpath(os.path.join(PROJECT_ROOT, os.pardir)))
|
|
sys.path.insert(0, os.path.normpath(os.path.join(PROJECT_ROOT, os.pardir)))
|
|
|
|
|
|
DATABASES = {
|
|
DATABASES = {
|
|
@@ -754,6 +758,7 @@ LOGGING = {
|
|
"sentry_plugins": {"level": "INFO"},
|
|
"sentry_plugins": {"level": "INFO"},
|
|
"sentry.files": {"level": "WARNING"},
|
|
"sentry.files": {"level": "WARNING"},
|
|
"sentry.minidumps": {"handlers": ["internal"], "propagate": False},
|
|
"sentry.minidumps": {"handlers": ["internal"], "propagate": False},
|
|
|
|
+ "sentry.reprocessing": {"handlers": ["internal"], "propagate": False},
|
|
"sentry.interfaces": {"handlers": ["internal"], "propagate": False},
|
|
"sentry.interfaces": {"handlers": ["internal"], "propagate": False},
|
|
# This only needs to go to Sentry for now.
|
|
# This only needs to go to Sentry for now.
|
|
"sentry.similarity": {"handlers": ["internal"], "propagate": False},
|
|
"sentry.similarity": {"handlers": ["internal"], "propagate": False},
|
|
@@ -917,6 +922,8 @@ SENTRY_FEATURES = {
|
|
"projects:plugins": True,
|
|
"projects:plugins": True,
|
|
# Enable functionality for rate-limiting events on projects.
|
|
# Enable functionality for rate-limiting events on projects.
|
|
"projects:rate-limits": True,
|
|
"projects:rate-limits": True,
|
|
|
|
+ # Enable version 2 of reprocessing (completely distinct from v1)
|
|
|
|
+ "projects:reprocessing-v2": False,
|
|
# Enable functionality for sampling of events on projects.
|
|
# Enable functionality for sampling of events on projects.
|
|
"projects:sample-events": False,
|
|
"projects:sample-events": False,
|
|
# Enable functionality to trigger service hooks upon event ingestion.
|
|
# Enable functionality to trigger service hooks upon event ingestion.
|
|
@@ -1547,7 +1554,8 @@ SENTRY_DEVSERVICES = {
|
|
"image": "us.gcr.io/sentryio/symbolicator:latest",
|
|
"image": "us.gcr.io/sentryio/symbolicator:latest",
|
|
"pull": True,
|
|
"pull": True,
|
|
"ports": {"3021/tcp": 3021},
|
|
"ports": {"3021/tcp": 3021},
|
|
- "command": ["run"],
|
|
|
|
|
|
+ "volumes": {SYMBOLICATOR_CONFIG_DIR: {"bind": "/etc/symbolicator"}},
|
|
|
|
+ "command": ["run", "--config", "/etc/symbolicator/config.yml"],
|
|
"only_if": lambda settings, options: options.get("symbolicator.enabled"),
|
|
"only_if": lambda settings, options: options.get("symbolicator.enabled"),
|
|
},
|
|
},
|
|
"relay": {
|
|
"relay": {
|
|
@@ -1963,3 +1971,5 @@ SENTRY_SIMILARITY_GROUPING_CONFIGURATIONS_TO_INDEX = {
|
|
}
|
|
}
|
|
|
|
|
|
SENTRY_USE_UWSGI = True
|
|
SENTRY_USE_UWSGI = True
|
|
|
|
+
|
|
|
|
+SENTRY_REPROCESSING_ATTACHMENT_CHUNK_SIZE = 2 ** 20
|