autotel-core

Instrument Node.js and edge services with OpenTelemetry traces and request logging.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill provides comprehensive instrumentation for Node.js and edge environments to enable efficient tracing, logging, and error handling, reducing the complexity of performance monitoring.

Core Features & Use Cases

  • Function Wrapping with Traces and Spans: Wraps asynchronous functions to automatically create traces and handle errors.
  • Request-scoped Logging: Enables structured request logging with context attributes to improve observability.
  • Error Parsing and Structuring: Facilitates consistent error handling and parsing for frontend and backend systems.
  • Use Case: Developers implementing distributed systems can instrument their APIs, automatically gather traces, logs, and errors, and improve monitoring without rewriting existing code.

Quick Start

Initialize the SDK with service name, then wrap HTTP handlers with trace() and retrieve logs with getRequestLogger() during request processing.

Frequently Asked Questions about autotel-core

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

FAQPage Schema
How do I add OpenTelemetry tracing to Node.js and edge functions?

OpenTelemetry tracing for Node.js and edge functions is added by initializing the SDK and wrapping HTTP handlers with the trace() function to automatically create spans for asynchronous operations.

What is the best way to handle structured errors in distributed Node.js systems?

Structured error handling in distributed Node.js systems is managed by parsing and structuring errors consistently across frontend and backend systems, which simplifies debugging and improves overall observability.

How do I enable request-scoped logging in Node.js without external dependencies?

Request-scoped logging in Node.js is enabled by using built-in modules to retrieve context-specific loggers via getRequestLogger(), ensuring structured logs contain request attributes without needing external dependencies.

Can I instrument production-grade APIs with OpenTelemetry without rewriting existing code?

Production-grade APIs can be instrumented with OpenTelemetry without rewriting existing code by wrapping current asynchronous HTTP handlers to automatically gather traces, logs, and structured errors.

Does OpenTelemetry work in edge environments for Node.js observability?

OpenTelemetry works in edge environments by providing comprehensive instrumentation designed specifically for edge services, enabling efficient tracing, logging, and error handling to reduce performance monitoring complexity.

Why do I need request-scoped logs when tracing Node.js applications?

Request-scoped logs are needed when tracing Node.js applications because they attach context attributes to specific traces, allowing developers to isolate performance bottlenecks and parse errors accurately during request processing.