autotel-adapters

Wrap server handlers with request-scoped logging and tracing across Node.js frameworks.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill provides framework-specific wrappers that enable consistent request-scoped logging, tracing, and utility functions across multiple server environments, reducing development complexity.

Core Features & Use Cases

  • Handler Wrappers: Facilitate automatic span creation and logger binding in Next.js, Nitro, Cloudflare Workers, Hono, and TanStack Start.
  • Logger Utilities: Provide functions like useLogger() for easy access to request qualifiers within handlers.
  • Toolkit Bundles: Offer *Toolkit objects that include error parsing, structured error creation, and drain pipeline generation, supporting consistent debugging and observability.
  • Use Case: Developers building API endpoints or server functions can quickly add request-level observability with minimal boilerplate, ensuring trace context propagation and logging coherence.

Quick Start

Import the framework-specific functions like withAutotel and useLogger and wrap your handlers to enable request-scoped logging and tracing automatically.

Frequently Asked Questions about autotel-adapters

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

FAQPage Schema
How do I add request-scoped logging and tracing to Node.js serverless handlers?

Request-scoped logging and tracing is added by wrapping server handlers with the `withAutotel` function, which automatically binds loggers and creates spans for each request in Node.js environments.

What frameworks are supported for automatic instrumentation of request-level observability?

Automatic instrumentation of request-level observability supports Next.js, Nitro, Cloudflare Workers, Hono, and TanStack Start, enabling consistent tracing and logging across these diverse server environments.

How does request-scoped tracing work in distributed systems using this middleware?

Request-scoped tracing works by using handler wrappers to automatically create spans and propagate trace context across distributed systems, ensuring logging coherence and robust observability for debugging.

Do I need framework-specific packages to use these serverless logging utilities?

Yes, using these serverless logging utilities requires framework-specific packages along with optional dependencies based on your specific server environment to properly instrument handlers and middleware.

What is the best way to access request qualifiers within API endpoint handlers for debugging?

The best way to access request qualifiers within API endpoint handlers is using the `useLogger()` utility function, which provides easy access to request-scoped data for consistent debugging and observability.

Can I parse errors and generate drain pipelines consistently across Next.js and Hono?

Yes, you can parse errors and generate drain pipelines consistently across Next.js and Hono using the bundled `*Toolkit` objects, which offer structured error creation and parsing for robust observability.