fix: Add namespace correlation to sentry monitoring (#870)

This commit is contained in:
Vineeth Voruganti 2026-07-02 16:49:23 -04:00 committed by GitHub
parent 63ea82c084
commit 502e20a1cc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 7 additions and 2 deletions

View File

@ -102,6 +102,11 @@ def initialize_sentry(
integrations=integrations,
)
# Tag every event with the configured namespace so errors can be filtered by
# instance. Set on the global scope so it applies regardless of the current
# isolation/task scope.
sentry_sdk.get_global_scope().set_tag("namespace", settings.NAMESPACE)
def with_sentry_transaction(
name: str, op: str

View File

@ -8,7 +8,7 @@ resolution-markers = [
]
[options]
exclude-newer = "2026-06-19T14:44:24.535479Z"
exclude-newer = "2026-06-27T20:44:32.746059Z"
exclude-newer-span = "P5D"
[manifest]
@ -1270,7 +1270,7 @@ dev = [
[[package]]
name = "honcho-ai"
version = "2.1.2"
version = "2.2.0"
source = { editable = "sdks/python" }
dependencies = [
{ name = "httpx" },