-
Fix issue where when an application has an ExceptionFilter, the exception data wouldn't be collected. (#3475)
-
Added overloads which accept a name to the
TracerProviderBuilderAddAspNetCoreInstrumentationextension to allow for more fine-grained options management (#XXXX)
Released 2022-Aug-18
-
Removed
netstandard2.0andnetstandard2.1targets. .NET 5 reached EOL in May 2022 and .NET Core 3.1 reaches EOL in December 2022. The instrumentation for ASP.NET Core now requires .NET 6 or later. (#3567) -
Fixed an issue where activity started within middleware was modified by instrumentation library. (#3498)
-
Updated to use Activity native support from
System.Diagnostics.DiagnosticSourceto set activity status. (#3118) (#3555)
Released 2022-Aug-02
- Fix Remote IP Address - NULL reference exception. (#3481)
- Metrics instrumentation to correctly populate
http.flavortag. (1.1 instead of HTTP/1.1 etc.) (#3379) - Tracing instrumentation to populate
http.flavortag. (#3372) - Tracing instrumentation to populate
http.schemetag. (#3392)
Released 2022-Jun-03
- Added additional metric dimensions. (#3247)
- Removes net5.0 target as .NET 5.0 is going out of support. The package keeps netstandard2.1 target, so it can still be used with .NET5.0 apps. (#3147)
Released 2022-Apr-15
Released 2022-Apr-12
Released 2022-Mar-30
- Fix: Http server span status is now unset for
400-499. (#2904) - Fix: drop direct reference of the
Microsoft.AspNetCore.Http.Featuresfrom net5 & net6 targets (already part of the FrameworkReference since the net5). (#2860) - Reduce allocations calculating the http.url tag. (#2947)
Released 2022-Mar-04
Released 2022-Feb-02
Released 2021-Oct-08
- Replaced
http.pathtag on activity withhttp.target. (#2266)
Released 2021-Jul-12
Released 2021-Jun-25
Released 2021-Jun-09
- Fixes bug #1740: Instrumentation.AspNetCore for gRPC services omits ALL rpc.* attributes under certain conditions (#1879)
Released 2021-Apr-23
- When using OpenTelemetry.Extensions.Hosting you can now bind
AspNetCoreInstrumentationOptionsfrom DI. (#1997)
Released 2021-Mar-19
- Leverages added AddLegacySource API from OpenTelemetry SDK to trigger Samplers and ActivityProcessors. Samplers, ActivityProcessor.OnStart will now get the Activity before any enrichment done by the instrumentation. (#1836)
- Performance optimization by leveraging sampling decision and short circuiting
activity enrichment.
FilterandEnrichare now only called ifactivity.IsAllDataRequestedistrue(#1899)
Released 2021-Jan-29
Released 2020-Nov-17
- AspNetCoreInstrumentation sets ActivitySource to activities created outside ActivitySource. (#1515)
- For gRPC invocations, leading forward slash is trimmed from span name in order to conform to the specification. (#1551)
Released 2020-Nov-5
- Record
Exceptionin AspNetCore instrumentation based onRecordExceptioninAspNetCoreInstrumentationOptions(#1408) - Added configuration option
EnableGrpcAspNetCoreSupportto enable or disable support for adding OpenTelemetry RPC attributes when using Grpc.AspNetCore. This option is enabled by default. (#1423) - Renamed TextMapPropagator to TraceContextPropagator, CompositePropagator to CompositeTextMapPropagator. IPropagator is renamed to TextMapPropagator and changed from interface to abstract class. (#1427)
- Propagators.DefaultTextMapPropagator will be used as the default Propagator (#1427)
- Removed Propagator from Instrumentation Options. Instrumentation now always respect the Propagator.DefaultTextMapPropagator. (#1448)
Released 2020-Oct-16
- Instrumentation no longer store raw objects like
HttpRequestin Activity.CustomProperty. To enrich activity, use the Enrich action on the instrumentation. (#1261) - Span Status is populated as per new spec (#1313)
Released 2020-Sep-15
- For gRPC invocations, the
grpc.methodandgrpc.status_codeattributes added by the library are removed from the span. The information from these attributes is contained in other attributes that follow the conventions of OpenTelemetry. (#1260)
Released 2020-08-28
-
Added Filter public API on AspNetCoreInstrumentationOptions to allow filtering of instrumentation based on HttpContext.
-
Asp.Net Core Instrumentation automatically populates HttpRequest, HttpResponse in Activity custom property
-
Changed the default propagation to support W3C Baggage (#1048)
- The default ITextFormat is now
CompositePropagator(TraceContextFormat, BaggageFormat). Baggage sent via the W3C Baggage header will now be parsed and set on incoming Http spans.
- The default ITextFormat is now
-
Introduced support for Grpc.AspNetCore (#803).
- Attributes are added to gRPC invocations:
rpc.system,rpc.service,rpc.method. These attributes are added to an existing span generated by the instrumentation. This is unlike the instrumentation for client-side gRPC calls where one span is created for the gRPC call and a separate span is created for the underlying HTTP call in the event both gRPC and HTTP instrumentation are enabled.
- Attributes are added to gRPC invocations:
-
Renamed
ITextPropagatortoIPropagator(#1190)
Released 2020-07-24
- First beta release
Released 2020-07-23
- Initial release