Other .NET applications
Serverless Observability Stack APM Agent .NET
If you have a .NET application that is not covered in this section, you can still use the agent and instrument your application manually.
To do this, add the Elastic.Apm package to your application and use the Public API or .NET Activity APIs to manually create spans and transactions.
Important
For best flexibility and reduced vendor lock-in, we recommend preferring that custom instrumentation uses the System.Diagnostics.Activity API. Code instrumented with this API will be picked up by the OpenTelemetry Bridge and is also natively compatible with OpenTelemetry.