maple-csharp-style

Configure OpenTelemetry tracing, metrics, and logging in ASP.NET Core services.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill helps .NET developers wire OpenTelemetry tracing, metrics, and logging into ASP.NET Core applications to ship telemetry to Maple's observability backend.

Core Features & Use Cases

  • Configure OpenTelemetry via IServiceCollection to enable ASP.NET Core instrumentation for traces, HTTP client calls, metrics, and logs with an OTLP exporter.
  • Inline the endpoint and ingest key — a project-scoped, write-only token — eliminating env-var indirection.
  • Supports coexistence with existing telemetry backends by allowing multiple exporters and shared resources.

Quick Start

Install the required OpenTelemetry packages and wire them into your ASP.NET Core startup using the Maple OTLP endpoint and ingest key.

Frequently Asked Questions about maple-csharp-style

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

FAQPage Schema
How do I configure OpenTelemetry tracing in an ASP.NET Core application?

You configure OpenTelemetry tracing by wiring the OpenTelemetry.Extensions.Hosting package into your ASP.NET Core startup via IServiceCollection, enabling ASP.NET Core and HTTP instrumentation with an OTLP exporter for telemetry delivery.

What is needed to send .NET application logs and traces to Maple?

Sending .NET traces and logs to Maple requires installing the OpenTelemetry.Extensions.Hosting, Exporter.OpenTelemetryProtocol, Instrumentation.AspNetCore, and Instrumentation.Http packages, plus a static Maple endpoint and a project-scoped ingest key.

Can I inline the OTLP endpoint and ingest key instead of using environment variables?

Yes, you can inline the Maple OTLP endpoint and ingest key directly in your .NET service configuration, eliminating environment variable indirection while securely transmitting telemetry using a project-scoped, write-only token.

Does ASP.NET Core OpenTelemetry instrumentation support coexisting with other telemetry backends?

Yes, ASP.NET Core OpenTelemetry instrumentation supports coexistence with existing telemetry backends by allowing multiple OTLP exporters and shared resources within the same .NET service configuration without conflicts.

How do I enable metrics and logging alongside tracing in dotnet using OpenTelemetry?

You enable metrics and logging alongside tracing in dotnet by configuring OpenTelemetry via IServiceCollection in your ASP.NET Core app to capture traces, metrics, and logs, routing them through the OTLP exporter.