{"repo":"cometkim/cc-monitor-worker","free":true,"listed":false,"github":"https://github.com/cometkim/cc-monitor-worker","clone":"git clone https://github.com/cometkim/cc-monitor-worker.git","description":"Claude Code monitoring with Cloudflare Workers & Workers Analytics Engine","language":"TypeScript","stars":21,"topics":["claude-code","cloudflare-workers","opentelemetry"],"license":"MIT","category":"analytics","readme_excerpt":"Claude Code Monitoring w/ Cloudflare Workers Monitor your Claude Code usage with Cloudflare Workers and Workers Analytics Engine. - Public, Secure endpoint - Powerful analytics via SQL - Truly Serverless , zero-maintenance One-click deployment with Two-modes of Monitoring There are two option to monitoring your Claude Code usage: 1. Using OpenTelemetry 2. Using LLM Gateway Each has its own needs and pros and cons. You should choose an option based on your needs. Monitoring via OpenTelemetry This is officially supported, and recommended way to monitor Claude Code usage. Claude exports precise activities and use cases into a defined metrics schema. It includes all the context for analyzing costs, productivity, and usage patterns. However, Claude Code's OTEL integration is not durable. A lot of data will not being collected. It's better suited for tracking trends rather than accurate usage data. See README OTEL for more details. Monitoring via API Proxy Claude Code also allow to use a custom LLM gateway. Implementing an LLM gateway allows you to intercept all requests to Claude Code and calculate exact API costs. It can be used to monitor other coding agents such as OpenCode as well. However, API requests don't include the context of the Claude Code application, making it difficult to analyze accurate usage patterns. See README PROXY for more details. Data Retention Cloudflare Analytics Engine only stores data for the past three months. To analyze older data, you must archive it","default_branch":null,"files":null,"tree":[],"storefront":"/r/cometkim","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/cometkim/cc-monitor-worker/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}