Profiles, task heartbeats, browser SDK; drop scanner transactions #135

Merged
CrowderSoup merged 2 commits from claude/profiling-heartbeats into main 2026-11-24 20:49:32 +00:00
Owner

Part of the GlitchTip/Pyroscope rollout across the vSuite.

  • Profiling (Pyroscope): web, each Celery pool process, and the MCP server push CPU and allocation profiles to errors.crowder.cloud/pyroscope (UI: pyroscope.home). Samples are labelled endpoint with the same name GlitchTip gives the transaction (route, Celery task name, tool <name>).
  • Heartbeats: the two Celery beat tasks ping GlitchTip heartbeat monitors when they succeed (settings.HEARTBEATS), so a dead beat or worker alerts.
  • Browser SDK: static/telemetry.js, built from assets/telemetry, sends errors and page-load traces (project vtodo-web) that continue the server's trace. The bundle carries a debug ID, and the deploy uploads its source map.
  • Less noise: transactions for paths no route matches are dropped. Scanner probes made 1,509 of the project's 2,321 transaction groups.
  • sentry-sdk is capped below 3.0, whose span API changed.

Every part is off until its secret is set. New optional repo secrets: SENTRY_BROWSER_DSN, PYROSCOPE_PASSWORD, HEARTBEAT_GCAL_SYNC_URL, HEARTBEAT_VUPLOAD_PURGE_URL, SENTRY_AUTH_TOKEN.

Tests: the full suite passes (910). Python profile push was checked end to end against the real Pyroscope.

🤖 Generated with Claude Code

Part of the GlitchTip/Pyroscope rollout across the vSuite. - **Profiling (Pyroscope)**: web, each Celery pool process, and the MCP server push CPU and allocation profiles to `errors.crowder.cloud/pyroscope` (UI: `pyroscope.home`). Samples are labelled `endpoint` with the same name GlitchTip gives the transaction (route, Celery task name, `tool <name>`). - **Heartbeats**: the two Celery beat tasks ping GlitchTip heartbeat monitors when they succeed (`settings.HEARTBEATS`), so a dead beat or worker alerts. - **Browser SDK**: `static/telemetry.js`, built from `assets/telemetry`, sends errors and page-load traces (project `vtodo-web`) that continue the server's trace. The bundle carries a debug ID, and the deploy uploads its source map. - **Less noise**: transactions for paths no route matches are dropped. Scanner probes made 1,509 of the project's 2,321 transaction groups. - sentry-sdk is capped below 3.0, whose span API changed. Every part is off until its secret is set. New optional repo secrets: `SENTRY_BROWSER_DSN`, `PYROSCOPE_PASSWORD`, `HEARTBEAT_GCAL_SYNC_URL`, `HEARTBEAT_VUPLOAD_PURGE_URL`, `SENTRY_AUTH_TOKEN`. Tests: the full suite passes (910). Python profile push was checked end to end against the real Pyroscope. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
- Pyroscope (observability/profiling.py): CPU and allocation profiles from
  web, each Celery pool process and the MCP server, labelled with the
  request's route, task name or MCP tool, the same names GlitchTip uses.
- Heartbeats: the two Celery beat tasks ping a GlitchTip heartbeat monitor
  when they succeed (settings.HEARTBEATS), so a dead beat or worker alerts.
- Browser SDK (assets/telemetry -> static/telemetry.js, project vtodo-web):
  errors and page-load traces that continue the server's trace. The bundle
  carries a debug ID; the deploy uploads its source map.
- Transactions for paths no route matches are dropped: scanner probes had
  made 1,509 of the project's 2,321 transaction groups.

Each part is off until its secret is set (deploy.yml lists them).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Keep sentry-sdk below 3.0, whose span API changed
All checks were successful
tests / pytest (push) Successful in 1m26s
cad4929c55
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
CrowderSoup deleted branch claude/profiling-heartbeats 2026-11-24 20:49:32 +00:00
Sign in to join this conversation.
No description provided.