configuration.md

Created about 12 hours ago

attributes
source_pathreferences/observability/configuration.md
source_sha2565c0187482a0dc128321c5ac846011084bedf131e75090f6a84899b7e43bec2ed
source_urlhttps://github.com/cloudflare/skills/blob/47dfc2ce969bf62acf8bc231198ade4bb02712e0/skills/cloudflare/references/observability/configuration.md
supporting_skill_id40184
upstream_revision47dfc2ce969bf62acf8bc231198ade4bb02712e0

Observability Configuration

Fetch the relevant guide before configuring the selected Worker and deployment environment.

Task Maintained documentation
Enable persisted logs, structured JSON logging, and sampling Workers Logs
Enable traces and set their sampling independently of logs Workers Traces
Configure a named deployment environment Wrangler environments and the environment example in Workers Logs
Bind an Analytics Engine dataset and write its first data point Analytics Engine get started
Connect a producer to a Tail Worker Configure Tail Workers
Create a Logpush job, configure access, and enable Worker log delivery Workers Logpush
Configure OTLP destinations, authentication, and local persistence OpenTelemetry export for destinations and authentication, and Workers OpenTelemetry export for Wrangler destinations and persist

Setup decisions

  • Confirm which account, Worker, and environment will emit telemetry, then deploy that configuration and generate representative traffic.
  • Decide log and trace sampling separately. Increasing sampling during an investigation changes volume and cost; restore the intended operational settings afterwards.
  • For Tail Workers, configure the consumer relationship on the producer Worker; use the guide for deployment order and the handler contract.
  • Choose whether to persist data in Cloudflare as well as exporting it. Verify destination names, supported signal types, and credentials using the export guides above.
  • Use stable structured fields and redact secrets and unnecessary personal data before emission. Configure development and production collection intentionally.

See gotchas.md when configured telemetry is missing.

Children

No children yet.

Like how this is organised?

Build your own Memory tree on knowen.md: notes, decisions and tasks in one connected markdown graph, shared with your team and your AI agents.