autotel-instrumentation

Add tracing and span creation to Node.js applications with function wrapping.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

It streamlines the process of adding observability to Node.js applications by enabling easy tracing, span creation, and instrumentation of functions and handlers.

Core Features & Use Cases

  • Function and handler wrapping: Use trace() and instrument() to automatically create traces and spans for functions.
  • App initialization: Call init() at startup to configure the tracing environment.
  • Use Case: Developers can instrument their API handlers with minimal code changes, gaining insights into performance and errors in production.

Quick Start

Use the autotel-instrumentation skill to trace your async functions and manage spans within your Node.js app.

Frequently Asked Questions about autotel-instrumentation

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

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

To add tracing and monitoring to Node.js functions, you wrap them using trace() and instrument() functions to automatically create traces and spans. You must also call init() at startup to configure the tracing environment and gain production performance insights.

What is function instrumentation in microservices architectures?

Function instrumentation in microservices architectures is the process of wrapping functions and handlers to generate detailed traces and spans. It enhances observability by tracking execution flow and performance across distributed serverless services.

Can I instrument API handlers in serverless applications with minimal code changes?

Yes, you can instrument API handlers in serverless applications with minimal code changes. By wrapping functions and handlers, the instrumentation automatically manages span creation and traces execution without requiring extensive application refactoring.

Do I need to initialize the tracing environment before instrumenting an app?

Yes, you need to initialize the tracing environment before instrumenting an app. Calling init() at startup configures the necessary tracing context, enabling the trace() and instrument() wrappers to properly generate spans and monitor performance.

Does Node.js instrumentation support span creation for async functions?

Yes, Node.js instrumentation supports span creation for async functions. The tooling allows you to trace your async functions and manage spans within your application, capturing detailed execution metrics and observability data for serverless environments.