observability-edot-dotnet-instrument

Instrument .NET applications with Elastic OpenTelemetry for automatic tracing, metrics, and logs.

31|4|Updated Feb 24, 2026
One-click install
npx skills add https://github.com/elastic/cursor-plugins --skill observability-edot-dotnet-instrument
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: observability-edot-dotnet-instrument
Source: https://github.com/elastic/cursor-plugins/tree/main/elastic/skills/observability/edot-dotnet-instrument
Command: npx skills add https://github.com/elastic/cursor-plugins --skill observability-edot-dotnet-instrument

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Instrument a .NET service to collect traces, metrics, and logs with Elastic Distribution of OpenTelemetry (EDOT) without needing a pre-existing APM agent.

Core Features & Use Cases

  • Automatic tracing, metrics, and logs for .NET services using EDOT.
  • Minimal integration: add EDOT via startup configuration and environment variables.
  • Use Case: Modernize a legacy .NET service by adding observable telemetry with zero code changes to business logic.

Quick Start

Follow the EDOT .NET setup guide and enable EDOT in your startup code

Frequently Asked Questions about observability-edot-dotnet-instrument

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

FAQPage Schema
How do I instrument a .NET app for automatic tracing without an APM agent?

To instrument a .NET app for automatic tracing without an APM agent, add Elastic Distribution of OpenTelemetry via startup configuration and environment variables to collect traces, metrics, and logs.

What is the best way to add OpenTelemetry metrics and logs to a legacy .NET service?

Adding OpenTelemetry metrics and logs to a legacy .NET service is best done using EDOT, which modernizes applications with observable telemetry through minimal startup integration and zero business logic code changes.

Do I need to manually configure TracerProvider or MeterProvider to use Elastic OpenTelemetry?

You do not need to manually configure TracerProvider or MeterProvider to use Elastic OpenTelemetry, because EDOT guides startup integration automatically and handles telemetry collection via standard setup steps.

Can I use Elastic OpenTelemetry to collect traces for an ASP.NET Core application?

Yes, you can use Elastic OpenTelemetry to collect traces for an ASP.NET Core application, as the setup satisfies dependencies on Elastic.OpenTelemetry and OpenTelemetry.Instrumentation.AspNetCore packages.

Does adding EDOT instrumentation require modifying my existing application code?

Adding EDOT instrumentation does not require modifying existing application code, because it applies automatic tracing, metrics, and logs through environment variables and startup configuration without touching business logic.

Why use Elastic Distribution of OpenTelemetry instead of a traditional APM agent for .NET?

Using Elastic Distribution of OpenTelemetry instead of a traditional APM agent for .NET provides unified traces, metrics, and logs through standard OpenTelemetry protocols, enabling automatic telemetry collection without pre-existing agents.