maple-nextjs-style

Community

Instrument Next.js apps with Maple observability.

AuthorMakisuo
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Next.js apps often require robust observability to diagnose performance, reliability, and user experience issues. Maple's OpenTelemetry style provides a framework-backed approach to instrument Next.js projects, enabling end-to-end traces, metrics, and logs that align with Maple ingest.

Core Features & Use Cases

  • Framework-specific bootstrap: use the Vercel OpenTelemetry bootstrap to wire Next.js routes, API routes, and edge functions into Maple.
  • Inline configuration: configure service name, environment attributes, and maple ingest endpoint directly in instrumentation code for predictable behavior across deploys.
  • Compatibility and guidance: supports both Next.js deployments on Vercel and self-hosted environments with native OpenTelemetry APIs, avoiding ad-hoc provider changes.

Quick Start

Set up Maple instrumentation by creating an instrumentation.ts file and calling the inline registerOTel function with the Maple endpoint and ingest key.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: maple-nextjs-style
Download link: https://github.com/Makisuo/maple/archive/main.zip#maple-nextjs-style

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 510,000+ vetted skills library on demand.