What problem does it solve?
This Skill eliminates the inconsistent, boilerplate-heavy process of instrumenting Effect-TS applications in the Maple ecosystem with OpenTelemetry, ensuring reliable trace and log correlation out of the box.
Core Features & Use Cases
- Effect-Native Observability Primitives: Provides preconfigured Maple.layer() bootstrap patterns and Effect.withSpan / Effect.annotateCurrentSpan call sites for seamless trace instrumentation without raw OpenTelemetry API usage.
- Runtime-Specific Entry Points: Includes tailored setup guides for Node.js/Bun/Deno servers, browser clients, and Cloudflare Workers, each handling unique lifecycle requirements like graceful shutdown and isolate buffering.
- Use Case: A developer building an Effect-based orders API can add full distributed tracing and trace-correlated structured logging in minutes, with automatic population of resource attributes like commit SHA and service name, no manual OTLP exporter configuration required.
Quick Start
Use the maple-effect-style skill to implement trace-correlated logging and custom spans for your Effect-TS Maple application following the official SDK best practices.