Dashboard › sentry › Distillation
Distillation
ID: 98fb2dbd-a194-4c96-b5c1-67576c915db0
Generation: 0
Tokens: 1028
R_compression: 11.435
C_norm: 0.001
Archived: No
Created: 2026-07-30 16:51:46
Source IDs:
["5c046696168cb1a1d4351ff61aa59e8f","3e2889f2f6b4d4548aeb7e06be89511f","fedbe8e64f393574432c771f5702e6f2","559140fda334c6f40118ed22bc3383ad","a1e7dd01b006e01ac39b2021378efa06","8b3288cd1cbc602532663ef1a85850be","bcec4056e4e9073c7f804cacd5929b7f","91410161558e49f0e2a1eac6eb847d60","13bd9f383470102979ce7e3ce0493d30","5bf007d666fe9a1868b6bcb699bd3fc8","a1c5395aa3c83ec7544d194c23089115","a1e5f3ccfdae92b54823c333fc02f149","4bf2a94e29945c1d7f97d96348e7b4fe","3b8a9ab3a451037d31a63aa789e97957","7f7629b7ec7c0c1ebf656fc9b944e599","007e80dc4e2772948d9102667917f034","d60913c799f6b1261a022918763d3cc9"]
Observations
<observations>
Date: July 30, 2026
* 🔴 (16:49) User pointed to specific receiver in getsentry: `getsentry/receivers/orbital.py` (referenced GitHub URL with commit 659fd1d7b7c7dc33e34a91cd08b4aa5b48d288f9). Powers live.sentry.io
* 🟡 (16:49) webfetch failed with statuscode-non-xx-status for the github.com raw URL (×2 occurrences this segment). User's local clone at `/home/byk/Code/getsentry/getsentry/getsentry/receivers/orbital.py` was used instead
* 🟢 [tool-failure] (16:49) webfetch:other:statuscode-non-xx-status encountered on github.com URLs in this session — used local filesystem fallback
* 🟡 (16:50) orbital receiver contents at `getsentry/receivers/orbital.py:1-46`:
- L4: `from sentry.signals import event_accepted`
- L8: `from getsentry.settings import ORBITAL_UDP_SERVER`
- L10-17: try/except parsing `ORBITAL_UDP_SERVER` (host:port) and creating `socket.AF_INET, socket.SOCK_DGRAM`; on exception sets `udp_socket = None`
- L22: `@event_accepted.connect(weak=False)`
- L23: `def notify_orbital(ip, data=None, **kwargs):`
- L24-25: returns early if `udp_socket is None`
- L26-29: tries `geo_by_addr(ip)`, returns silently on exception
- L31-32: returns silently if `result` falsy
- L34-37: extracts platform from `data.get("platform") or "other"`, lowercase
- L39-44: builds packet `[round(lat,4), round(lng,4), int(time()*1000), platform]`
- L46: `udp_socket.sendto(dumps(data).encode("utf-8"), udp_addr)`
* 🟡 (16:50) orbital receiver module-load import chain:
- `getsentry/receivers/__init__.py:8` → `from .orbital import *`
- `getsentry/models/__init__.py:67` → `import getsentry.receivers`
- Therefore activated in any getsentry Django-aware process (consumers, web, workers)
* 🟡 (16:50) Receivers directory contents enumerated (15 files): activity.py, analytics.py, billing.py, cell.py, console_sdk_invite.py, incidents.py, __init__.py, lead_capture.py, orbital.py, policy.py, project.py, relocation.py, slack.py, spike_protection.py, usage.py, vercel.py
* 🟡 (16:50) git log on orbital.py shows only 2 commits total:
- `22243ea6ab chore(singletenant) Handle orbital not being configured (#9958)` by Mark Story, Thu Mar 23 15:34:27 2023 -0400 — added try/except to gracefully handle missing `ORBITAL_UDP_SERVER` for single-tenant
- `95817ddbcc ref: vendor sentry-orbital (#7514)` — older refactor
* 🟡 (16:50) No recent local changes to `orbital.py`, `receivers/__init__.py`, or `models/__init__.py` in last 2 months (git log returned empty for those paths within window). Local source-side changes ruled out as cause of volume drop
* 🟡 (16:50) Assistant verified: drop is upstream of receiver, not in the receiver itself. Fewer `event_accepted.send_robust()` calls reaching `process_event` line 313 means fewer orbital UDP packets. Supports flag-hypothesis diagnosis
* 🟡 (16:50) Assistant proposed two verification approaches:
1. Counter-test: restart one ingest consumer pod with `--reprocess-only-events-not-in-nodestore` removed; watch orbital traffic for spike
2. Metric: temporarily add `metrics.incr("orbital.event