Filter Durable Object logs and traces by instance ID
Workers Logs and OpenTelemetry spans for Durable Object requests include the Durable Object instance ID.
Use $workers.durableObjectId to filter logs for a specific instance. Root and child spans include the same ID in cloudflare.durable_object.id.
Use these fields to isolate a specific instance and correlate its logs and traces.
For more information, refer to Durable Objects metrics and analytics and Workers tracing spans and attributes.