This is a cache of https://www.elastic.co/guide/en/apm/agent/dotnet/current/configuration.html. It is a snapshot of the page at 2024-11-19T01:06:55.758+0000.
Configuration | APM .NET Agent Reference [1.x] | Elastic

Configuration

edit

Utilize configuration options to adapt the Elastic APM agent to your needs. There are multiple configuration sources, each with different naming conventions for the property key.

By default, the agent uses environment variables. Additionally, on ASP.NET Core, the agent can plug into the Microsoft.Extensions.Configuration infrastructure.

Dynamic configuration

edit

Configuration options that are marked with the dynamic config badge can be changed at runtime when set from a supported source.

The .NET Agent supports Central configuration, which allows you to fine-tune certain configurations via the APM app. This feature is enabled in the Agent by default, with CentralConfig ( [1.1] Added in 1.1. ).