autotel-cloudflare

Instrument Cloudflare Workers with OpenTelemetry tracing for bindings and operations.

7|3|Updated Nov 26, 2025
One-click install
npx skills add https://github.com/jagreehal/autotel --skill autotel-cloudflare
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: autotel-cloudflare
Source: https://github.com/jagreehal/autotel/tree/main/packages/autotel-cloudflare/skills/autotel-cloudflare
Command: npx skills add https://github.com/jagreehal/autotel --skill autotel-cloudflare

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides comprehensive OpenTelemetry instrumentation for Cloudflare Workers, enabling seamless performance monitoring and tracing within serverless edge environments.

Core Features & Use Cases

  • API-instrumentation: Supports multiple API styles (instrument, wrapModule, trace) for flexible adoption.
  • Binding Coverage: Instruments various bindings like KV, R2, D1, AI, Vectorize, Queues, and Durable Objects, automatically creating tracing spans for their operations.
  • Use Case: Deploy a Cloudflare Worker that tracks KV get/set operations, HTTP requests, and background queue tasks with integrated observability, facilitating debugging and performance optimization.

Quick Start

Import instrument() from autotel-cloudflare and use it to instrument your main handler or module, enabling automatic tracing of fetch and bindings operations.

Frequently Asked Questions about autotel-cloudflare

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I add OpenTelemetry instrumentation to Cloudflare Workers?

To add OpenTelemetry instrumentation to Cloudflare Workers, import the instrument() function and apply it to your main handler or module to automatically enable tracing for fetch operations and serverless edge code blocks.

Can I trace Cloudflare Workers bindings like KV, R2, and D1?

Yes, you can trace Cloudflare Workers bindings like KV, R2, and D1. This instrumentation automatically creates tracing spans for various bindings including AI, Vectorize, Queues, and Durable Objects operations.

What is the best way to monitor serverless code performance in a Cloudflare Edge environment?

Monitoring serverless code performance in a Cloudflare Edge environment is best achieved through comprehensive OpenTelemetry instrumentation that enables seamless performance tracking, logging, and analysis of serverless code blocks.

Does this instrumentation support different API styles for tracing Cloudflare Workers?

Yes, this instrumentation supports different API styles for tracing Cloudflare Workers. It offers multiple flexible adoption methods including instrument, wrapModule, and trace APIs to fit various serverless code structures.

How do I debug background queue tasks and HTTP requests in Cloudflare Workers?

To debug background queue tasks and HTTP requests in Cloudflare Workers, deploy an instrumented worker that tracks these operations with integrated observability, facilitating performance optimization and issue resolution.