Supportability configuration options
Elastic Cloud Serverless projects are autoscaled environments, fully managed by Elastic and available on Elastic Cloud. Availability This functionality is generally available and ready for production usage. The Elastic Stack includes Elastic's core products such as Elasticsearch, Kibana, Logstash, and Beats. Availability This functionality is generally available and ready for production usage. Unless stated otherwise on the page, this functionality is available when your Elastic Stack is deployed on Elastic Cloud Hosted, Elastic Cloud Enterprise, Elastic Cloud on Kubernetes, and self-managed environments. This documentation corresponds to the latest patch available for each minor version. If you're not using the latest patch, check the release notes for changes. The Elastic APM .NET agent enables you to trace the execution of operations in your .NET applications, sending performance metrics and errors to the Elastic APM server. Availability This functionality is generally available and ready for production usage. This documentation corresponds to the latest patch available for each minor version. If you're not using the latest patch, check the release notes for changes.
Serverless Observability
Generally available
Stack
Generally available
APM Agent .NET
Generally available
Sets the logging level for the agent.
Valid options: Critical, Error, Warning, Info, Debug, Trace and None (None turns off the logging).
The AddElasticApm() extension enables configuration, as is typical in an ASP.NET Core application. You must instead set the LogLevel for the internal APM .NET Agent logger under the Logging section of appsettings.json. More details, including a sample configuration file are available in Configuration on ASP.NET Core.
| Environment variable name | IConfiguration or Web.config key |
|---|---|
OTEL_LOG_LEVEL |
ElasticApm:LogLevel |
| Default | Type |
|---|---|
Error |
String |
Although prefixed with OTEL_ we prefer OTEL_LOG_LEVEL, when present as this aligns with the configuration for EDOT .NET and OpenTelemetry SDKs, simplifying migrations.