fix: Add namespace correlation to sentry monitoring (#870)
This commit is contained in:
parent
63ea82c084
commit
502e20a1cc
|
|
@ -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
|
||||
|
|
|
|||
4
uv.lock
4
uv.lock
|
|
@ -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" },
|
||||
|
|
|
|||
Loading…
Reference in New Issue