Releases: open-telemetry/opentelemetry-dotnet-instrumentation
v1.0.2
v1.0.1
1.0.1
Changed
Dependency updates
- .NET Framework only,
Google.Protobuf
updated from3.24.2
to3.24.3
. OpenTelemetry.ResourceDetectors.Azure
updated from1.0.0-beta.2
to1.0.0-beta.3
.
Fixed
- Fixed Rule checking System.Diagnostics.DiagnosticSource version for net7.0 failing on correct configuration #2950.
v1.0.0
1.0.0
This release is built on top of OpenTelemetry .NET:
- Core components:
1.6.0
System.Diagnostics.DiagnosticSource
:7.0.2
Added
- Added support for Azure SDK traces instrumentation on .NET Framework.
- Added support for
WCFCLIENT
instrumentation on .NET.
Changed
- Updated Core components:
1.6.0
. - MySql.Data instrumentation is now supported from version 8.1.0 working on .NET.
- OpenTracing spans are registered under
opentracing-shim
name instead ofOpenTelemetry.AutoInstrumentation.OpenTracingShim
.
Removed
- Removed MySql.Data instrumentation for versions 6.10.7-8.0.33.
- Removed support for
OpenTelemetry.Instrumentation.MySqlData.MySqlDataInstrumentationOptions
for plugins.
Fixed
- Fixed instrumentation loading issue where delayed instrumentation initialization could not bootstrap both traces and metrics. Affected scope: ASP.NET Core and HttpClient instrumentations.
- Fixed
ILogger
log instrumentation issue that caused logs to be exported multiple times.
v1.0.0-rc.2
1.0.0-rc.2
Added
-
Support for Azure App Service resource detector.
-
Added
BeforeConfigureTracerProvider
,BeforeConfigureMeterProvider
,TracerProviderInitialized
andMeterProviderInitialized
for plugins. See plugins documentation for details. -
Added support for Azure SDK traces instrumentation on .NET.
Changed
- In plugins
ConfigureTracerProvider
andConfigureMeterProvider
are changed now toAfterConfigureTracerProvider
andAfterConfigureMeterProvider
. See plugins documentation for details. - Minimal version of
Grpc.Net.Client
supported on .NET updated to2.52.0
.
Fixed
OTEL_DOTNET_AUTO_EXCLUDE_PROCESSES
works correctly when .NET CLR Profiler is not enabled.- Fixed manual tracing when instrumented project is referencing
System.Diagnostics.DiagnosticSource
7.0.2
#2780.
v1.0.0-rc.1
1.0.0-rc.1
This release is built on top of OpenTelemetry .NET:
- Core components:
1.5.1
System.Diagnostics.DiagnosticSource
:7.0.0
Added
- The environment variable
OTEL_DOTNET_AUTO_FAIL_FAST_ENABLED
could be used to enable or disable the failing process when automatic instrumentation cannot be executed. - Add support for MySqlConnector traces instrumentation.
Changed
- Updated Core components:
1.5.1
. - ASP.NET instrumentation no longer requires manual modification of config files to include
TelemetryHttpModule
. - Parameter for
ConfigureTracesOptions
extension point for StackExchangeRedis changed type fromOpenTelemetry.Instrumentation.StackExchangeRedis.StackExchangeRedisCallsInstrumentationOptions
toOpenTelemetry.Instrumentation.StackExchangeRedis.StackExchangeRedisInstrumentationOptions
. WCF
instrumentation split toWCFCLIENT
andWCFSERVICE
. Both supported only on .NET Framework.WCFCLIENT
andWCFSERVICE
no longer requires manual modification of config files to includeTelemetryEndpointBehaviorExtensionElement
.- GraphQL instrumentation is now supported from version 7.5.0 working on .NET.
Removed
- Removed
WCF
instrumentation for Core WCF Client working on .NET. - Removed GraphQL instrumentation for versions 2.3.0-2.4.*.
Known issues
- Lack of support for MySql.Data 8.0.33. See #2542.
v0.7.0
0.7.0
Added
- Stability status added to the documentation.
- Support
OTEL_LOG_LEVEL
to configure SDK logging level. - Fallback for the service name. If the service name is not configured, the automatic instrumentation uses the entry assembly name instead, only falling back to the process name in case of an error. If the application uses .NET Framework and is hosted on IIS, the service name is determined using
SiteName/ApplicationVirtualPath
. - Add MongoDB instrumentation support for .NET Framework.
- Added a rule engine to validate potential conflicts and unsupported scenarios, ensuring back off instead of crashing, improving overall stability.
- The environment variable
OTEL_DOTNET_AUTO_RULE_ENGINE_ENABLED
could be used to enable or disable the rule engine. - Support for Container resource detector.
- Support for enabling well known resource detectors by using the environment variables
OTEL_DOTNET_AUTO_RESOURCE_DETECTOR_ENABLED
OTEL_DOTNET_AUTO_{0}_RESOURCE_DETECTOR_ENABLED
.
Removed
- Remove support for enabling debugging mode with
OTEL_DOTNET_AUTO_DEBUG
. - Removed
OTEL_DOTNET_AUTO_INTEGRATIONS_FILE
as a required environment variable for bytecode instrumentation setup
v0.6.0
0.6.0
This release is built on top of OpenTelemetry .NET:
- Core components:
1.4.0
System.Diagnostics.DiagnosticSource
:7.0.0
Changed
- Updated Core components:
1.4.0
.
v0.6.0-beta.2
This beta release is built on top of OpenTelemetry .NET:
- Core components:
1.4.0-rc.4
System.Diagnostics.DiagnosticSource
:7.0.0
Added
- Support for systems with glibc versions 2.17-2.29.
Changed
- Updated Core components:
1.4.0-rc.4
. - Replace
OTEL_DOTNET_AUTO_LEGACY_SOURCES
withOTEL_DOTNET_AUTO_TRACES_ADDITIONAL_LEGACY_SOURCES
. - Updated the shared store to correctly support framework roll-forward from
net6.0
tonet7.0
.
Removed
- Remove support for plugin method
ConfigureMetricsOptions(OpenTelemetry.Instrumentation.Process.ProcessInstrumentationOptions)
.
Fixed
- Fix location of
OpenTelemetry.AutoInstrumentation.Native.so
forlinux-musl-x64
. - Fix issues when instrumenting
dotnet
CLI #1477.
v0.6.0-beta.1
This beta release is built on top of OpenTelemetry .NET:
- Core components:
1.4.0-rc.3
System.Diagnostics.DiagnosticSource
:7.0.0
Added
- Support configuring
OTEL_*
settings usingApp.config
andWeb.config
. - Add support for Quartz traces instrumentation.
- Add support for EntityFrameworkCore traces instrumentations.
- Add plugin support for
ResourceBuilder ConfigureResource(ResourceBuilder builder)
.
Changed
-
Updated Core components:
1.4.0-rc.3
-
Move
OpenTelemetry.AutoInstrumentation.Native.so
tolinux-x64
directory intracer-home
for Linux glibc,OpenTelemetry.AutoInstrumentation.Native.so
tolinux-musl-x64
for Linux musl andOpenTelemetry.AutoInstrumentation.Native.dylib
toosx-x64
for MacOS. -
Change the way to manage enabled instrumentations. The following environmental variables:
OTEL_DOTNET_AUTO_TRACES_ENABLED_INSTRUMENTATIONS
,OTEL_DOTNET_AUTO_TRACES_DISABLED_INSTRUMENTATIONS
,OTEL_DOTNET_AUTO_METRICS_ENABLED_INSTRUMENTATIONS
,OTEL_DOTNET_AUTO_METRICS_DISABLED_INSTRUMENTATIONS
,OTEL_DOTNET_AUTO_LOGS_ENABLED_INSTRUMENTATIONS
,OTEL_DOTNET_AUTO_LOGS_DISABLED_INSTRUMENTATIONS
are replaced by:
OTEL_DOTNET_AUTO_INSTRUMENTATION_ENABLED
,OTEL_DOTNET_AUTO_TRACES_INSTRUMENTATION_ENABLED
,OTEL_DOTNET_AUTO_TRACES_{0}_INSTRUMENTATION_ENABLED
,OTEL_DOTNET_AUTO_METRICS_INSTRUMENTATION_ENABLED
,OTEL_DOTNET_AUTO_METRICS_{0}_INSTRUMENTATION_ENABLED
,OTEL_DOTNET_AUTO_LOGS_INSTRUMENTATION_ENABLED
,OTEL_DOTNET_AUTO_LOGS_{0}_INSTRUMENTATION_ENABLED
.
-
Change instrumentation id for ASP.NET Core traces and metrics instrumentation from
AspNet
toASPNETCORE
.
Fixed
- Fix console error messages
Log: Exception creating FileSink
#1885
v0.5.1-beta.3
This beta release is built on top of OpenTelemetry .NET:
- Core components:
1.4.0-rc.1
System.Diagnostics.DiagnosticSource
:7.0.0
Added
- Add support for NServiceBus metrics and traces instrumentations.
- Add support for Elasticsearch traces instrumentations.
- Add plugin support for
ConfigureTracesOptions(StackExchangeRedisCallsInstrumentationOptions options)
. - Add plugin support for
ConfigureMetricsOptions(AspNetCoreMetricsInstrumentationOptions options)
. - Add automatic assembly redirection for .NET Framework applications. The redirection can be enabled or disabled via the
OTEL_DOTNET_AUTO_NETFX_REDIRECT_ENABLED
environment variable. See the additional settings table for details.
Changed
- Updated Core components:
1.4.0-rc.1
Removed
- Remove support for Jaeger exporter.
Fixed
- Fix WCF instrumentation on .NET Framework.