chore(deps): Bump OpenTelemetry.Extensions.Hosting from 1.7.0 to 1.13.1 #25
  Add this suggestion to a batch that can be applied as a single commit.
  This suggestion is invalid because no changes were made to the code.
  Suggestions cannot be applied while the pull request is closed.
  Suggestions cannot be applied while viewing a subset of changes.
  Only one suggestion per line can be applied in a batch.
  Add this suggestion to a batch that can be applied as a single commit.
  Applying suggestions on deleted lines is not supported.
  You must change the existing code in this line in order to create a valid suggestion.
  Outdated suggestions cannot be applied.
  This suggestion has been applied or marked resolved.
  Suggestions cannot be applied from pending reviews.
  Suggestions cannot be applied on multi-line comments.
  Suggestions cannot be applied while the pull request is queued to merge.
  Suggestion cannot be applied right now. Please check back later.
  
    
  
    
Updated OpenTelemetry.Extensions.Hosting from 1.7.0 to 1.13.1.
Release notes
Sourced from OpenTelemetry.Extensions.Hosting's releases.
1.13.1
For highlights and announcements pertaining to this release see: Release Notes > 1.13.1.
The following changes are from the previous release 1.13.0.
NuGet: OpenTelemetry v1.13.1
scale to 20 after each collection cycle when using delta aggregation temporality.
(#6557)
See CHANGELOG for details.
NuGet: OpenTelemetry.Api v1.13.1
No notable changes.
See CHANGELOG for details.
NuGet: OpenTelemetry.Api.ProviderBuilderExtensions v1.13.1
No notable changes.
See CHANGELOG for details.
NuGet: OpenTelemetry.Exporter.Console v1.13.1
No notable changes.
See CHANGELOG for details.
NuGet: OpenTelemetry.Exporter.InMemory v1.13.1
No notable changes.
See CHANGELOG for details.
NuGet: OpenTelemetry.Exporter.OpenTelemetryProtocol v1.13.1
No notable changes.
See CHANGELOG for details.
NuGet: OpenTelemetry.Exporter.Zipkin v1.13.1
No notable changes.
See CHANGELOG for details.
NuGet: OpenTelemetry.Extensions.Hosting v1.13.1
... (truncated)
1.13.1-beta.1
The following changes are from the previous release 1.13.0-beta.1.
NuGet: OpenTelemetry.Exporter.Prometheus.AspNetCore v1.13.1-beta.1
1.13.1.(#6598)
See CHANGELOG for details.
NuGet: OpenTelemetry.Exporter.Prometheus.HttpListener v1.13.1-beta.1
1.13.1.(#6598)
See CHANGELOG for details.
NuGet: OpenTelemetry.Shims.OpenTracing v1.13.1-beta.1
1.13.1.(#6598)
See CHANGELOG for details.
1.13.0
For highlights and announcements pertaining to this release see: Release Notes > 1.13.0.
The following changes are from the previous release 1.12.0.
NuGet: OpenTelemetry v1.13.0
Added a verification to ensure that a
MetricReadercan only be registeredto a single
MeterProvider, as required by the OpenTelemetry specification.(#6458)
Added
FormatMessageconfiguration option to self-diagnostics feature. Whenset to
true(default is false), log messages will be formatted by replacingplaceholders with actual parameter values for improved readability.
Example
OTEL_DIAGNOSTICS.json:{ "LogDirectory": ".", "FileSize": 32768, "LogLevel": "Warning", "FormatMessage": true }Fixed parsing of
OTEL_TRACES_SAMPLER_ARGdecimal values to always use.as the delimiter when using the
traceidratiosampler, preventinglocale-specific parsing issues.
(#6444)
See CHANGELOG for details.
NuGet: OpenTelemetry.Api v1.13.0
Added
AddLink(SpanContext, SpanAttributes?)toTelemetrySpanto supportlinking spans and associating optional attributes for advanced trace relationships.
(#6305)
Experimental (only in pre-release versions): Added the
EventNamepropertyto
LogRecordData(#6306)
See CHANGELOG for details.
NuGet: OpenTelemetry.Api.ProviderBuilderExtensions v1.13.0
No notable changes.
See CHANGELOG for details.
... (truncated)
1.13.0-beta.1
The following changes are from the previous release 1.12.0-beta.1.
NuGet: OpenTelemetry.Exporter.Prometheus.AspNetCore v1.13.0-beta.1
1.13.0.(#6552)
See CHANGELOG for details.
NuGet: OpenTelemetry.Exporter.Prometheus.HttpListener v1.13.0-beta.1
1.13.0.(#6552)
See CHANGELOG for details.
NuGet: OpenTelemetry.Shims.OpenTracing v1.13.0-beta.1
1.13.0.(#6552)
See CHANGELOG for details.
1.12.0
For highlights and announcements pertaining to this release see: Release Notes > 1.12.0.
The following changes are from the previous release 1.11.2.
NuGet: OpenTelemetry v1.12.0
No notable changes.
See CHANGELOG for details.
NuGet: OpenTelemetry.Api v1.12.0
TracerProvider.GetTracerwhich accepts an optionalIEnumerable<KeyValuePair<string, object?>>? tagsparameter, allowingadditional attributes to be associated with the
Tracer.(#6137)
See CHANGELOG for details.
NuGet: OpenTelemetry.Api.ProviderBuilderExtensions v1.12.0
No notable changes.
See CHANGELOG for details.
NuGet: OpenTelemetry.Exporter.Console v1.12.0
No notable changes.
See CHANGELOG for details.
NuGet: OpenTelemetry.Exporter.InMemory v1.12.0
No notable changes.
See CHANGELOG for details.
NuGet: OpenTelemetry.Exporter.OpenTelemetryProtocol v1.12.0
exporting over OTLP/HTTP instead of OTLP/gRPC. This change could result in a
failure to export telemetry unless appropriate measures are taken.
Additionally, if you explicitly configure the exporter to use OTLP/gRPC it may
result in a
NotSupportedExceptionwithout further configuration. Pleasecarefully review issue
(#6209)
for additional information and workarounds.
(#6229)
See CHANGELOG for details.
... (truncated)
1.12.0-beta.1
The following changes are from the previous release 1.11.2-beta.1.
NuGet: OpenTelemetry.Exporter.Prometheus.AspNetCore v1.12.0-beta.1
1.12.0.(#6269)
See CHANGELOG for details.
NuGet: OpenTelemetry.Exporter.Prometheus.HttpListener v1.12.0-beta.1
1.12.0.(#6269)
See CHANGELOG for details.
NuGet: OpenTelemetry.Shims.OpenTracing v1.12.0-beta.1
1.12.0.(#6269)
See CHANGELOG for details.
1.11.2
For highlights and announcements pertaining to this release see: Release Notes > 1.11.2.
The following changes are from the previous release 1.11.1.
NuGet: OpenTelemetry v1.11.2
No notable changes.
See CHANGELOG for details.
NuGet: OpenTelemetry.Api v1.11.2
TraceContextPropagator.Extractintroducedin #5749 to resolve #6158.
(#6161)
See CHANGELOG for details.
NuGet: OpenTelemetry.Api.ProviderBuilderExtensions v1.11.2
No notable changes.
See CHANGELOG for details.
NuGet: OpenTelemetry.Exporter.Console v1.11.2
No notable changes.
See CHANGELOG for details.
NuGet: OpenTelemetry.Exporter.InMemory v1.11.2
No notable changes.
See CHANGELOG for details.
NuGet: OpenTelemetry.Exporter.OpenTelemetryProtocol v1.11.2
Fixed a bug in .NET Framework gRPC export client where the default success
export response was incorrectly marked as false, now changed to true, ensuring
exports are correctly marked as successful.
(#6099)
Fixed an issues causing trace exports to fail when
Activity.StatusDescriptionexceeds 127 bytes.(#6119)
Fixed incorrect log serialization of attributes with null values, causing
some backends to reject logs.
(#6149)
... (truncated)
1.11.2-beta.1
The following changes are from the previous release 1.11.0-beta.1.
NuGet: OpenTelemetry.Exporter.Prometheus.AspNetCore v1.11.2-beta.1
1.11.2.(#6169)
See CHANGELOG for details.
NuGet: OpenTelemetry.Exporter.Prometheus.HttpListener v1.11.2-beta.1
1.11.2.(#6169)
See CHANGELOG for details.
NuGet: OpenTelemetry.Shims.OpenTracing v1.11.2-beta.1
1.11.2.(#6169)
See CHANGELOG for details.
1.11.1
For highlights and announcements pertaining to this release see: Release Notes > 1.11.1.
The following changes are from the previous release 1.11.0.
NuGet: OpenTelemetry v1.11.1
No notable changes.
See CHANGELOG for details.
NuGet: OpenTelemetry.Api v1.11.1
No notable changes.
See CHANGELOG for details.
NuGet: OpenTelemetry.Api.ProviderBuilderExtensions v1.11.1
No notable changes.
See CHANGELOG for details.
NuGet: OpenTelemetry.Exporter.Console v1.11.1
No notable changes.
See CHANGELOG for details.
NuGet: OpenTelemetry.Exporter.InMemory v1.11.1
No notable changes.
See CHANGELOG for details.
NuGet: OpenTelemetry.Exporter.OpenTelemetryProtocol v1.11.1
traces in .NET Framework projects.
(#6067)
See CHANGELOG for details.
NuGet: OpenTelemetry.Exporter.Zipkin v1.11.1
No notable changes.
See CHANGELOG for details.
NuGet: OpenTelemetry.Extensions.Hosting v1.11.1
... (truncated)
1.11.0
For highlights and announcements pertaining to this release see: Release Notes > 1.11.0.
The following changes are from the previous release 1.11.0-rc.1.
NuGet: OpenTelemetry v1.11.0
Meter.Tags
will now be considered when resolving the SDK metric to update when
measurements are recorded. Meters with the same name and different tags will
now lead to unique metrics.
(#5982)
Fixed a bug in tracing where
TraceStateset by a customSampleris notapplied when creating propagation-only spans.
(#6058)
See CHANGELOG for details.
NuGet: OpenTelemetry.Api v1.11.0
No notable changes.
See CHANGELOG for details.
NuGet: OpenTelemetry.Api.ProviderBuilderExtensions v1.11.0
No notable changes.
See CHANGELOG for details.
NuGet: OpenTelemetry.Exporter.Console v1.11.0
No notable changes.
See CHANGELOG for details.
NuGet: OpenTelemetry.Exporter.InMemory v1.11.0
No notable changes.
See CHANGELOG for details.
NuGet: OpenTelemetry.Exporter.OpenTelemetryProtocol v1.11.0
No notable changes.
See CHANGELOG for details.
NuGet: OpenTelemetry.Exporter.Zipkin v1.11.0
... (truncated)
1.11.0-rc.1
The following changes are from the previous release 1.10.0.
NuGet: OpenTelemetry v1.11.0-rc.1
No notable changes.
See CHANGELOG for details.
NuGet: OpenTelemetry.Api v1.11.0-rc.1
No notable changes.
See CHANGELOG for details.
NuGet: OpenTelemetry.Api.ProviderBuilderExtensions v1.11.0-rc.1
No notable changes.
See CHANGELOG for details.
NuGet: OpenTelemetry.Exporter.Console v1.11.0-rc.1
No notable changes.
See CHANGELOG for details.
NuGet: OpenTelemetry.Exporter.InMemory v1.11.0-rc.1
No notable changes.
See CHANGELOG for details.
NuGet: OpenTelemetry.Exporter.OpenTelemetryProtocol v1.11.0-rc.1
Removed the following package references:
Google.ProtobufGrpcGrpc.Net.ClientThese changes were made to streamline dependencies and reduce the footprint of
the exporter.
(#6005)
Switched from using the
Google.Protobuflibrary for serialization to acustom manual implementation of protobuf serialization.
(#6005)
Fixed an issue where a
service.namewas added to the resource if it wasmissing. The exporter now respects the resource data provided by the SDK
... (truncated)
1.11.0-beta.1
The following changes are from the previous release 1.10.0-beta.1.
NuGet: OpenTelemetry.Exporter.Prometheus.AspNetCore v1.11.0-beta.1
1.11.0.(#6064)
See CHANGELOG for details.
NuGet: OpenTelemetry.Exporter.Prometheus.HttpListener v1.11.0-beta.1
1.11.0.(#6064)
See CHANGELOG for details.
NuGet: OpenTelemetry.Shims.OpenTracing v1.11.0-beta.1
1.11.0.(#6064)
See CHANGELOG for details.
1.10.0
For highlights and announcements pertaining to this release see: Release Notes > 1.10.0.
The following changes are from the previous release 1.10.0-rc.1.
NuGet: OpenTelemetry v1.10.0
Promoted the MetricPoint reclaim feature for Delta aggregation temporality
from experimental to stable.
(#5956)
Previous Behavior:
The SDK maintained a fixed set of MetricPoints which were assigned on a
first-come basis based on the tags. MetricPoint reclaim was an experimental
feature users could opt-into setting the environment variable
OTEL_DOTNET_EXPERIMENTAL_METRICS_RECLAIM_UNUSED_METRIC_POINTS=true.New Behavior:
MetricPoint reclaim is now enabled by default when Delta aggregation
temporality is used without the need to set an environment variable. Unused
MetricPoints will automatically be reclaimed and reused for future
measurements. There is NO ability to revert to the old behavior.
Updated the
Microsoft.Extensions.Logging.ConfigurationandMicrosoft.Extensions.Diagnostics.Abstractionspackage versions to9.0.0.(#5967)
See CHANGELOG for details.
NuGet: OpenTelemetry.Api v1.10.0
System.Diagnostics.DiagnosticSourcepackage version to9.0.0.(#5967)
See CHANGELOG for details.
NuGet: OpenTelemetry.Api.ProviderBuilderExtensions v1.10.0
Microsoft.Extensions.DependencyInjection.Abstractionspackageversion to
9.0.0.(#5967)
See CHANGELOG for details.
NuGet: OpenTelemetry.Exporter.Console v1.10.0
No notable changes.
See CHANGELOG for details.
... (truncated)
1.10.0-rc.1
The following changes are from the previous release 1.10.0-beta.1.
NuGet: OpenTelemetry v1.10.0-rc.1
The experimental APIs previously covered by
OTEL1003(
MetricStreamConfiguration.CardinalityLimit) are now part of the public APIand supported in stable builds.
(#5926)
Promoted overflow attribute from experimental to stable and removed the
OTEL_DOTNET_EXPERIMENTAL_METRICS_EMIT_OVERFLOW_ATTRIBUTEenvironment variable.Previous Behavior:
By default, when the cardinality limit was reached, measurements were dropped,
and an internal log was emitted the first time this occurred. Users could
opt-in to experimental overflow attribute feature with
OTEL_DOTNET_EXPERIMENTAL_METRICS_EMIT_OVERFLOW_ATTRIBUTE=true.With this setting, the SDK would use an overflow attribute
(
otel.metric.overflow = true) to aggregate measurements instead of droppingmeasurements. No internal log was emitted in this case.
New Behavior:
The SDK now always uses the overflow attribute (
otel.metric.overflow = true)to aggregate measurements when the cardinality limit is reached. The previous
approach of dropping measurements has been removed. No internal logs are
emitted when the limit is hit.
The default cardinality limit remains 2000 per metric. To set the cardinality
limit for an individual metric, use the changing cardinality limit for a
Metric.
There is NO ability to revert to old behavior.
(#5909)
Exposed a
publicconstructor onBatch<T>which accepts a single instanceof
Tto be contained in the batch.(#5642)
See CHANGELOG for details.
NuGet: OpenTelemetry.Api v1.10.0-rc.1
No notable changes.
See CHANGELOG for details.
NuGet: OpenTelemetry.Api.ProviderBuilderExtensions v1.10.0-rc.1
No notable changes.
... (truncated)
1.10.0-beta.1
The following changes are from the previous release 1.9.0.
NuGet: OpenTelemetry v1.10.0-beta.1
Added
OpenTelemetrySdk.CreateAPI for configuring OpenTelemetry .NET signals(logging, tracing, and metrics) via a single builder. This new API simplifies
bootstrap and teardown, and supports cross-cutting extensions targeting
IOpenTelemetryBuilder.(#5325)
Updated the
Microsoft.Extensions.Logging.ConfigurationandMicrosoft.Extensions.Diagnostics.Abstractionspackages version to9.0.0-rc.1.24431.7.(#5853)
Added support in metrics for histogram bucket boundaries set via the .NET 9
InstrumentAdvice<T>
API.
Note: With this change explicit bucket histogram boundary resolution will
apply in the following order:
See #5854
for details.
Added support for collecting metrics emitted via the .NET 9
Gauge<T>
API.
(#5867)
See CHANGELOG for details.
NuGet: OpenTelemetry.Api v1.10.0-beta.1
Breaking change: CompositeTextMapPropagator.Fields now returns a
unioned set of fields from all combined propagators. Previously this always
returned an empty set.
(#5745)
Optimize performance of
TraceContextPropagator.Extract.(#5749)
Obsoleted the
ActivityExtensions.GetStatusandActivityExtensions.SetStatusextension methods. Users should migrate to theSystem.Diagnostics.DiagnosticSourceActivity.SetStatus
... (truncated)
1.9.0
For highlights and announcements pertaining to this release see: Release Notes > 1.9.0.
The following changes are from the previous release 1.9.0-rc.1.
NuGet: OpenTelemetry v1.9.0
No notable changes.
See CHANGELOG for details.
NuGet: OpenTelemetry.Api v1.9.0
+to%20for baggage item values from #5303
(#5687)
See CHANGELOG for details.
NuGet: OpenTelemetry.Api.ProviderBuilderExtensions v1.9.0
No notable changes.
See CHANGELOG for details.
NuGet: OpenTelemetry.Exporter.Console v1.9.0
No notable changes.
See CHANGELOG for details.
NuGet: OpenTelemetry.Exporter.InMemory v1.9.0
No notable changes.
See CHANGELOG for details.
NuGet: OpenTelemetry.Exporter.OpenTelemetryProtocol v1.9.0
No notable changes.
See CHANGELOG for details.
NuGet: OpenTelemetry.Exporter.Zipkin v1.9.0
No notable changes.
See CHANGELOG for details.
NuGet: OpenTelemetry.Extensions.Hosting v1.9.0
No notable changes.
See CHANGELOG for details.
NuGet: OpenTelemetry.Extensions.Propagators v1.9.0
No notable changes.
... (truncated)
1.9.0-rc.1
The following changes are from the previous release 1.9.0-alpha.1.
NuGet: OpenTelemetry v1.9.0-rc.1
OTEL1000(
LoggerProviderBuilderAddProcessor&ConfigureResourceextensions, andLoggerProviderForceFlush&Shutdownextensions) will now be part of thepublic API and supported in stable builds.
(#5648)
See CHANGELOG for details.
NuGet: OpenTelemetry.Api v1.9.0-rc.1
OTEL1000(LoggerProvider,LoggerProviderBuilder, &IDeferredLoggerProviderBuilder) will now be partof the public API and supported in stable builds.
(#5648)
See CHANGELOG for details.
NuGet: OpenTelemetry.Api.ProviderBuilderExtensions v1.9.0-rc.1
OTEL1000(
LoggerProviderBuilderAddInstrumentation&ConfigureServicesextensionsand
IServiceCollection.ConfigureOpenTelemetryLoggerProviderextension) willnow be part of the public API and supported in stable builds.
(#5648)
See CHANGELOG for details.
NuGet: OpenTelemetry.Exporter.Console v1.9.0-rc.1
OTEL1000(
LoggerProviderBuilder.AddConsoleExporterextension) will now be part of thepublic API and supported in stable builds.
(#5648)
See CHANGELOG for details.
NuGet: OpenTelemetry.Exporter.InMemory v1.9.0-rc.1
OTEL1000(
LoggerProviderBuilder.AddInMemoryExporterextension) will now be part ofthe public API and supported in stable builds.
(#5648)
See CHANGELOG for details.
NuGet: OpenTelemetry.Exporter.OpenTelemetryProtocol v1.9.0-rc.1
OTEL1000(
LoggerProviderBuilder.AddOtlpExporterextension) will now be part of thepublic API and supported in stable builds.
(#5648)
... (truncated)
1.9.0-beta.2
NuGet: OpenTelemetry.Exporter.Prometheus.AspNetCore v1.9.0-beta.2
processing a collection request
(#5676)
See CHANGELOG for details.
NuGet: OpenTelemetry.Exporter.Prometheus.HttpListener v1.9.0-beta.2
processing a collection request
(#5676)
See CHANGELOG for details.
NuGet: OpenTelemetry.Shims.OpenTracing v1.9.0-beta.2
No notable changes.
See CHANGELOG for details.
1.9.0-beta.1
NuGet: OpenTelemetry.Exporter.Prometheus.AspNetCore v1.9.0-beta.1
No notable changes.
See CHANGELOG for details.
NuGet: OpenTelemetry.Exporter.Prometheus.HttpListener v1.9.0-beta.1
No notable changes.
See CHANGELOG for details.
NuGet: OpenTelemetry.Shims.OpenTracing v1.9.0-beta.1
No notable changes.
See CHANGELOG for details.
1.9.0-alpha.2
NuGet: OpenTelemetry.Exporter.Prometheus.AspNetCore v1.9.0-alpha.2
(#5646)
See CHANGELOG for details.
NuGet: OpenTelemetry.Exporter.Prometheus.HttpListener v1.9.0-alpha.2
(#5646)
See CHANGELOG for details.
NuGet: OpenTelemetry.Shims.OpenTracing v1.9.0-alpha.2
No notable changes.
See CHANGELOG for details.
1.9.0-alpha.1
NuGet: OpenTelemetry v1.9.0-alpha.1
Experimental (pre-release builds only): Exposed
ExemplarReservoiras apublic API and added support for setting an
ExemplarReservoirfactoryfunction when configuring a view (applies to individual metrics).
(#5542)
Fixed a race condition for the experimental MetricPoint reclaim scenario
(enabled via
OTEL_DOTNET_EXPERIMENTAL_METRICS_RECLAIM_UNUSED_METRIC_POINTS)which could have led to a measurement being dropped.
(#5546)
Experimental (pre-release builds only): Exposed
FixedSizeExemplarReservoiras a public API to support custom implementationsof
ExemplarReservoirwhich may be configured using theExemplarReservoirFactoryproperty on the View API.(#5558)
The experimental APIs previously covered by
OTEL1002(Exemplar,ExemplarFilterType,MeterProviderBuilder.SetExemplarFilter,ReadOnlyExemplarCollection,ReadOnlyFilteredTagCollection, &MetricPoint.TryGetExemplars) will now be part of the public API andsupported in stable builds.
(#5607)
Fixed the nullable annotations for the
SamplingResultconstructorsto allow
nullbeing supplied asattributesortraceStateStringwhich has always been supported.
(#5614)
The
ExemplarFilterused by SDKMeterProviders for histogram metrics cannow be controlled via the experimental
OTEL_DOTNET_EXPERIMENTAL_METRICS_EXEMPLAR_FILTER_HISTOGRAMSenvironmentvariable. The supported values are:
always_off,always_on, andtrace_based.(#5611)
See CHANGELOG for details.
NuGet: OpenTelemetry.Api v1.9.0-alpha.1
+to%20for baggage item values when propagating baggage as defined in
W3C Baggage propagation format specification.
(#5303)
See CHANGELOG for details.
NuGet: OpenTelemetry.Api.ProviderBuilderExtensions v1.9.0-alpha.1
No notable changes.
... (truncated)
1.8.1
OpenTelemetry.Instrumentation.AspNetCore
values detected in the query string component of requests are replaced with
the text
Redactedwhen building theurl.querytag. For example,?key1=value1&key2=value2becomes?key1=Redacted&key2=Redacted. You candisable this redaction by setting the environment variable
OTEL_DOTNET_EXPERIMENTAL_ASPNETCORE_DISABLE_URL_QUERY_REDACTIONtotrue.(#5532)
1.8.0
If you're interested in knowing all of the changes that went into 1.8.0 release, please go through the release notes of all the previous pre-release versions for 1.8.0:
Changes in 1.8.0:
OpenTelemetry.Exporter.Console
ActivitySource.Versionproperty.(#5472)
OpenTelemetry.Exporter.OpenTelemetryProtocol
OtlpExporterwill no longer throw an exception (even on .NET Core 3.1)when the
System.Net.Http.SocketsHttpHandler.Http2UnencryptedSupportAppContextswitch is NOT set AND usingOtlpExportProtocol.Grpcto send to an insecure ("http") endpoint.
System.Net.Http.SocketsHttpHandler.Http2UnencryptedSupportis not required to be set when using .NET 5 or newer.
(#5486)
Replaced environment variable
OTEL_DOTNET_EXPERIMENTAL_OTLP_ENABLE_INMEMORY_RETRYwithOTEL_DOTNET_EXPERIMENTAL_OTLP_RETRY.OTEL_DOTNET_EXPERIMENTAL_OTLP_RETRYwhen set to
in_memorywill enable automatic retries in case of transientfailures during data export to an OTLP endpoint.
(#5495)
1.8.0-rc.1
OpenTelemetry
TracerProviders can now have a sampler configured via theOTEL_TRACES_SAMPLERenvironment variable. The supported values are:always_off,always_on,traceidratio,parentbased_always_on,parentbased_always_off, andparentbased_traceidratio. The optionstraceidratioandparentbased_traceidratiomay have the sampler probabilityconfigured via the
OTEL_TRACES_SAMPLER_ARGenvironment variable.For details see: OpenTelemetry Environment Variable
Specification.
(#5448)
OpenTelemetry.Exporter.Prometheus.AspNetCore
Fix serializing scope_info when buffer overflows
(#5407)
Add
target_infoto Prometheus exporters when using OpenMetrics(#5407)
OpenTelemetry.Exporter.Prometheus.HttpListener
Fix serializing scope_info when buffer overflows
(#5407)
Add
target_infoto Prometheus exporters when using OpenMetrics(#5407)
OpenTelemetry.Exporter.Zipkin
otel.library.nameandotel.library.versiontootel.scope.nameandotel.scope.versionrespectively.Old versions of attributes are deprecated, but still exported
for backward compatibility.
(#5473)
1.8.0-beta.1
OpenTelemetry
Throw NotSupportedException when using
SetErrorStatusOnExceptionmethod for Tracing in Mono Runtime and Native AOT environment because the dependentMarshal.GetExceptionPointers()API is not supported on these platforms. (#5374)Fixed an issue where
LogRecord.Attributes(orLogRecord.StateValuesalias) could become out of sync withLogRecord.Stateif either is set directly via the public setters. This was done to further mitigate issues introduced in 1.5.0 causing attributes added using custom processor(s) to be missing after upgrading. For details see:(#5169)Fixed an issue where
SimpleExemplarReservoirwas not resetting internal state for cumulative temporality. (#5230)Fixed an issue causing
LogRecords to be incorrectly reused when wrapping an instance ofBatchLogRecordExportProcessorinside anotherBaseProcessor<LogRecord>which leads to missing or incorrect data during export. (#5255)Experimental (pre-release builds only): Added support for setting
CardinalityLimit(the maximum number of data points allowed for a metric) when configuring a view (applies to individual metrics) and obsoletedMeterProviderBuilderExtensions.SetMaxMetricPointsPerMetricStream(previously applied to all metrics). The default cardinality limit for metrics remains at2000. (#5312, #5328)Updated
LogRecordto keepCategoryNameandLoggerin sync when using the experimental Log Bridge API. #5317Added
OpenTelemetryBuilderSdkExtensionsclass which contains extension methods (ConfigureResource,WithMetrics,WithTracing, and experimentalWithLogging) for theIOpenTelemetryBuilderinterface. (#5265)Added
Microsoft.Extensions.Diagnostics.Abstractionsdependency so that theIOpenTelemetryBuilder.WithMetricsextension method can configure IMetricsListener. (#5265)Experimental (pre-release builds only): The
Exemplar.FilteredTagsproperty now returns aReadOnlyFilteredTagCollectioninstance and theExemplar.LongValueproperty has been added. TheMetricPoint.GetExemplarsmethod has been replaced byMetricPoint.TryGetExemplarswhich outputs aReadOnlyExemplarCollectioninstance. These are breaking changes for metrics exporters which support exemplars. (#5386)Experimental (pre-release builds only): Added support for exemplars when using Base2 Exponential Bucket Histogram Aggregation configured via the View API. (#5396)
Experimental (pre-release builds only): Removed the
ExemplarFilter,AlwaysOffExemplarFilter,AlwaysOnExemplarFilter, andTraceBasedExemplarFilterAPIs. TheMeterProviderBuilder.SetExemplarFilterextension method now accepts anExemplarFilterTypeenumeration (which contains definitions for the supported filter typesAlwaysOff,AlwaysOn, andTraceBased) instead of anExemplarFilterinstance. This was done in response to changes made to the OpenTelemetry Metrics SDK Specification. (#5404)Experimental (pre-release builds only): The
ExemplarFilterused by SDKMeterProviders can now be controlled via theOTEL_METRICS_EXEMPLAR_FILTERenvironment variable. The supported values are:always_off,always_on, andtrace_based. For details see: OpenTelemetry Environment Variable Specification. (#5412)OpenTelemetry.Api.ProviderBuilderExtensions
IOpenTelemetryBuilderinterface to support authoring extensions which can configure multiple OpenTelemetry signals (tracing, metrics, and/or logs). (#5265)OpenTelemetry.Exporter.OpenTelemetryProtocol
Experimental (pre-release builds only): Added
LoggerProviderBuilder.AddOtlpExporterregistration extensions. #5103Removed the
OTEL_DOTNET_EXPERIMENTAL_OTLP_EMIT_EXCEPTION_LOG_ATTRIBUTESenvironment variable, following the stabilization of the exception attributesexception.type,exception.message, andexception.stacktracein the OpenTelemetry Semantic Conventions. These attributes, corresponding toLogRecord.Exception, are now stable and will be automatically included in exports. (#5258)Updated
OtlpLogExporterto setbodyon the data model fromLogRecord.Bodyif{OriginalFormat}attribute is NOT found andFormattedMessageisnull. This is typically the case when using theexperimental Logs Bridge API. (#5268)
Updated
OtlpLogExporterto set instrumentation scope name on the data model fromLogRecord.Logger.NameifLogRecord.CategoryNameisnull. This is typically the case when using the experimental Logs Bridge API. (#5300)URL encoded values in
OTEL_EXPORTER_OTLP_HEADERSare now correctly decoded as it is mandated by the specification. (#5316)Experimental (pre-release builds only): Add support in
OtlpMetricExporterfor emitting exemplars supplied on Counters, Gauges, andExponentialHistograms. (#5397)
Setting
EndpointorHttpClientFactoryproperties onOtlpExporterOptionstonullwill now result in anArgumentNullExceptionbeing thrown. (#5434)Introduced experimental support for automatically retrying export to the otlp endpoint when transient network errors occur. Users can enable this feature by setting
OTEL_DOTNET_EXPERIMENTAL_OTLP_ENABLE_INMEMORY_RETRYenvironment variable to true. (#5435)... (truncated)
1.7.1
1.7.1 (stable instrumentation)
OpenTelemetry.Instrumentation.AspNetCore
Activity.Currentwas different than instance obtained fromIHttpActivityFeature.Activity. (#5136)http.routeattribute was not set on either theActivityorhttp.server.request.durationmetric generated from a request when an exception handling middleware is invoked. One caveat is that this fix does not address the problem for thehttp.server.request.durationmetric when running ASP.NET Core 8. ASP.NET Core 8 contains an equivalent fix which should ship in version 8.0.2 (see: dotnet/aspnetcore#52652). (#5135)net6.0target of this library is loaded into a .NET 7+ process and the instrumentation does not behave as expected. This is an unusual scenario that does not affect users consuming this package normally. This fix is primarily to support the opentelemetry-dotnet-instrumentation project. (#5252)OpenTelemetry.Instrumentation.Http
http.client.request.durationmetric. (#5234)1.7.0-beta.1 (pre-release instrumentation)
OpenTelemetry.Instrumentation.SqlClient
OTEL_SEMCONV_STABILITY_OPT_INenvironment variable which toggled the use of the new conventions for the server, client, and shared network attributes. Now that this suite of attributes are stable, this instrumentation will only emit the new attributes. (#5270)SqlClientInstrumentationOptionstoSqlClientTraceInstrumentationOptions. (#5285)db.statement_typeattribute. This attribute was never a part of the semantic conventions. (#5301)OpenTelemetry.Instrumentation.GrpcNetClient
OpenTelemetry.Instrumentation.Httppackage version1.6.0or greater. This is not a result of a change in theOpenTelemetry.Instrumentation.GrpcNetClientpackage therefore this also affects versions prior to this release. See this issue for details and workaround.OTEL_SEMCONV_STABILITY_OPT_INenvironment variable which toggled the use of the new conventions for the server, client, and shared network attributes. Now that this suite of attributes are stable, this instrumentation will only emit the new attributes. (#5259)GrpcClientInstrumentationOptionstoGrpcClientTraceInstrumentationOptions. (#5272)Commits viewable in compare view.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase.//: # (dependabot-autome...
Description has been truncated