elastic avatar

Observability Edot Dotnet Migrate

If you're moving a .NET application off Elastic's classic APM agent and onto their OpenTelemetry distribution (EDOT), this walks Claude through the migration. It strips out all the old Elastic.Apm.* packages, removes the UseAllElasticApm calls, then wires in Elastic.OpenTelemetry with the correct builder registration. The key gotcha it handles: making sure you set the three required OTEL environment variables and point to a proper OTLP endpoint, not the old APM Server URL. It's narrow in scope but saves you from the documentation hunt when you need to do this exact swap. Works best when you have an existing instrumented app that needs the upgrade.

GitHub stars
503
last updated
Jun 1, 2026

Install

$ npx -y skills add elastic/agent-skills --skill observability-edot-dotnet-migrate --agent claude-code

Installs into .claude/skills of the current project.

Files

If you're moving a .NET application off Elastic's classic APM agent and onto their OpenTelemetry distribution (EDOT), this walks Claude through the migration. It strips out all the old Elastic.Apm.* packages, removes the UseAllElasticApm calls, then wires in Elastic.OpenTelemetry with the correct builder registration. The key gotcha it handles: making sure you set the three required OTEL environment variables and point to a proper OTLP endpoint, not the old APM Server URL. It's narrow in scope but saves you from the documentation hunt when you need to do this exact swap. Works best when you have an existing instrumented app that needs the upgrade.

Browse the repository on GitHub

Sponsors

Details

Repository
github.com/elastic/agent-skills
Categories
DevOps & CI/CD, AI & Agent Building, .NET & C#
License
Apache-2.0
First seen
Jun 11, 2026

More from elastic/agent-skills

All 57
1elastic avatarobservability-edot-java-instrumentelastic/agent-skills>0skills.sh installs
2elastic avatarobservability-edot-java-migrateelastic/agent-skills>0skills.sh installs
3elastic avatarobservability-edot-python-instrumentelastic/agent-skills>0skills.sh installs
4elastic avatarobservability-edot-python-migrateelastic/agent-skills>0skills.sh installs
5elastic avatarobservability-logs-searchelastic/agent-skills>0skills.sh installs
6elastic avatarobservability-manage-sloselastic/agent-skills>0skills.sh installs