1.6.0-beta.3 of instrumentation libraries #5062
utpilla
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
OpenTelemetry.Instrumentation.AspNetCore
Removed the Activity Status Description that was being set during exceptions. Activity Status will continue to be reported as
Error. This is a breaking change.EnrichWithExceptioncan be leveragedto restore this behavior. (#5025)
Updated
http.request.methodto match specification guidelines.http.request.method.originalandhttp.request.methodwill be set to_OTHER.http.request.methodonhttp.server.request.durationmetric will be set to_OTHERhttp.request.methodis set onhttp.server.request.durationmetric or activity whenOTEL_SEMCONV_STABILITY_OPT_INenvironment variable is set tohttporhttp/dup.(#5001)
An additional attribute
error.typewill be added to activity andhttp.server.request.durationmetric when the request results in unhandled exception. The attribute value will be set to full name of exception type.The attribute will only be added when
OTEL_SEMCONV_STABILITY_OPT_INenvironment variable is set tohttporhttp/dup. (#4986)Fixed
network.protocol.versionattribute values to match the specification. (#5007)Calls to
/metricswill now be included in thehttp.server.request.durationmetric. This change may affect Prometheus pull scenario if the Prometheus server sends request to the scraping endpoint that contains/metricsin path. (#5044)Fixes the
http.routeattribute for scenarios in which it was previously missing or incorrect. Additionally, thehttp.routeattribute is now the same for both the metric andActivityemitted for a requestLastly, the
Activity.DisplayNamehas been adjusted to have the format{http.request.method} {http.route}to conform with the specification. There remain scenarios when using conventional routing or Razor pages wherehttp.routeis still incorrect. See #5056 and #5057 for more details. (#5026)Removed
network.protocol.namefromhttp.server.request.durationmetric as per spec. (#5049)OpenTelemetry.Instrumentation.Http
Removed the Activity Status Description that was being set during exceptions. Activity Status will continue to be reported as
Error. This is a breaking change.EnrichWithExceptioncan be leveraged to restore this behavior. (#5025)Updated
http.request.methodto match specification guidelines.http.request.method.originalandhttp.request.methodwill be set to_OTHER.http.request.methodonhttp.client.request.durationmetric will be set to_OTHERhttp.request.methodis set onhttp.client.request.durationmetric or activity whenOTEL_SEMCONV_STABILITY_OPT_INenvironment variable is set tohttporhttp/dup. (#5003)An additional attribute
error.typewill be added to activity andhttp.client.request.durationmetric in case of failed requests as per the specification.Users moving to
net8.0or newer frameworks from lower versions will see difference in values in case of an exception.net8.0or newer frameworks add the ability to further drill down the exceptions to a specific type through HttpRequestError enum. For lower versions, the individual types will be rolled in to a single type. This could be a breaking change if alerts are set based on the values.The attribute will only be added when
OTEL_SEMCONV_STABILITY_OPT_INenvironment variable is set tohttporhttp/dup. (#5005) (#5034)Fixed
network.protocol.versionattribute values to match the specification. (#5006)Set
network.protocol.versionvalue using the protocol version on the received response. If the request fails without response, thennetwork.protocol.versionattribute will not be set on Activity andhttp.client.request.durationmetric. (#5043)OpenTelemetry.Instrumentation.SqlClient
Microsoft.Extensions.ConfigurationandMicrosoft.Extensions.Optionspackage version to8.0.0. (#5051)This discussion was created from the release 1.6.0-beta.3 of instrumentation libraries.
Beta Was this translation helpful? Give feedback.
All reactions