cloudflare · Cloudflare Workers Docs
Workers Tail Handler
Implements the tail() handler to process real-time logs and telemetry from producer Workers for streaming to analytics or logging services.
Derived skill
Files assembled from official documentation
Viewing SKILL.md
Workers Tail Handler
Implements the tail() handler to process real-time logs and telemetry from producer Workers for streaming to analytics or logging services.
When To Use
Use when you need to implement a real-time log processing pipeline or stream Worker invocation telemetry to an external analytics service.
Reference Files
| File | Contains | Use For |
|---|---|---|
SKILL.md | Entry point: scope, routing table, and workflow. | Start here. |
docs/workers-runtime-apis-handlers-tail-handler-workflow-guide.md | Documentation detailing the syntax, parameters, and properties of the Workers tail() handler for real-time log processing. | Questions about documentation detailing the syntax, parameters, and properties of the Workers tail() handler for real-time log proces... |
examples/workers-runtime-apis-handlers-tail-handler-cloudflare-workers-tail-handl.text | A JavaScript code example demonstrating how to implement the tail handler to process log events in a Cloudflare Worker. | Exact payloads, commands, or snippets shown in A JavaScript code example demonstrating how to implement the tail handler to process log events in a Cloudflare Worker. |
What This Skill Covers
- The tail() handler is the handler you implement when writing a Tail Worker. Tail Workers can be used to process logs in real-time and send them to a logging...
- Main sections:
Background,Syntax,Parameters,Properties,TailItems.
Workflow
- Open the most relevant file under
docs/for the exact documented workflow and wording. - Open
schemas/files for exact structured contracts. - Open
examples/files for concrete requests, commands, snippets, and manifests. - Do not add behavior or configuration that is not present in the attached source files.
Canonical source: https://developers.cloudflare.com/workers/runtime-apis/handlers/tail
