1.4.0-beta.3
OpenTelemetry
-
Fix instrument naming enforcement implementation to match the spec.
(#3821) -
Added support for loading environment variables from
IConfiguration
when
using theMetricReaderOptions
&BatchExportActivityProcessorOptions
classes.
(#3760,
#3776) -
Added dependency injection support in the
ResourceBuilder
class and added
support for loading environment variables fromIConfiguration
for the
AddEnvironmentVariableDetector
extension
(#3782,
#3798) -
Breaking: MetricPoint API to retrieve Histogram Min, Max changed. The existing
pattern of checking if Min/Max is available withHasMinMax()
and then
retrieving the same usingGetHistogramMin()
,GetHistogramMax()
is replaced
with a single APITryGetHistogramMinMaxValues(out double min, out double max)
.
(#3822)
OpenTelemetry.Api
- Updated to System.Diagnostics.DiagnosticSource version
7.0.0-rc.2.22472.3
.
OpenTelemetry.Exporter.Console
- Bumped the minimum required version of
System.Text.Json
to 4.7.2 in response
to CVE-2021-26701.
(#3789)
LogRecordExporter to print full exception details instead of just Message, when
using ILogger
to log exception.
(#3784)
Added support to print Histogram Min, Max in MetricExporter.
OpenTelemetry.Exporter.InMemory
OpenTelemetry.Exporter.Jaeger
- Bumped the minimum required version of
System.Text.Json
to 4.7.2 in response
to CVE-2021-26701.
(#3789)
OpenTelemetry.Exporter.OpenTelemetryProtocol
- Log Exporter modified to no longer prefix scope-depth when exporting ILogger
scopes as attributes. Empty keys and {OriginalFormat} key will be ignored from
scopes.
(3843)
OpenTelemetry.Exporter.OpenTelemetryProtocol.Logs
OpenTelemetry.Exporter.Prometheus.AspNetCore
- Support named options in
UseOpenTelemetryPrometheusScrapingEndpoint
&
MapPrometheusScrapingEndpoint
extensions
(#3780)
OpenTelemetry.Exporter.Prometheus.HttpListener
OpenTelemetry.Exporter.Zipkin
- Bumped the minimum required version of
System.Text.Json
to 4.7.2 in response
to CVE-2021-26701.
(#3789)
OpenTelemetry.Extensions.Propagators
1.0.0-rc9.9
OpenTelemetry.Exporter.ZPages
OpenTelemetry.Extensions.Hosting
OpenTelemetry.Instrumentation.AspNetCore
-
Breaking change The
Enrich
callback option has been removed.
For better usability, it has been replaced by three separate options:
EnrichWithHttpRequest
,EnrichWithHttpResponse
andEnrichWithException
.
Previously, the singleEnrich
callback required the consumer to detect
which event triggered the callback to be invoked (e.g., request start,
response end, or an exception) and then cast the object received to the
appropriate type:HttpRequest
,HttpResponse
, orException
. The separate
callbacks make it clear what event triggers them and there is no longer the
need to cast the argument to the expected type.
(#3749) -
Added back
netstandard2.0
andnetstandard2.1
targets.
(#3755)
OpenTelemetry.Instrumentation.GrpcNetClient
Breaking change The Enrich
callback option has been removed. For better
usability, it has been replaced by two separate options:
EnrichWithHttpRequestMessage
and EnrichWithHttpResponseMessage
. Previously,
the single Enrich
callback required the consumer to detect which event
triggered the callback to be invoked (e.g., request start or response end) and
then cast the object received to the appropriate type: HttpRequestMessage
and HttpResponseMessage
. The separate callbacks make it clear what event
triggers them and there is no longer the need to cast the argument to the
expected type.
(#3804)
OpenTelemetry.Instrumentation.Http
-
Added back
netstandard2.0
target.
(#3787) -
Breaking change: The
Enrich
callback option has been removed. For better
usability, it has been replaced by three separate options: In case of
HttpClient
the new options areEnrichWithHttpRequestMessage
,
EnrichWithHttpResponseMessage
andEnrichWithException
and in case of
HttpWebRequest
the new options areEnrichWithHttpWebRequest
,
EnrichWithHttpWebResponse
andEnrichWithException
. Previously, the single
Enrich
callback required the consumer to detect which event triggered the
callback to be invoked (e.g., request start, response end, or an exception)
and then cast the object received to the appropriate type:
HttpRequestMessage
,HttpResponsemessage
, orException
in case of
HttpClient
andHttpWebRequest
,HttpWebResponse
andException
in case of
HttpWebRequest
. The separate callbacks make it clear what event triggers
them and there is no longer the need to cast the argument to the expected
type.
(#3792) -
Fixed an issue which prevented custom propagators from being called on .NET 7+
runtimes for non-sampled outgoingHttpClient
spans.
(#3828) -
Breaking change: The same API is now exposed for
net462
and
netstandard2.0
targets. TheFilter
property on options is now exposed as
FilterHttpRequestMessage
(called for .NET & .NET Core) and
FilterHttpWebRequest
(called for .NET Framework).
(#3793)
OpenTelemetry.Instrumentation.SqlClient
OpenTelemetry.Shims.OpenTracing