cloudflare-worker-logs

Query Cloudflare Workers logs and metrics via the Workers Observability API.

Updated Dec 21, 2025
One-click install
npx skills add https://github.com/thurstonsand/ansiblonomicon --skill cloudflare-worker-logs
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cloudflare-worker-logs
Source: https://github.com/thurstonsand/ansiblonomicon/tree/main/.claude/skills/cloudflare-worker-logs
Command: npx skills add https://github.com/thurstonsand/ansiblonomicon --skill cloudflare-worker-logs

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires httpx, and includes scripts (resource) components.

What problem does it solve?

Query and analyze Cloudflare Workers logs and metrics via the Workers Observability API to diagnose issues.

Core Features & Use Cases

  • Real-time and historical log access for Cloudflare Worker scripts using the Observability API.
  • Retrieve and analyze key metrics, events, and observability data to debug failures, latency, and errors.
  • Use dedicated scripts to list workers, fetch specific logs, and extract structured insights for dashboards and reports.

Quick Start

Run a query to fetch recent Cloudflare Worker logs using the Observability API.

Frequently Asked Questions about cloudflare-worker-logs

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

FAQPage Schema
How do I retrieve Cloudflare Worker logs for debugging production issues?

Fetch Cloudflare Worker logs through the Workers Observability API to retrieve events, invocations, and metrics for diagnosing production failures, errors, and latency issues.

What do I need to access Cloudflare Workers observability data?

Accessing Cloudflare Workers observability data requires setting up the CLOUDFLARE_ACCOUNT_ID and CLOUDFLARE_API_TOKEN environment variables for successful authentication with the Workers Observability API.

Can I query historical metrics and events for multiple Cloudflare Worker scripts?

Yes, you can query historical metrics and events for multiple Cloudflare Worker scripts using dedicated scripts designed to list workers, fetch specific logs, and extract structured analytics data.

Does this Cloudflare Workers logging approach work with the httpx library?

Yes, this approach coordinates access to Workers observability endpoints using the httpx dependency to retrieve events, calculations, and invocations for performance analysis.

What is the best way to monitor Cloudflare Workers observability data for performance analysis?

The best way to monitor Cloudflare Workers observability data is by querying the API to extract structured insights, calculations, and invocations for use in dashboards and reports.