From 517470a6cc606eff28c809beca5366cbd9e64f17 Mon Sep 17 00:00:00 2001 From: Scott Talbot Date: Wed, 11 Dec 2024 11:30:02 +1100 Subject: [PATCH] feat(inbound-filters): Add health_check to known health checks --- src/sentry/constants.py | 1 + .../snapshots/test_config/test_get_project_config/REGION.pysnap | 1 + 2 files changed, 2 insertions(+) diff --git a/src/sentry/constants.py b/src/sentry/constants.py index fc526aa8d11cce..66b2a2ad69331a 100644 --- a/src/sentry/constants.py +++ b/src/sentry/constants.py @@ -781,6 +781,7 @@ class InsightModules(Enum): "*/health{/,}", "*/healthy{/,}", "*/healthz{/,}", + "*/health_check{/,}", "*/_health{/,}", r"*/\[_health\]{/,}", "*/live{/,}", diff --git a/tests/sentry/relay/snapshots/test_config/test_get_project_config/REGION.pysnap b/tests/sentry/relay/snapshots/test_config/test_get_project_config/REGION.pysnap index f5deb3a212136d..3b1ffb275a22a1 100644 --- a/tests/sentry/relay/snapshots/test_config/test_get_project_config/REGION.pysnap +++ b/tests/sentry/relay/snapshots/test_config/test_get_project_config/REGION.pysnap @@ -86,6 +86,7 @@ config: - '*/health{/,}' - '*/healthy{/,}' - '*/healthz{/,}' + - '*/health_check{/,}' - '*/_health{/,}' - '*/\[_health\]{/,}' - '*/live{/,}'