Cloudflare Workers Otel Utels

Cloudflare Worker telemetry at the fetch boundary — OTLP traces / metrics / logs + utels error tracking + D1 Proxy that emits slow-query warnings. Use when adding observability to a Worker without touching handler code.

423 stars 6 forksDevOps & Cloud

Install

skills CLI (Claude Code, Cursor, Codex and more)
npx skills add mizchi/skills --skill cloudflare-workers-otel-utels
Manual install
git clone --depth 1 https://github.com/mizchi/skills.git /tmp/skills
mkdir -p ~/.claude/skills
cp -r /tmp/skills/cloudflare-workers-otel-utels ~/.claude/skills/cloudflare-workers-otel-utels

Personal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.

From the SKILL.md

# Cloudflare Workers OTel + utels boundary

Two wrappers compose around a Worker's `fetch` handler. OTLP and utels export activate when configured; D1 slow-query logging works even without an OTLP endpoint.

```
withUtelsErrorTracking(withTelemetry(coreHandler))
```

- `withTelemetry` — OTLP traces / metrics / logs push when any `OTEL_EXPORTER_OTLP_*` endpoint is configured. Also wraps every D1 binding with a Proxy that logs `event: "d1.slow_query"` for Workers Logs in the dashboard, **even without OTLP**, so the slow-query story works on a fresh deploy.
- `withUtelsErrorTracking` — pushes one `exception` event per 5xx response or thrown exception to a [utels.dev](https://utels.dev) project. The endpoint, project ID, and ingest token are env-configured.

## When to invoke

Use when you're:
- Standing up observability on a new Worker, want OTLP-compatible traces and metrics to any backend (Honeycomb, Grafana Cloud, Tempo, Jaeger collector, …).
- Adding server-side error tracking via utels without changing handler code.
- Investigating a slow query: drop the threshold env var and inspect Workers Logs in the dashboard.

## What's in here

### `assets/scripts/telemetry-runtime.ts`

Copy this file and `d1-wrap.ts` together into `src/`; the runtime imports `./d1-wrap.ts`. It exports `withTelemetry` and `withUtelsErrorTracking` and is bundled by `cf build` through the Cloudflare Vite plugin.

Hot points to customize per-project:
Read the full skill on GitHub

Details

Skill name
cloudflare-workers-otel-utels
Repository
mizchi/skills
Path
cloudflare-workers-otel-utels/SKILL.md
Repo updated
18 November 2026

FAQ

What does the Cloudflare Workers Otel Utels skill do?

Cloudflare Worker telemetry at the fetch boundary — OTLP traces / metrics / logs + utels error tracking + D1 Proxy that emits slow-query warnings. Use when adding observability to a Worker without touching handler code.

How do I install the Cloudflare Workers Otel Utels skill?

skills CLI (Claude Code, Cursor, Codex and more): npx skills add mizchi/skills --skill cloudflare-workers-otel-utels. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.

Is Cloudflare Workers Otel Utels popular?

It lives in mizchi/skills, which has 423 GitHub stars and 6 forks.

Related skills

Actions CI Tuning

423

mizchi/skills

Use when auditing or improving GitHub Actions workflows for a project. Covers cache setup (npm/pnpm/yarn), job parallelism, shard-based test splitting, artifact handling pitfalls, and Playwright-specific patterns. Trigger on: slow CI, cache miss, flaky shard jobs, merge-reports failures, or an explicit 'tune CI' request.

Testing & QA

AI Index

423

mizchi/skills

Method and tooling for measuring how AI-generated a piece of prose reads, in Japanese or English. Two layers — a deterministic lint for removable surface tells (scripts/slopscore.py, no API) and a judgment layer of typed probabilistic questions (Jev noul/score) for the tells that survive editing. Includes measured human/AI baselines, a gap-first calibration procedure, and labeled fixtures. Use when building or calibrating an AI-likeness score, or when a draft needs a defensible number rather than a vibe. For writing guidance use natural-writing-ja / natural-writing-en instead.

AI, LLMs & Agents

Apm Usage

423

mizchi/skills

Reference for APM manifests, installation, targeted updates, deployment paths and lockfiles. Invoke when the user explicitly asks about APM or apm.yml, or an unfamiliar APM command/error needs exact CLI details. Do not automatically invoke for every project that happens to have installed skills.

DevOps & Cloud

K8S Crd From Typed Schema

423

mizchi/skills

Use when generating Kubernetes CustomResourceDefinitions from a typed schema source (zod / TypeBox / Valibot / json-schema). Covers the Structural Schema dialect's restrictions, the /status subresource trap, the metadata-prohibition rule, and plural inflection — the four pitfalls that bite on first attempt.

DevOps & Cloud

Cloudflare Workers CD Rollback

423

mizchi/skills

GitHub Actions CD for Cloudflare Workers through cf with automatic traffic rollback on smoke failure, including JSON deployment snapshots, D1 migrations and prebuilt artifacts.

DevOps & Cloud

Mcloud Deployments

237

medusajs/medusa-agent-skills

Execute mcloud deployments commands to list deployments, retrieve deployment details, and fetch build logs. Use when listing deployments, checking deployment status, or reading build output for debugging build failures.

DevOps & Cloud29

Browse the most popular Claude skills, all devops & cloud skills, or write your own with the skills generator.