0.2.0-beta.1
Pre-release
Pre-release
The main feature of this release is the support for the metrics signal.
This release is built on top of OpenTelemetry .NET:
- Core components:
1.3.0
System.Diagnostics.DiagnosticSource
:6.0.0
You can find all OpenTelemetry references in
OpenTelemetry.AutoInstrumentation.csproj.
Added
- Adds MongoDB instrumentation support from .NET Core 3.1+.
- Support for OpenTelemetry metric exporter related environment variables:
OTEL_DOTNET_AUTO_METRICS_ENABLED
,OTEL_DOTNET_AUTO_LOAD_METER_AT_STARTUP
,OTEL_METRICS_EXPORTER
,OTEL_DOTNET_AUTO_METRICS_CONSOLE_EXPORTER_ENABLED
,OTEL_DOTNET_AUTO_METRICS_ENABLED_INSTRUMENTATIONS
,OTEL_DOTNET_AUTO_METRICS_DISABLED_INSTRUMENTATIONS
,OTEL_DOTNET_AUTO_METRICS_PLUGINS
,OTEL_DOTNET_AUTO_METRICS_ADDITIONAL_SOURCES
.
- Support for .NET Runtime metrics collection using
theOpenTelemetry.Instrumentation.Runtime
package. - Support for ASP.NET and HttpClient metrics instrumentations.
- Support for Prometheus Exporter HttpListener version.
OTEL_DOTNET_AUTO_INTEGRATIONS_FILE
can accept multiple filepaths
delimted by the platform-specific path separator
(;
on Windows,:
on Linux and macOS).- Support for metric exporter interval using environment variable:
OTEL_METRIC_EXPORT_INTERVAL
.
Changed
- Rename generic environment variables to include trace.
OTEL_DOTNET_AUTO_ENABLED
→OTEL_DOTNET_AUTO_TRACES_ENABLED
,OTEL_DOTNET_AUTO_LOAD_AT_STARTUP
→OTEL_DOTNET_AUTO_LOAD_TRACER_AT_STARTUP
,OTEL_DOTNET_AUTO_CONSOLE_EXPORTER_ENABLED
→OTEL_DOTNET_AUTO_TRACES_CONSOLE_EXPORTER_ENABLED
,OTEL_DOTNET_AUTO_ENABLED_INSTRUMENTATIONS
→OTEL_DOTNET_AUTO_TRACES_ENABLED_INSTRUMENTATIONS
,OTEL_DOTNET_AUTO_DISABLED_INSTRUMENTATIONS
→OTEL_DOTNET_AUTO_TRACES_DISABLED_INSTRUMENTATIONS
,OTEL_DOTNET_AUTO_INSTRUMENTATION_PLUGINS
→OTEL_DOTNET_AUTO_TRACES_PLUGINS
,OTEL_DOTNET_AUTO_ADDITIONAL_SOURCES
→OTEL_DOTNET_AUTO_TRACES_ADDITIONAL_SOURCES
.
Removed
- Support for .NET 5.0
Fixed
- Use
,
as seperator, as documented, instead of;
, for:OTEL_DOTNET_AUTO_INCLUDE_PROCESSES
,OTEL_DOTNET_AUTO_EXCLUDE_PROCESSES
,OTEL_DOTNET_AUTO_TRACES_DISABLED_INSTRUMENTATIONS
.
- Remove invalid instrumentation for
MongoDB.Driver.Core
<2.3.0.