Menu

// integrations: cloudflare workers

Connect Cloudflare Workers to PingAnywhere

Wire uptime checks to your worker routes and heartbeat your scheduled handlers. Setup takes minutes: URLs and tokens, with nothing to install.

// connect in minutes

01

Create checks for worker routes

Add one HTTP monitor per route with keyword assertions on the body. Probes arrive from 6 regions with x-pa-region headers attached.

02

Heartbeat scheduled handlers

Ping a start token, do the work, then ping the success token, all inside waitUntil so reporting never slows the handler.

async scheduled(event, env, ctx) {
  ctx.waitUntil(fetch("https://ping.pinganywhere.com/cPAT_OK/start"));
  await runNightlySync();
  ctx.waitUntil(fetch("https://ping.pinganywhere.com/cPAT_OK"));
}

03

Read the edge headers

Every ingestion carries x-pa-region and x-pa-latency, so a regional blip and a broken deploy look different at a glance.

PingAnywhere runs on Workers itself, monitored from the same kind of edge your code runs on. $19 flat.

We send one email when your region opens. Unsubscribe any time.

Frequently asked questions

Do I install anything into my worker?

No. Checks hit your public routes, and scheduled handlers ping out with plain fetch. There is nothing to add to your wrangler config.

How fast will I know when something breaks?

Checks run every 30 seconds from 6 regions, and three regions must agree before an alert fires. Fast, with no 3 a.m. false alarms.

Is it free during the beta?

Yes, everything is free during the beta, and waitlist members lock $19/mo forever at launch.