maple-nodejs-style

Implement Node.js OpenTelemetry tracing in Maple apps via preload bootstrap.

1.6k|107|Updated Feb 15, 2026
One-click install
npx skills add https://github.com/Makisuo/maple --skill maple-nodejs-style
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: maple-nodejs-style
Source: https://github.com/Makisuo/maple/tree/main/skills/maple-nodejs-style
Command: npx skills add https://github.com/Makisuo/maple --skill maple-nodejs-style

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Plain Node.js OpenTelemetry style for Maple: NodeSDK + --import bootstrap, native @opentelemetry/api call sites, inline endpoint + ingest key, OTLP HTTP exporters.

Core Features & Use Cases

  • Preload NodeSDK bootstrapping before app startup
  • Support for Express, Fastify, Hono, and Bun with automatic instrumentations
  • Export traces, logs, and metrics to Maple via HTTP OTLP exporters
  • Use Case: Instrument a microservice to emit traces and metrics to Maple for centralized observability

Quick Start

Bootstrap tracing by loading the telemetry bootstrap before your app starts.

Frequently Asked Questions about maple-nodejs-style

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

FAQPage Schema
How do I set up OpenTelemetry tracing in a Node.js application?

You can instrument Node.js telemetry by using NodeSDK with a preload bootstrap to inject automatic instrumentation and export traces, logs, and metrics to Maple's HTTP OTLP endpoints.

Does OpenTelemetry instrumentation work with Express, Fastify, Hono, and Bun?

Yes, the NodeSDK bootstrap applies automatic instrumentation to Express, Fastify, Hono, and Bun-based projects by injecting telemetry exporters before app startup.

How do I export traces, logs, and metrics from Node.js to Maple?

You export telemetry data to Maple by configuring HTTP OTLP exporters with inline endpoints and ingest keys within your NodeSDK bootstrap configuration.

Do I need to use the NodeSDK preload bootstrap for OpenTelemetry in Maple?

Yes, using the NodeSDK preload bootstrap via --import before app startup is required to properly inject automatic instrumentation and satisfy Maple's HTTP OTLP export requirements.

What is the best way to configure service attributes for Node.js OTLP exports?

The best way to configure service attributes is by defining them within the NodeSDK bootstrap file alongside your inline OTLP exporter endpoint and ingest key settings.

Why use HTTP OTLP exporters for Node.js microservice observability?

HTTP OTLP exporters are used to transmit traces, logs, and metrics from your microservices to Maple, enabling centralized observability without complex protocol dependencies.