OpenTelemetry .NET Automatic Instrumentation
APACHE-2.0 License
Bot releases are visible (Hide)
Published by github-actions[bot] 6 months ago
1.8.1
System.Diagnostics.DiagnosticSource
: 8.0.0
url.query
or the url.full
attributes: OpenTelemetry.Instrumentation.Http
, OpenTelemetry.Instrumentation.AspNetCore
, OpenTelemetry.Instrumentation.AspNet
. For example, ?key1=value1&key2=value2
becomes ?key1=Redacted&key2=Redacted
. You can customize this behavior through the environment variables. See the instrumentation options table for details.OpenTelemetry.Instrumentation.Http
from 1.8.0
to 1.8.1
.Microsoft.Extensions.Configuration.Binder
from 8.0.0
to 8.0.1
,OpenTelemetry.Instrumentation.AspNetCore
from 1.8.0
to 1.8.1
.OpenTelemetry.Instrumentation.AspNet
from 1.8.0-beta.1
to 1.8.0-beta.2
.receive
consumer spans for consume attempts that returned no message. For details, see #3367
Published by github-actions[bot] 6 months ago
1.8.0
System.Diagnostics.DiagnosticSource
: 8.0.0
OpenTelemetry.AutoInstrumentation
NuGet package.OpenTelemetry.Instrumentation.AspNet.AspNetInstrumentationOptions
to OpenTelemetry.Instrumentation.AspNet.AspNetTraceInstrumentationOptions
.1.8.0
.MongoDB.Driver.Core.Extensions.DiagnosticSources
from 1.3.0
to 1.4.0
.OpenTelemetry.Exporter.Prometheus.HttpListener
from 1.7.0-rc.1
to 1.8.0-rc.1
,OpenTelemetry.Instrumentation.Http
from 1.7.1
to 1.8.0
,OpenTelemetry.Instrumentation.Process
from 0.5.0-beta.4
to 0.5.0-beta.5
,OpenTelemetry.Instrumentation.Quartz
from 1.0.0-beta.1
to 1.0.0-beta.2
,OpenTelemetry.Instrumentation.Runtime
from 1.7.0
to 1.8.0
,OpenTelemetry.Instrumentation.SqlClient
from 1.7.0-beta.1
to 1.8.0-beta.1
,OpenTelemetry.Instrumentation.StackExchangeRedis
from 1.0.0-rc9.13
to 1.0.0-rc9.14
,OpenTelemetry.Instrumentation.Wcf
from 1.0.0-rc.15
to 1.0.0-rc.16
,OpenTelemetry.ResourceDetectors.Azure
from 1.0.0-beta.5
to 1.0.0-beta.6
,OpenTelemetry.ResourceDetectors.Host
from 0.1.0-alpha.2
to 0.1.0-alpha.3
.OpenTelemetry.ResourceDetectors.Process
from 0.1.0-alpha.2
to 0.1.0-alpha.3
.OpenTelemetry.ResourceDetectors.ProcessRuntime
from 0.1.0-alpha.2
to 0.1.0-alpha.3
.OpenTelemetry.Instrumentation.AspNetCore
from 1.7.1
to 1.8.0
,OpenTelemetry.Instrumentation.EntityFrameworkCore
from 1.0.0-beta.10
to 1.0.0-beta.11
,OpenTelemetry.ResourceDetectors.Container
from 1.0.0-beta.6
to 1.0.0-beta.7
.Google.Protobuf
updated from 3.25.2
to 3.26.1
,Grpc.Core.Api
from 2.60.0
to 2.62.0
,Microsoft.Extensions.DependencyInjection.Abstractions
from 8.0.0
to 8.0.1
,Microsoft.Extensions.Options
from 8.0.1
to 8.0.2
,Microsoft.Extensions.Logging.Abstractions
from 8.0.0
to 8.0.1
,OpenTelemetry.Instrumentation.AspNet
from 1.7.0-beta.2
to 1.8.0-beta.1
,System.Text.Json
from 8.0.1
to 8.0.3
.System.IO.FileLoadException
forMicrosoft.Extensions*.dll
libraries. This issue was due to a conflict withPublished by github-actions[bot] 8 months ago
OTEL_DOTNET_AUTO_SQLCLIENT_SET_DBSTATEMENT_FOR_TEXT
and OTEL_DOTNET_AUTO_ENTITYFRAMEWORKCORE_SET_DBSTATEMENT_FOR_TEXT
environment variables which controls whether the db.statement
attribute is set for SQL statements for SQL Client and Entity Framework Core instrumentations. The default value for both environment variables is false
due to the risk of leaking sensitive information in the collected database queries.OpenTelemetry.Instrumentation.GrpcNetClient.GrpcClientInstrumentationOptions
to OpenTelemetry.Instrumentation.GrpcNetClient.GrpcClientTraceInstrumentationOptions
,OpenTelemetry.Instrumentation.SqlClient.SqlClientInstrumentationOptions
to OpenTelemetry.Instrumentation.SqlClient.SqlClientTraceInstrumentationOptions
.OpenTelemetry.ResourceDetectors.Azure
from 1.0.0-beta.4
to 1.0.0-beta.5
,OpenTelemetry.ResourceDetectors.Container
from 1.0.0-beta.5
to 1.0.0-beta.6
.OpenTelemetry.Instrumentation.Http
from 1.7.0
to 1.7.1
,OpenTelemetry.Instrumentation.SqlClient
from 1.6.0-beta.3
to 1.7.0-beta.1
,OpenTelemetry.Instrumentation.Wcf
from 1.0.0-rc.14
to 1.0.0-rc.15
,OpenTelemetry.Instrumentation.AspNetCore
from 1.7.0
to 1.7.1
,OpenTelemetry.Instrumentation.EntityFrameworkCore
from 1.0.0-beta.9
to 1.0.0-beta.10
,OpenTelemetry.Instrumentation.GrpcNetClient
from 1.6.0-beta.3
to 1.7.0-beta.1
.OpenTelemetry.Instrumentation.AspNet
from 1.7.0-beta.1
to 1.7.0-beta.2
.Microsoft.AspNetCore
instead of OpenTelemetry.Instrumentation.AspNetCore
.Published by github-actions[bot] 9 months ago
1.7.0
System.Diagnostics.DiagnosticSource
: 8.0.0
OpenTelemetry.Instrumentation.AspNet.AspNetMetricsInstrumentationOptions
for plugins.Microsoft.Extensions.Logging
for ILOGGER
instrumentation from 6.0.0
to 8.0.0
.OpenTelemetry.Instrumentation.AspNetCore.AspNetCoreInstrumentationOptions
to OpenTelemetry.Instrumentation.AspNetCore.AspNetCoreTraceInstrumentationOptions
,OpenTelemetry.Instrumentation.Http.HttpClientInstrumentationOptions
to OpenTelemetry.Instrumentation.Http.HttpClientTraceInstrumentationOptions
.1.7.0
.OpenTelemetry.Exporter.Prometheus.HttpListener
from 1.6.0-rc.1
to 1.7.0-rc.1
,OpenTelemetry.Instrumentation.Http
from 1.6.0
to 1.7.0
,OpenTelemetry.Instrumentation.Process
from 0.5.0-beta.3
to 0.5.0-beta.4
,OpenTelemetry.Instrumentation.Quartz
from 1.0.0-alpha.3
to 1.0.0-beta.1
,OpenTelemetry.Instrumentation.Runtime
from 1.5.1
to 1.7.0
,OpenTelemetry.Instrumentation.SqlClient
from 1.6.0-beta.2
to 1.6.0-beta.3
,OpenTelemetry.Instrumentation.StackExchangeRedis
from 1.0.0-rc9.12
to 1.0.0-rc9.13
,OpenTelemetry.Instrumentation.Wcf
from 1.0.0-rc.13
to 1.0.0-rc.14
,OpenTelemetry.Shims.OpenTracing
from 1.6.0-beta.1
to 1.7.0-beta.1
,OpenTelemetry.ResourceDetectors.Azure
from 1.0.0-beta.3
to 1.0.0-beta.4
,OpenTelemetry.ResourceDetectors.Container
from 1.0.0-beta.4
to 1.0.0-beta.5
,OpenTelemetry.ResourceDetectors.ProcessRuntime
from 0.1.0-alpha.1
to 0.1.0-alpha.2
.Google.Protobuf
updated from 3.19.4
to 3.22.5
.Microsoft.Extensions.Configuration
from 3.1.0
to 8.0.0
,Microsoft.Extensions.Configuration.Abstractions
from 3.1.0
to 8.0.0
,Microsoft.Extensions.Configuration.Binder
from 3.1.0
to 8.0.0
,Microsoft.Extensions.DependencyInjection
from 3.1.0
to 8.0.0
,Microsoft.Extensions.DependencyInjection.Abstractions
from 3.1.0
to 8.0.0
,Microsoft.Extensions.Logging
from 6.0.0
to 8.0.0
,Microsoft.Extensions.Options
from 3.1.0
to 8.0.0
,Microsoft.Extensions.Options.ConfigurationExtensions
from 3.1.0
to 8.0.0
,Microsoft.Extensions.Primitives
from 3.1.0
to 8.0.0
,OpenTelemetry.Instrumentation.AspNetCore
from 1.6.0-beta.3
to 1.7.0
,OpenTelemetry.Instrumentation.EntityFrameworkCore
from 1.0.0-beta.8
to 1.0.0-beta.9
.Google.Protobuf
updated from 3.25.1
to 3.25.2
,Grpc.Core.Api
from 2.59.0
to 2.60.0
,Microsoft.Extensions.Configuration.Binder
from 8.0.0
to 8.0.1
,Microsoft.Extensions.Options
from 8.0.0
to 8.0.1
,OpenTelemetry.Instrumentation.AspNet
from 1.6.0-beta.2
to 1.7.0-beta.1
,System.Text.Json
from 8.0.0
to 8.0.1
.Removed support for Microsoft.Extensions.Logging
for ILOGGER
for versions older than 8.0.0
.
service.name
resource attribute before invoking the plugin.Published by github-actions[bot] 11 months ago
1.6.0
System.Diagnostics.DiagnosticSource
: 8.0.0
4.8.5
.OpenTelemetry.DotNet.Auto.psm1
).Grpc.Core.Api
updated from 2.57.0
to 2.59.0
.OpenTelemetry.Instrumentation.EntityFrameworkCore
updated from 1.0.0-beta.7
to 1.0.0-beta.8
.OpenTelemetry.Instrumentation.AspNetCore
updated from 1.5.1-beta.1
to 1.6.0-beta.3
.OpenTelemetry.Instrumentation.GrpcNetClient
, and OpenTelemetry.Instrumentation.Http
updated from 1.5.1-beta.1
to 1.6.0-beta.3
.OpenTelemetry.Instrumentation.SqlClient
updated from 1.5.1-beta.1
to 1.6.0-beta.2
.OpenTelemetry.Instrumentation.StackExchangeRedis
updated from 1.0.0-rc9.10
to 1.0.0-rc9.12
.Google.Protobuf
updated from 3.24.4
to 3.25.1
.OpenTelemetry.Instrumentation.AspNet
and OpenTelemetry.Instrumentation.AspNet.TelemetryHttpModule
updated from 1.6.0-beta.1
to 1.6.0-beta.2
.OpenTelemetry.Instrumentation.Wcf
updated from 1.0.0-rc.12
to 1.0.0-rc.13
.Microsoft.Bcl.AsyncInterfaces
from 7.0.0
to 8.0.0
,Microsoft.Extensions.Configuration
from 7.0.0
to 8.0.0
,Microsoft.Extensions.Configuration.Abstractions
from 7.0.0
to 8.0.0
,Microsoft.Extensions.Configuration.Binder
from 7.0.4
to 8.0.0
,Microsoft.Extensions.DependencyInjection
from 7.0.0
to 8.0.0
,Microsoft.Extensions.DependencyInjection.Abstractions
from 7.0.0
to 8.0.0
,Microsoft.Extensions.Logging
from 7.0.0
to 8.0.0
,Microsoft.Extensions.Options
from 7.0.1
to 8.0.0
,Microsoft.Extensions.Options.ConfigurationExtensions
from 7.0.0
to 8.0.0
,Microsoft.Extensions.Primitives
from 7.0.0
to 8.0.0
,System.Text.Encodings.Web
from 7.0.0
to 8.0.0
,System.Text.Json
from 7.0.3
to 8.0.0
.Microsoft.Extensions.Logging.Abstractions
from 7.0.1
to 8.0.0
,Microsoft.Extensions.Logging.Configuration
from 7.0.0
to 8.0.0
,System.Diagnostics.DiagnosticSource
from 7.0.2
to 8.0.0
.OpenTelemetry.Instrumentation.AspNetCore.AspNetCoreMetricsInstrumentationOptions
for plugins.Published by github-actions[bot] about 1 year ago
Elastic.Transport
traces instrumentation 0.4.16+. Elastic.Clients.Elasticsearch
8.10.0+ traces instrumentation is covered by Elastic.Transport
traces instrumentation.telemetry.distro.name
resource attribute. The value is set to opentelemetry-dotnet-instrumentation
.telemetry.auto.version
to telemetry.distro.version
.Google.Protobuf
updated from 3.24.3
to 3.24.4
.OpenTelemetry.Instrumentation.AspNet
and OpenTelemetry.Instrumentation.AspNet.TelemetryHttpModule
updated from 1.0.0-rc9.9
to 1.6.0-beta.1
.WebApplicationBuilder
was used.Published by github-actions[bot] about 1 year ago
Google.Protobuf
updated from 3.24.2
to 3.24.3
.OpenTelemetry.ResourceDetectors.Azure
updated from 1.0.0-beta.2
to 1.0.0-beta.3
.Published by github-actions[bot] about 1 year ago
This release is built on top of OpenTelemetry .NET:
1.6.0
System.Diagnostics.DiagnosticSource
: 7.0.2
WCFCLIENT
instrumentation on .NET.1.6.0
.opentracing-shim
name instead of OpenTelemetry.AutoInstrumentation.OpenTracingShim
.OpenTelemetry.Instrumentation.MySqlData.MySqlDataInstrumentationOptions
for plugins.ILogger
log instrumentation issue that caused logs to be exported multiple times.Published by github-actions[bot] about 1 year ago
Support for Azure App Service resource detector.
Added BeforeConfigureTracerProvider
, BeforeConfigureMeterProvider
, TracerProviderInitialized
and MeterProviderInitialized
for plugins. See plugins documentation for details.
Added support for Azure SDK traces instrumentation on .NET.
ConfigureTracerProvider
and ConfigureMeterProvider
are changed now to AfterConfigureTracerProvider
and AfterConfigureMeterProvider
. See plugins documentation for details.Grpc.Net.Client
supported on .NET updated to 2.52.0
.OTEL_DOTNET_AUTO_EXCLUDE_PROCESSES
works correctly when .NET CLR Profiler is not enabled.System.Diagnostics.DiagnosticSource
7.0.2
#2780.Published by github-actions[bot] over 1 year ago
This release is built on top of OpenTelemetry .NET:
1.5.1
System.Diagnostics.DiagnosticSource
: 7.0.0
OTEL_DOTNET_AUTO_FAIL_FAST_ENABLED
could be used to enable or disable the failing process when automatic instrumentation cannot be executed.1.5.1
.TelemetryHttpModule
.ConfigureTracesOptions
extension point for StackExchangeRedis changed type from OpenTelemetry.Instrumentation.StackExchangeRedis.StackExchangeRedisCallsInstrumentationOptions
to OpenTelemetry.Instrumentation.StackExchangeRedis.StackExchangeRedisInstrumentationOptions
.WCF
instrumentation split to WCFCLIENT
and WCFSERVICE
. Both supported only on .NET Framework.WCFCLIENT
and WCFSERVICE
no longer requires manual modification of config files to include TelemetryEndpointBehaviorExtensionElement
.WCF
instrumentation for Core WCF Client working on .NET.Published by github-actions[bot] over 1 year ago
OTEL_LOG_LEVEL
to configure SDK logging level.SiteName/ApplicationVirtualPath
.OTEL_DOTNET_AUTO_RULE_ENGINE_ENABLED
could be used to enable or disable the rule engine.OTEL_DOTNET_AUTO_RESOURCE_DETECTOR_ENABLED
OTEL_DOTNET_AUTO_{0}_RESOURCE_DETECTOR_ENABLED
.OTEL_DOTNET_AUTO_DEBUG
.OTEL_DOTNET_AUTO_INTEGRATIONS_FILE
as a required environment variable for bytecode instrumentation setupPublished by github-actions[bot] over 1 year ago
This release is built on top of OpenTelemetry .NET:
1.4.0
System.Diagnostics.DiagnosticSource
: 7.0.0
1.4.0
.Published by github-actions[bot] over 1 year ago
This beta release is built on top of OpenTelemetry .NET:
1.4.0-rc.4
System.Diagnostics.DiagnosticSource
: 7.0.0
1.4.0-rc.4
.OTEL_DOTNET_AUTO_LEGACY_SOURCES
with OTEL_DOTNET_AUTO_TRACES_ADDITIONAL_LEGACY_SOURCES
.net6.0
to net7.0
.ConfigureMetricsOptions(OpenTelemetry.Instrumentation.Process.ProcessInstrumentationOptions)
.OpenTelemetry.AutoInstrumentation.Native.so
for linux-musl-x64
.dotnet
CLI #1477.Published by github-actions[bot] over 1 year ago
This beta release is built on top of OpenTelemetry .NET:
1.4.0-rc.3
System.Diagnostics.DiagnosticSource
: 7.0.0
OTEL_*
settings using App.config
and Web.config
.ResourceBuilder ConfigureResource(ResourceBuilder builder)
.Updated Core components: 1.4.0-rc.3
Move OpenTelemetry.AutoInstrumentation.Native.so
to linux-x64
directory in tracer-home
for Linux glibc, OpenTelemetry.AutoInstrumentation.Native.so
to linux-musl-x64
for Linux musl and OpenTelemetry.AutoInstrumentation.Native.dylib
to osx-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
to ASPNETCORE
.
Log: Exception creating FileSink
#1885
Published by github-actions[bot] almost 2 years ago
This beta release is built on top of OpenTelemetry .NET:
1.4.0-rc.1
System.Diagnostics.DiagnosticSource
: 7.0.0
ConfigureTracesOptions(StackExchangeRedisCallsInstrumentationOptions options)
.ConfigureMetricsOptions(AspNetCoreMetricsInstrumentationOptions options)
.OTEL_DOTNET_AUTO_NETFX_REDIRECT_ENABLED
environment variable. See the additional settings table for details.1.4.0-rc.1
Published by Kielek almost 2 years ago
OTEL_TRACES_SAMPLER
and OTEL_TRACES_SAMPLER_ARG
.Initializing
plugin extension pointPublished by pellared almost 2 years ago
This beta release is built on top of OpenTelemetry .NET:
1.4.0-beta.3
System.Diagnostics.DiagnosticSource
: 7.0.0
OTEL_BSP_SCHEDULE_DELAY
, OTEL_BSP_EXPORT_TIMEOUT
, OTEL_BSP_MAX_QUEUE_SIZE
, OTEL_BSP_MAX_EXPORT_BATCH_SIZE
.OTEL_METRIC_EXPORT_TIMEOUT
.OTEL_ATTRIBUTE_VALUE_LENGTH_LIMIT
, OTEL_ATTRIBUTE_COUNT_LIMIT
, OTEL_SPAN_ATTRIBUTE_VALUE_LENGTH_LIMIT
, OTEL_SPAN_ATTRIBUTE_COUNT_LIMIT
, OTEL_SPAN_EVENT_COUNT_LIMIT
, OTEL_SPAN_LINK_COUNT_LIMIT
, OTEL_EVENT_ATTRIBUTE_COUNT_LIMIT
, OTEL_LINK_ATTRIBUTE_COUNT_LIMIT
for otlp
exporter.1.4.0-beta.3
ConfigureOptions
changed to ConfigureTracesOptions
, ConfigureMetricsOptions
or ConfigureLogsOptions
.Published by pellared almost 2 years ago
The is the first production-ready (non-beta) release. It is not stable yet.
OTEL_DOTNET_AUTO_LOGS_ENABLED
.OTEL_DOTNET_AUTO_LOAD_TRACER_AT_STARTUP
with OTEL_DOTNET_AUTO_TRACES_ENABLED
and OTEL_DOTNET_AUTO_LOAD_METER_AT_STARTUP
with OTEL_DOTNET_AUTO_METRICS_ENABLED
.OTEL_DOTNET_AUTO_OPENTRACING_ENABLED
.DOTNET_STARTUP_HOOKS
required value changed to $INSTALL_DIR/net/OpenTelemetry.AutoInstrumentation.StartupHook.dll
.OTEL_DOTNET_AUTO_HTTP2UNENCRYPTEDSUPPORT_ENABLED
.OTEL_DOTNET_AUTO_ENABLED
. Use CORECLR_ENABLE_PROFILING
or COR_ENABLE_PROFILING
instead.OTEL_DOTNET_AUTO_INCLUDE_PROCESSES
.OTEL_DOTNET_AUTO_TRACES_ENABLED
is also respected by bytecode instrumentations.Published by pellared almost 2 years ago
OTEL_LOGS_EXPORTER
,OTEL_DOTNET_AUTO_LOGS_CONSOLE_EXPORTER_ENABLED
,OTEL_DOTNET_AUTO_LOGS_ENABLED_INSTRUMENTATIONS
,OTEL_DOTNET_AUTO_LOGS_DISABLED_INSTRUMENTATIONS
,OTEL_DOTNET_AUTO_LOGS_INCLUDE_FORMATTED_MESSAGE
.OTEL_DOTNET_AUTO_GRAPHQL_SET_DOCUMENT
(default value: false
) environment variable which controls whether graphql.document
attribute is set.b3
propagator.OpenTelemetry.AutoInstrumentation
Nuget package.OpenTelemetry.Instrumentation.Process
package.OTEL_DOTNET_AUTO_TRACES_PLUGINS
and OTEL_DOTNET_AUTO_METRICS_PLUGINS
with new environment variable OTEL_DOTNET_AUTO_PLUGINS
.