observability

Guide Vercel observability with runtime logs, structured logging, and OpenTelemetry.

246|42|Updated Mar 4, 2026
One-click install
npx skills add https://github.com/vercel-labs/vercel-plugin --skill observability-vercel-labs
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: observability
Source: https://github.com/vercel-labs/vercel-plugin/tree/main/skills/observability
Command: npx skills add https://github.com/vercel-labs/vercel-plugin --skill observability-vercel-labs

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill helps you understand and implement Vercel's observability features, ensuring your applications are performant, reliable, and debuggable.

Core Features & Use Cases

  • Structured Logging: Implement best practices for logging in Vercel functions and API routes.
  • Monitoring: Integrate Vercel Analytics and Speed Insights for real-user performance data.
  • Debugging: Utilize runtime logs and drains to troubleshoot issues effectively.
  • Use Case: When a user reports that their Vercel deployment is slow or experiencing errors, this Skill provides the guidance to add structured logging, set up Speed Insights, and configure log drains for deeper analysis.

Quick Start

Add structured logging to your API route by following the baseline example provided in the documentation.

Frequently Asked Questions about observability

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

FAQPage Schema
How do I add structured logging to Vercel API routes?

Structured logging in Vercel API routes is implemented by following baseline examples provided in the documentation to ensure your applications are debuggable. This helps troubleshoot issues effectively when users report errors.

What is the best way to monitor real-user performance on Vercel?

Monitoring real-user performance on Vercel is best achieved by integrating Vercel Analytics and Speed Insights. These features provide real-user performance data to ensure your applications remain performant and reliable.

Can I use OpenTelemetry with Vercel observability features?

OpenTelemetry integrates with Vercel's observability stack to support instrumentation and debugging. It also supports various third-party monitoring solutions for deeper analysis of your deployed applications.

How do I configure log drains for troubleshooting Vercel deployments?

Configuring log drains allows you to utilize runtime logs to troubleshoot issues effectively on Vercel. This provides deeper analysis capabilities when a deployment is slow or experiencing errors.

Does Vercel observability support third-party monitoring solutions?

Vercel observability supports various third-party monitoring solutions alongside its native stack. This allows you to integrate external tools for comprehensive instrumentation, debugging, and performance optimization.

Why do I need Speed Insights for my Vercel application?

Speed Insights are needed to collect real-user performance data for your Vercel application. They help identify performance bottlenecks and ensure your deployed applications remain performant for end users.