OpenTelemetry.Extensions.Hosting
- Added
AddInstrumentation<T>
,AddProcessor<T>
,SetSampler<T>
, and
Configure
extensions to support dependency injection through the
OpenTelemetry.Extensions.HostingTracerProviderBuilder
.
(#1889)
OpenTelemetry.Instrumentation.AspNet
- Sanitize
http.url
attribute. (#1961)
OpenTelemetry.Instrumentation.AspNetCore
- When using OpenTelemetry.Extensions.Hosting you can now bind
AspNetCoreInstrumentationOptions
from DI.
(#1997)
OpenTelemetry.Instrumentation.GrpcNetClient
OpenTelemetry.Instrumentation.Http
- Sanitize
http.url
attribute.
(#1961) - Added
RecordException
to HttpClientInstrumentationOptions and
HttpWebRequestInstrumentationOptions which allows Exception to be reported as
ActivityEvent. - Update
AddHttpClientInstrumentation
extension method for .NET Framework to
use only useHttpWebRequestInstrumentationOptions
(#1982)
OpenTelemetry.Instrumentation.SqlClient
- Instrumentation modified to depend only on the API.
- Activities are now created with the
db.system
attribute set for usage
during sampling. (#1979)
OpenTelemetry.Instrumentation.StackExchangeRedis
- Activities are now created with the
db.system
attribute set for usage
during sampling. (#1984)