Skip to content

Add optional App Health endpoint telemetry - #58

Merged
sarthakagrawal927 merged 1 commit into
mainfrom
feature/app-health-endpoints
Sep 28, 2026
Merged

sarthakagrawal927 merged 1 commit into
mainfrom
feature/app-health-endpoints

Conversation

@sarthakagrawal927

Copy link
Copy Markdown
Member

Summary

  • Add the official App Health 0.4.0 Hono SDK from its immutable public release tarball.
  • Mount opt-in endpoint summaries on Reader's API Worker. Collection stays disabled when APP_HEALTH_INGEST_KEY is absent or blank.
  • Reuse a Worker-local client for one stable key/environment tuple and send delivery through Hono's ExecutionContext.waitUntil path.
  • Test dynamic route normalization, omitted query/header/body values, disabled mode, response preservation, and client reuse.

No secret or production binding was added, and nothing was deployed.

Verification

  • pnpm exec vitest run src/worker.test.ts src/worker/app-health.test.ts — passed (5 tests)
  • pnpm typecheck — passed
  • pnpm exec biome check on changed files — passed
  • Pre-push lint hook — 0 errors, 38 existing warnings across 226 files

Closes #57

@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Updated (UTC)
✅ Deployment successful!
View logs
reader e4dba19 Sep 28 2026, 11:00 PM

@sarthakagrawal927
sarthakagrawal927 merged commit 54bab0d into main Sep 28, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add optional App Health endpoint telemetry to the Worker API

1 participant