Prompt Buddy logoPrompt Buddy

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.

Import to Prompt Buddy

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

FileContainsUse For
SKILL.mdEntry point: scope, routing table, and workflow.Start here.
docs/workers-observability-traces-workflow-guide.mdA 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.textA 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.textA 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.textA 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.textA 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

  1. Open the most relevant file under docs/ for the exact documented workflow and wording.
  2. Open schemas/ files for exact structured contracts.
  3. Open examples/ files for concrete requests, commands, snippets, and manifests.
  4. Do not add behavior or configuration that is not present in the attached source files.

Canonical source: https://developers.cloudflare.com/workers/observability/traces