autotel-request-logging

Capture request-scoped logs with contextual details for API monitoring.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

It enables detailed, request-scoped logging by accumulating context and emitting snapshots to improve observability workflows.

Core Features & Use Cases

  • Contextual Logging: Collects request-specific data like method, path, user info.
  • Emission Control: Sends one comprehensive snapshot per request, ensuring all relevant data is captured.
  • Use Case: In a web server, it helps track individual request flow, errors, and metadata through logs, facilitating debugging and monitoring.

Quick Start

Use the request logger within your request handler to set context and emit logs after processing.

Frequently Asked Questions about autotel-request-logging

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

FAQPage Schema
How do I capture request-scoped logs for API observability?

Request-scoped logging captures detailed contextual data like method, path, and user info for individual API requests. It accumulates this context during the request lifecycle and emits a single comprehensive log snapshot upon request completion to improve observability workflows.

What is the best way to attach contextual information to trace spans?

Attaching contextual information to trace spans involves using middleware to collect request-specific data during the active span lifecycle. This ensures logs are emitted coherently with request completion, supporting middleware integration and active span validation for better troubleshooting.

Can I use middleware to manage request lifecycles in server frameworks?

Yes, middleware manages request lifecycles in server frameworks by intercepting incoming requests to set context and emitting logs after processing. This approach applies to systems using spans and middleware that manage trace spans and request lifecycles.

Why does my request logging lose context across middleware boundaries?

Request logging loses context across middleware boundaries when logs are not properly scoped to the active span or request lifecycle. Ensuring logs are emitted coherently with request completion and validating active spans prevents contextual data loss.

Do I need specific dependencies to implement request context tracing?

No specific dependencies are required to implement request context tracing. The mechanism works within server frameworks and middleware that manage trace spans and request lifecycles, relying on internal scripts and references rather than external libraries.