Durable Objects metrics can now zoom in on a single object!
Hello, Shiichan here! Today I've got a small but handy update for Durable Objects metrics. It looks low-key, but if you spend time debugging it's a nice one!
Cloudflare ChangelogWhat was announced?
Over on Cloudflare's Changelog, they announced that you can now filter Durable Objects metrics down to a single object by its ID or name. It lives in the Metrics tab in the Cloudflare dashboard.
The story so far
Until now, the metrics charts only showed aggregate, namespace-level data. So when a single object was misbehaving, it was pretty hard to isolate just that object's behavior from everything else.
What changes
Start typing an ID or name into the filter, and you pick a match from the autocomplete dropdown. Only objects that were actually invoked during the selected time range show up as suggestions. So if an object doesn't appear, it wasn't invoked in that window (which doesn't necessarily mean it was deleted).
Once you pick one, every chart on the page updates to show only that object. That makes it much easier to chase down a high-traffic object, an error spike, or unexpected storage usage one object at a time. Clear the filter and you're back to namespace-level metrics.
Dive Deep
These metrics are powered by the GraphQL Analytics API, so the usual analytics quirks like ingestion delay and sampling still apply. Keep that in the back of your mind. If you want the full details, check out the Metrics and analytics docs.
Wrap-up
- You can now filter Durable Objects metrics to a single object by ID or name
- It's in the dashboard Metrics tab, and you just pick from autocomplete
- Suggestions only include objects invoked in the selected window, and every chart switches to that object
- It's built on the GraphQL Analytics API, so delay and sampling behavior is the same as always
If you want to track a specific object's errors or traffic, or you're deep in Durable Objects debugging, this update is for you!