cloudflare · Cloudflare Workers Docs
Workers Traces
Enabling and configuring automatic OpenTelemetry-compliant tracing for Cloudflare Workers to monitor fetch calls, binding interactions, and handler lifecycles.
Derived skill
Files assembled from official documentation
Viewing SKILL.md
Workers Traces
Enabling and configuring automatic OpenTelemetry-compliant tracing for Cloudflare Workers to monitor fetch calls, binding interactions, and handler lifecycles.
When To Use
Use when you need to enable end-to-end request visibility, debug performance bottlenecks in subrequests, or export Worker telemetry to third-party platforms like Honeycomb or Grafana.
Reference Files
| File | Contains | Use For |
|---|---|---|
SKILL.md | Entry point: scope, routing table, and workflow. | Start here. |
docs/workers-observability-traces-workflow-guide.md | A guide explaining Workers tracing concepts, automatic instrumentation, and exporting OpenTelemetry traces to third-party destinations. | Questions about a guide explaining Workers tracing concepts, automatic instrumentation, and exporting OpenTelemetry traces to third-p... |
examples/workers-observability-traces-cloudflare-workers-observability-traces-con.text | A configuration object demonstrating how to enable and configure sampling rates for Workers Traces observability. | Exact payloads, commands, or snippets shown in A configuration object demonstrating how to enable and configure sampling rates for Workers Traces observability. |
examples/workers-observability-traces-cloudflare-workers-traces-configuration.text | A text configuration snippet showing how to enable observability traces and set the head sampling rate. | Exact payloads, commands, or snippets shown in A text configuration snippet showing how to enable observability traces and set the head sampling rate. |
examples/workers-observability-traces-cloudflare-workers-observability-traces-con-2.text | A configuration object demonstrating how to enable and set sampling rates for Workers traces and logs. | Exact payloads, commands, or snippets shown in A configuration object demonstrating how to enable and set sampling rates for Workers traces and logs. |
examples/workers-observability-traces-cloudflare-workers-traces-configuration-2.text | A configuration snippet enabling observability traces and logs with specific head sampling rates for Cloudflare Workers. | Exact payloads, commands, or snippets shown in A configuration snippet enabling observability traces and logs with specific head sampling rates for Cloudflare Workers. |
What This Skill Covers
- Tracing gives you end-to-end visibility into the life of a request as it travels through your Workers application and connected services. This helps you iden...
- Main sections:
What is Workers tracing?,Automatic instrumentation,How to enable tracing,Exporting OpenTelemetry traces to a 3rd party destination,Sampling.
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/observability/traces
