dependabot[bot] opened a new pull request, #5070: URL: https://github.com/apache/arrow-adbc/pull/5070
Updated [OpenTelemetry.Exporter.Console](https://github.com/open-telemetry/opentelemetry-dotnet) from 1.12.0 to 1.21.0. <details> <summary>Release notes</summary> _Sourced from [OpenTelemetry.Exporter.Console's releases](https://github.com/open-telemetry/opentelemetry-dotnet/releases)._ ## 1.21.0 For highlights and announcements pertaining to this release see: [Release Notes > 1.21.0](https://github.com/open-telemetry/opentelemetry-dotnet/blob/main/RELEASENOTES.md#1210). The following changes are from the previous release [1.21.0-rc.2](https://github.com/open-telemetry/opentelemetry-dotnet/releases/tag/core-1.21.0-rc.2). * NuGet: [OpenTelemetry v1.21.0](https://www.nuget.org/packages/OpenTelemetry/1.21.0) * `OpenTelemetryLoggerOptions` is now bound from the `Logging:OpenTelemetry` configuration section using the configuration binding source generator instead of reflection, making it fully trim and Native AOT compatible. An empty value for a boolean option is now ignored on all target frameworks rather than throwing on some, depending on the version of `Microsoft.Extensions.Configuration.Binder` in use. ([#8100](https://github.com/open-telemetry/opentelemetry-dotnet/pull/8100)) * Fixed the self-diagnostics environment snapshot leaving a dangling comma in a redacted `OTEL_RESOURCE_ATTRIBUTES` value when it contained empty entries. ([#8104](https://github.com/open-telemetry/opentelemetry-dotnet/pull/8104)) See [CHANGELOG](https://github.com/open-telemetry/opentelemetry-dotnet/blob/core-1.21.0/src/OpenTelemetry/CHANGELOG.md) for details. * NuGet: [OpenTelemetry.Api v1.21.0](https://www.nuget.org/packages/OpenTelemetry.Api/1.21.0) * Update `System.Diagnostics.DiagnosticSource` dependency to `11.0.0` for all target frameworks. ([#8066](https://github.com/open-telemetry/opentelemetry-dotnet/pull/8066)) See [CHANGELOG](https://github.com/open-telemetry/opentelemetry-dotnet/blob/core-1.21.0/src/OpenTelemetry.Api/CHANGELOG.md) for details. * NuGet: [OpenTelemetry.Api.ProviderBuilderExtensions v1.21.0](https://www.nuget.org/packages/OpenTelemetry.Api.ProviderBuilderExtensions/1.21.0) No notable changes. See [CHANGELOG](https://github.com/open-telemetry/opentelemetry-dotnet/blob/core-1.21.0/src/OpenTelemetry.Api.ProviderBuilderExtensions/CHANGELOG.md) for details. * NuGet: [OpenTelemetry.Exporter.Console v1.21.0](https://www.nuget.org/packages/OpenTelemetry.Exporter.Console/1.21.0) No notable changes. See [CHANGELOG](https://github.com/open-telemetry/opentelemetry-dotnet/blob/core-1.21.0/src/OpenTelemetry.Exporter.Console/CHANGELOG.md) for details. * NuGet: [OpenTelemetry.Exporter.InMemory v1.21.0](https://www.nuget.org/packages/OpenTelemetry.Exporter.InMemory/1.21.0) No notable changes. See [CHANGELOG](https://github.com/open-telemetry/opentelemetry-dotnet/blob/core-1.21.0/src/OpenTelemetry.Exporter.InMemory/CHANGELOG.md) for details. * NuGet: [OpenTelemetry.Exporter.OpenTelemetryProtocol v1.21.0](https://www.nuget.org/packages/OpenTelemetry.Exporter.OpenTelemetryProtocol/1.21.0) * Hardened the experimental disk retry feature. * **Breaking:** When running on .NET on non-Windows platforms, creating the ... (truncated) ## 1.21.0-rc.2 The following changes are from the previous release [1.21.0-rc.1](https://github.com/open-telemetry/opentelemetry-dotnet/releases/tag/core-1.21.0-rc.1). * NuGet: [OpenTelemetry v1.21.0-rc.2](https://www.nuget.org/packages/OpenTelemetry/1.21.0-rc.2) * Fixed an exception when downscaling empty exponential histogram buckets after a reset. ([#8064](https://github.com/open-telemetry/opentelemetry-dotnet/pull/8064)) * Fixed tracing callbacks continuing after provider shutdown or disposal on older target frameworks. ([#8065](https://github.com/open-telemetry/opentelemetry-dotnet/pull/8065)) * Fixed initialization failures when environment variable access is denied. Configuration reloads retain the last successful values when access is denied. ([#8070](https://github.com/open-telemetry/opentelemetry-dotnet/pull/8070)) * Fixed a source, meter or legacy activity name with a trailing line feed matching a wildcard pattern which does not end in a wildcard. ([#8074](https://github.com/open-telemetry/opentelemetry-dotnet/pull/8074)) * Fixed `OTEL_RESOURCE_ATTRIBUTES` values being decoded as form data, which changed a `+` to a space. Values are now only percent-decoded, as defined by the Resource SDK specification. ([#8074](https://github.com/open-telemetry/opentelemetry-dotnet/pull/8074)) * Updated the schema URL of resources created by the SDK to use OpenTelemetry Semantic Conventions version `1.45.0`. ([#8079](https://github.com/open-telemetry/opentelemetry-dotnet/pull/8079)) * Added support for batching the metric points exported by `PeriodicExportingMetricReader`. When a maximum export batch size is set, using the new constructor overload or `PeriodicExportingMetricReaderOptions.MaxExportBatchSize`, the metric points of each collection are split into batches of at most that many metric points, even if that splits up the metric points of a single metric. The batches are exported serially with the export timeout applying to each export. It can also be configured with the `OTEL_METRIC_EXPORT_MAX_BATCH_SIZE` environment variable. ([#8053](https://github.com/open-telemetry/opentelemetry-dotnet/pull/8053)) * Fixed `PeriodicExportingMetricReader` exporting a collection which was still in progress when `Shutdown()` timed out to its exporter after the exporter had been shut down. ([#8053](https://github.com/open-telemetry/opentelemetry-dotnet/pull/8053)) * Fixed `PeriodicExportingMetricReader` not making its final collection when `Shutdown()` was called before its background task had started running on platforms where threading is not available, such as browsers. ([#8053](https://github.com/open-telemetry/opentelemetry-dotnet/pull/8053)) ... (truncated) ## 1.21.0-rc.1 The following changes are from the previous release [1.20.1](https://github.com/open-telemetry/opentelemetry-dotnet/releases/tag/core-1.20.1). * NuGet: [OpenTelemetry v1.21.0-rc.1](https://www.nuget.org/packages/OpenTelemetry/1.21.0-rc.1) * Fixed a race in the self-diagnostics sink dispatcher where disposing it while its pump thread was exiting could throw `ArgumentNullException` on .NET Framework. ([#7983](https://github.com/open-telemetry/opentelemetry-dotnet/pull/7983)) * `SelfDiagnosticsOptions` is now automatically bound from the `OpenTelemetry:SelfDiagnostics` configuration section, when present. ([#8008](https://github.com/open-telemetry/opentelemetry-dotnet/pull/8008)) * Fixed a race where collecting a metric with delta temporality concurrently with the creation of a new `MetricPoint` could reclaim the `MetricPoint` while it was being created, losing the measurement. ([#8019](https://github.com/open-telemetry/opentelemetry-dotnet/pull/8019)) * Fixed a race where collecting a metric with delta temporality could export the same series twice in a single collection. ([#8019](https://github.com/open-telemetry/opentelemetry-dotnet/pull/8019)) * Fixed wildcard matching timeouts that could prevent configured source, meter, legacy activity, or metric view patterns from matching. ([#8014](https://github.com/open-telemetry/opentelemetry-dotnet/pull/8014)) * The timeout passed to `MetricReader.Collect()` (for example by `MeterProvider.ForceFlush()`), the `ExportTimeoutMilliseconds` of `PeriodicExportingMetricReader` and the `ExporterTimeoutMilliseconds` of `BatchExportProcessor<T>` are now made available to the exporter instead of being ignored once the export has started, so that the OTLP exporter can cancel an export which runs past the timeout. The `ExportTimeoutMilliseconds` of `PeriodicExportingMetricReader` now also limits exports which are not started by the reader itself, such as those of `MeterProvider.ForceFlush()`. ([#7996](https://github.com/open-telemetry/opentelemetry-dotnet/pull/7996)) * Fixed a race where collecting a cumulative metric concurrently with the creation of a new `MetricPoint` could export a `MetricPoint` that was not yet fully initialized, could case a `NullReferenceException` when enumerating `Tags`. ([#8018](https://github.com/open-telemetry/opentelemetry-dotnet/pull/8018)) * **Breaking Change** Dropped support for `net8.0` and `net9.0`. ([#6899](https://github.com/open-telemetry/opentelemetry-dotnet/pull/6899)) * Add support for .NET 11.0. ([#6899](https://github.com/open-telemetry/opentelemetry-dotnet/pull/6899)) * Added support for enabling `ActivitySource`s from configuration using the `Microsoft.Extensions.Diagnostics` tracing APIs introduced in .NET 11 (for example, `services.AddTracing(b => b.AddConfiguration(section))`). ... (truncated) ## 1.21.0-beta.1 The following changes are from the previous release [1.20.1-beta.1](https://github.com/open-telemetry/opentelemetry-dotnet/releases/tag/coreunstable-1.20.1-beta.1). * NuGet: [OpenTelemetry.Exporter.Prometheus.AspNetCore v1.21.0-beta.1](https://www.nuget.org/packages/OpenTelemetry.Exporter.Prometheus.AspNetCore/1.21.0-beta.1) * Fixed OpenMetrics scrape responses containing a `# UNIT` line whose unit is not an underscore-separated suffix of the metric family name (for example `auth.failedlogins` with the unit `logins`), which caused scrapers such as Prometheus to reject the whole response. The `# UNIT` line is now omitted for such metrics; exported metric names are unchanged. ([#7993](https://github.com/open-telemetry/opentelemetry-dotnet/pull/7993)) * Fixed scrapes that negotiate different response formats within the `ScrapeResponseCacheDurationMilliseconds` window each triggering their own metrics collection. A collection now also writes the response for other formats whose scrapes arrived alongside a previous collection, so scrapes that keep arriving together are served from the cache. Fresh cached responses remain available while another format is serialized, even if that serialization fails. ([#7994](https://github.com/open-telemetry/opentelemetry-dotnet/pull/7994)) * Fixed array- and map-valued attributes being serialized as the .NET type name (e.g. `System.Byte[]`, `System.Int32[]`) instead of being JSON-encoded as per the specification. `byte[]`-valued attributes are now Base64-encoded, and other array- and map-valued attributes are now JSON-encoded. ([#7694](https://github.com/open-telemetry/opentelemetry-dotnet/pull/7694)) * Fixed arrays of string-valued key/value pairs being serialized as JSON arrays of strings instead of JSON objects. ([#7694](https://github.com/open-telemetry/opentelemetry-dotnet/pull/7694)) * Fixed scrape clients which stop reading their response delaying other scrapes until `ScrapeResponseTimeoutMilliseconds` elapses. ([#8041](https://github.com/open-telemetry/opentelemetry-dotnet/pull/8041)) * **Breaking Change** Dropped support for `net8.0` and `net9.0`. ([#6899](https://github.com/open-telemetry/opentelemetry-dotnet/pull/6899)) * Add support for .NET 11.0. ([#6899](https://github.com/open-telemetry/opentelemetry-dotnet/pull/6899)) * Fixed a scrape response containing the same series (metric name and labels) more than once, which causes Prometheus to reject the whole response, such as when metric or tag names are the same once escaped, tag names become the same when UTF-8 encoded, or the scope information is disabled. Duplicate series are now dropped, and a warning event is written. A metric which has the name of a sample that is generated for another one (for example `_sum` of a histogram) is now dropped, and a warning event is written. ([#8076](https://github.com/open-telemetry/opentelemetry-dotnet/pull/8076)) ... (truncated) ## 1.20.1 For highlights and announcements pertaining to this release see: [Release Notes > 1.20.1](https://github.com/open-telemetry/opentelemetry-dotnet/blob/main/RELEASENOTES.md#1201). The following changes are from the previous release [1.20.0](https://github.com/open-telemetry/opentelemetry-dotnet/releases/tag/core-1.20.0). * NuGet: [OpenTelemetry v1.20.1](https://www.nuget.org/packages/OpenTelemetry/1.20.1) * Fixed a possible race condition on ARM64 when multiple threads record the first measurement with no tags, or the first overflow measurement, that could cause the measurement to be recorded incorrectly. ([#7951](https://github.com/open-telemetry/opentelemetry-dotnet/pull/7951)) * Fixed self-diagnostics preamble redaction of quoted or encoded PEM material and prefixed JWTs. ([#7955](https://github.com/open-telemetry/opentelemetry-dotnet/pull/7955)) * Fixed default HTTP client log filtering when registering the OTLP log exporter through `OpenTelemetryLoggerOptions`. ([#7959](https://github.com/open-telemetry/opentelemetry-dotnet/pull/7959)) * Fixed legacy self-diagnostics logging terminating the process when the log file is truncated or the log volume runs out of space. ([#7956](https://github.com/open-telemetry/opentelemetry-dotnet/pull/7956)) * **Experimental (pre-release builds only):** Fixed `Logger.EmitLog` ignoring instrumentation suppression, which could cause recursive exports or deadlocks. ([#7961](https://github.com/open-telemetry/opentelemetry-dotnet/pull/7961)) * Fixed delta double counters losing subsequent measurements after a non-finite or large value and idle metric points with a `NaN` value failing to be reclaimed. ([#7963](https://github.com/open-telemetry/opentelemetry-dotnet/pull/7963)) * Improve the assignment of values to exponential histogram buckets when the value is near a bucket boundary by using a pre-computed lookup table. ([#7911](https://github.com/open-telemetry/opentelemetry-dotnet/pull/7911)) * Fixed `LogRecord`s being returned to the shared pool while still queued for export when an exporter stops enumerating a single-item or array `Batch<LogRecord>` early which could cause a `BatchLogRecordExportProcessor` on the same provider to export missing or incorrect data. ([#7965](https://github.com/open-telemetry/opentelemetry-dotnet/pull/7965)) * Fixed a `SuppressInstrumentationScope.Enter()` reference count never being released when the `Activity` it was entered for is not recorded, which caused all subsequent telemetry in that execution context to be suppressed. ([#7966](https://github.com/open-telemetry/opentelemetry-dotnet/pull/7966)) * Self-diagnostics log files, whether configured through `OTEL_DIAGNOSTICS.json` or `SelfDiagnosticsOptions`, are now always created as new files. ([#7968](https://github.com/open-telemetry/opentelemetry-dotnet/pull/7968)) ... (truncated) ## 1.20.1-rc.1 The following changes are from the previous release [1.20.0](https://github.com/open-telemetry/opentelemetry-dotnet/releases/tag/core-1.20.0). * NuGet: [OpenTelemetry v1.20.1-rc.1](https://www.nuget.org/packages/OpenTelemetry/1.20.1-rc.1) * Fixed a possible race condition on ARM64 when multiple threads record the first measurement with no tags, or the first overflow measurement, that could cause the measurement to be recorded incorrectly. ([#7951](https://github.com/open-telemetry/opentelemetry-dotnet/pull/7951)) * Fixed self-diagnostics preamble redaction of quoted or encoded PEM material and prefixed JWTs. ([#7955](https://github.com/open-telemetry/opentelemetry-dotnet/pull/7955)) * Fixed default HTTP client log filtering when registering the OTLP log exporter through `OpenTelemetryLoggerOptions`. ([#7959](https://github.com/open-telemetry/opentelemetry-dotnet/pull/7959)) * Fixed legacy self-diagnostics logging terminating the process when the log file is truncated or the log volume runs out of space. ([#7956](https://github.com/open-telemetry/opentelemetry-dotnet/pull/7956)) * **Experimental (pre-release builds only):** Fixed `Logger.EmitLog` ignoring instrumentation suppression, which could cause recursive exports or deadlocks. ([#7961](https://github.com/open-telemetry/opentelemetry-dotnet/pull/7961)) * Fixed delta double counters losing subsequent measurements after a non-finite or large value and idle metric points with a `NaN` value failing to be reclaimed. ([#7963](https://github.com/open-telemetry/opentelemetry-dotnet/pull/7963)) * Improve the assignment of values to exponential histogram buckets when the value is near a bucket boundary by using a pre-computed lookup table. ([#7911](https://github.com/open-telemetry/opentelemetry-dotnet/pull/7911)) * Fixed `LogRecord`s being returned to the shared pool while still queued for export when an exporter stops enumerating a single-item or array `Batch<LogRecord>` early which could cause a `BatchLogRecordExportProcessor` on the same provider to export missing or incorrect data. ([#7965](https://github.com/open-telemetry/opentelemetry-dotnet/pull/7965)) * Fixed a `SuppressInstrumentationScope.Enter()` reference count never being released when the `Activity` it was entered for is not recorded, which caused all subsequent telemetry in that execution context to be suppressed. ([#7966](https://github.com/open-telemetry/opentelemetry-dotnet/pull/7966)) * Self-diagnostics log files, whether configured through `OTEL_DIAGNOSTICS.json` or `SelfDiagnosticsOptions`, are now always created as new files. ([#7968](https://github.com/open-telemetry/opentelemetry-dotnet/pull/7968)) * Self-diagnostics messages written to the sinks configured by `SelfDiagnosticsOptions` are now truncated to 16,384 characters so that the ... (truncated) ## 1.20.1-beta.1 The following changes are from the previous release [1.20.0-beta.1](https://github.com/open-telemetry/opentelemetry-dotnet/releases/tag/coreunstable-1.20.0-beta.1). * NuGet: [OpenTelemetry.Exporter.Prometheus.AspNetCore v1.20.1-beta.1](https://www.nuget.org/packages/OpenTelemetry.Exporter.Prometheus.AspNetCore/1.20.1-beta.1) * Fixed scrape responses being handed to the server in a single write, which made the server buffer a full copy of the response for each client that did not read it until the request completed or timed out. Responses are now written in bounded slices so the server's back-pressure applies. ([#7957](https://github.com/open-telemetry/opentelemetry-dotnet/pull/7957)) * Fixed startup scrapes permanently omitting `target_info` and configured resource constant labels from subsequent scrape responses. ([#7984](https://github.com/open-telemetry/opentelemetry-dotnet/pull/7984)) * Updated OpenTelemetry core component version(s) to `1.20.1`. ([#7990](https://github.com/open-telemetry/opentelemetry-dotnet/pull/7990)) See [CHANGELOG](https://github.com/open-telemetry/opentelemetry-dotnet/blob/coreunstable-1.20.1-beta.1/src/OpenTelemetry.Exporter.Prometheus.AspNetCore/CHANGELOG.md) for details. * NuGet: [OpenTelemetry.Exporter.Prometheus.HttpListener v1.20.1-beta.1](https://www.nuget.org/packages/OpenTelemetry.Exporter.Prometheus.HttpListener/1.20.1-beta.1) * Fixed scrape responses being handed to the server in a single write, which on Linux and macOS made the listener allocate and hold a full copy of the response for each client that did not read it until the request completed or timed out. Responses are now written in bounded slices. ([#7957](https://github.com/open-telemetry/opentelemetry-dotnet/pull/7957)) * Fixed scrape requests that announce a request body holding a thread pool thread after their response had been sent on Linux and macOS for as long as the client kept trickling in the body. The connection is now closed after responding to a request with a body instead of being kept alive. ([#7962](https://github.com/open-telemetry/opentelemetry-dotnet/pull/7962)) * Fixed startup scrapes permanently omitting `target_info` and configured resource constant labels from subsequent scrape responses. ([#7984](https://github.com/open-telemetry/opentelemetry-dotnet/pull/7984)) * Updated OpenTelemetry core component version(s) to `1.20.1`. ([#7990](https://github.com/open-telemetry/opentelemetry-dotnet/pull/7990)) See [CHANGELOG](https://github.com/open-telemetry/opentelemetry-dotnet/blob/coreunstable-1.20.1-beta.1/src/OpenTelemetry.Exporter.Prometheus.HttpListener/CHANGELOG.md) for details. * NuGet: [OpenTelemetry.Shims.OpenTracing v1.20.1-beta.1](https://www.nuget.org/packages/OpenTelemetry.Shims.OpenTracing/1.20.1-beta.1) * Updated OpenTelemetry core component version(s) to `1.20.1`. ([#7990](https://github.com/open-telemetry/opentelemetry-dotnet/pull/7990)) See [CHANGELOG](https://github.com/open-telemetry/opentelemetry-dotnet/blob/coreunstable-1.20.1-beta.1/src/OpenTelemetry.Shims.OpenTracing/CHANGELOG.md) for details. ## 1.20.0 For highlights and announcements pertaining to this release see: [Release Notes > 1.20.0](https://github.com/open-telemetry/opentelemetry-dotnet/blob/main/RELEASENOTES.md#1200). The following changes are from the previous release [1.19.1](https://github.com/open-telemetry/opentelemetry-dotnet/releases/tag/core-1.19.1). * NuGet: [OpenTelemetry v1.20.0](https://www.nuget.org/packages/OpenTelemetry/1.20.0) * Fixed `SuppressInstrumentationScope` reference counts leaking between inherited asynchronous execution contexts. ([#7803](https://github.com/open-telemetry/opentelemetry-dotnet/pull/7803)) * Self-diagnostic features are explicitly disabled on browser-based platforms (e.g. Blazor) and are now non-functional. Previously, attempting to enable self-diagnostics on such platforms would result in an exception at runtime. ([#7799](https://github.com/open-telemetry/opentelemetry-dotnet/pull/7799)) * Added `TracerProviderBuilder.ConfigureSampler` which receives the resolved `Sampler` whether set programmatically, via `OTEL_TRACES_SAMPLER`, or by default, and returns a replacement. Intended for library authors who need to influence sampling without overriding a sampler the application has configured. ([#7780](https://github.com/open-telemetry/opentelemetry-dotnet/pull/7780)) * Fixed `ResourceBuilder.CreateDefault` ignoring `OTEL_RESOURCE_ATTRIBUTES` and `OTEL_SERVICE_NAME` environment variables when the host `IConfiguration` does not contain those settings. ([#7855](https://github.com/open-telemetry/opentelemetry-dotnet/pull/7855)) * Added improved self-diagnostics logging to improve the support experience. The new `SelfDiagnosticsOptions` class configures a rolling file sink and a console sink through the standard options pipeline. Sinks are off by default. ([#7588](https://github.com/open-telemetry/opentelemetry-dotnet/pull/7588)) * Fixed a race that could incorrectly route a concurrent metric measurement to the overflow point when its tag set was published as the cardinality limit was reached. ([#7804](https://github.com/open-telemetry/opentelemetry-dotnet/pull/7804)) * Added `OpenTelemetryLoggerOptions.Version` and `OpenTelemetryLoggerOptions.SchemaUrl` options to set an instrumentation library version and schema URL applied to logs emitted via the `Microsoft.Extensions.Logging` `ILogger` integration. ([#7727](https://github.com/open-telemetry/opentelemetry-dotnet/pull/7727)) * Fixed `LogRecord.CategoryName` resetting the current `Logger`'s `Version` to `null` when set to a new value. ([#7727](https://github.com/open-telemetry/opentelemetry-dotnet/pull/7727)) * Bounded the internal cache of `Logger` scopes keyed by instrumentation to avoid unbounded growth. ([#7727](https://github.com/open-telemetry/opentelemetry-dotnet/pull/7727)) * Fixed the `MeterProvider` and its `IServiceProvider` being kept alive after the host is disposed when using `Microsoft.Extensions.Diagnostics` versions prior to 9.0, which never dispose their `MetricsSubscriptionManager` (and its underlying `MeterListener`). ([#7924](https://github.com/open-telemetry/opentelemetry-dotnet/pull/7924)) * Fixed a race condition between recording a measurement and collecting a histogram with delta temporality that could cause an empty data point (with a count of zero) to be exported in the next collection cycle. ([#7923](https://github.com/open-telemetry/opentelemetry-dotnet/pull/7923)) * Improved metric collection performance after metric streams are removed by compacting metric storage during collection. ([#7945](https://github.com/open-telemetry/opentelemetry-dotnet/pull/7945)) See [CHANGELOG](https://github.com/open-telemetry/opentelemetry-dotnet/blob/core-1.20.0/src/OpenTelemetry/CHANGELOG.md) for details. * NuGet: [OpenTelemetry.Api v1.20.0](https://www.nuget.org/packages/OpenTelemetry.Api/1.20.0) * Added `Logger.SchemaUrl` and a `LoggerProvider.GetLogger` overload accepting a schema URL parameter using the new `LoggerOptions` type. ([#7727](https://github.com/open-telemetry/opentelemetry-dotnet/pull/7727)) * **Breaking change** (pre-release only versions): `LoggerProvider`'s protected `TryCreateLogger(string? name, out Logger? logger)` extensibility method has been replaced by `TryCreateLogger(LoggerOptions options, out Logger? logger)`. Custom `LoggerProvider` subclasses that override the previous overload must update to override the new one; the old overload is no longer called. ... (truncated) ## 1.20.0-rc.1 The following changes are from the previous release [1.19.1](https://github.com/open-telemetry/opentelemetry-dotnet/releases/tag/core-1.19.1). * NuGet: [OpenTelemetry v1.20.0-rc.1](https://www.nuget.org/packages/OpenTelemetry/1.20.0-rc.1) * Fixed `SuppressInstrumentationScope` reference counts leaking between inherited asynchronous execution contexts. ([#7803](https://github.com/open-telemetry/opentelemetry-dotnet/pull/7803)) * Self-diagnostic features are explicitly disabled on browser-based platforms (e.g. Blazor) and are now non-functional. Previously, attempting to enable self-diagnostics on such platforms would result in an exception at runtime. ([#7799](https://github.com/open-telemetry/opentelemetry-dotnet/pull/7799)) * Added `TracerProviderBuilder.ConfigureSampler` which receives the resolved `Sampler` whether set programmatically, via `OTEL_TRACES_SAMPLER`, or by default, and returns a replacement. Intended for library authors who need to influence sampling without overriding a sampler the application has configured. ([#7780](https://github.com/open-telemetry/opentelemetry-dotnet/pull/7780)) * Fixed `ResourceBuilder.CreateDefault` ignoring `OTEL_RESOURCE_ATTRIBUTES` and `OTEL_SERVICE_NAME` environment variables when the host `IConfiguration` does not contain those settings. ([#7855](https://github.com/open-telemetry/opentelemetry-dotnet/pull/7855)) * Added improved self-diagnostics logging to improve the support experience. The new `SelfDiagnosticsOptions` class configures a rolling file sink and a console sink through the standard options pipeline. Sinks are off by default. ([#7588](https://github.com/open-telemetry/opentelemetry-dotnet/pull/7588)) * Fixed a race that could incorrectly route a concurrent metric measurement to the overflow point when its tag set was published as the cardinality limit was reached. ([#7804](https://github.com/open-telemetry/opentelemetry-dotnet/pull/7804)) * Added `OpenTelemetryLoggerOptions.Version` and `OpenTelemetryLoggerOptions.SchemaUrl` options to set an instrumentation library version and schema URL applied to logs emitted via the `Microsoft.Extensions.Logging` `ILogger` integration. ([#7727](https://github.com/open-telemetry/opentelemetry-dotnet/pull/7727)) * Fixed `LogRecord.CategoryName` resetting the current `Logger`'s `Version` to `null` when set to a new value. ([#7727](https://github.com/open-telemetry/opentelemetry-dotnet/pull/7727)) * Bounded the internal cache of `Logger` scopes keyed by instrumentation to avoid unbounded growth. ([#7727](https://github.com/open-telemetry/opentelemetry-dotnet/pull/7727)) * Fixed the `MeterProvider` and its `IServiceProvider` being kept alive after the host is disposed when using `Microsoft.Extensions.Diagnostics` versions prior to 9.0, which never dispose their `MetricsSubscriptionManager` (and its underlying `MeterListener`). ([#7924](https://github.com/open-telemetry/opentelemetry-dotnet/pull/7924)) * Fixed a race condition between recording a measurement and collecting a histogram with delta temporality that could cause an empty data point (with a count of zero) to be exported in the next collection cycle. ([#7923](https://github.com/open-telemetry/opentelemetry-dotnet/pull/7923)) * Improved metric collection performance after metric streams are removed by compacting metric storage during collection. ([#7945](https://github.com/open-telemetry/opentelemetry-dotnet/pull/7945)) See [CHANGELOG](https://github.com/open-telemetry/opentelemetry-dotnet/blob/core-1.20.0-rc.1/src/OpenTelemetry/CHANGELOG.md) for details. * NuGet: [OpenTelemetry.Api v1.20.0-rc.1](https://www.nuget.org/packages/OpenTelemetry.Api/1.20.0-rc.1) * Added `Logger.SchemaUrl` and a `LoggerProvider.GetLogger` overload accepting a schema URL parameter using the new `LoggerOptions` type. ([#7727](https://github.com/open-telemetry/opentelemetry-dotnet/pull/7727)) * **Breaking change** (pre-release only versions): `LoggerProvider`'s protected `TryCreateLogger(string? name, out Logger? logger)` extensibility method has been replaced by `TryCreateLogger(LoggerOptions options, out Logger? logger)`. Custom `LoggerProvider` subclasses that override the previous overload must update to override the new one; the old overload is no longer called. ([#7727](https://github.com/open-telemetry/opentelemetry-dotnet/pull/7727)) ... (truncated) ## 1.20.0-beta.1 The following changes are from the previous release [1.19.1-beta.1](https://github.com/open-telemetry/opentelemetry-dotnet/releases/tag/coreunstable-1.19.1-beta.1). * NuGet: [OpenTelemetry.Exporter.Prometheus.AspNetCore v1.20.0-beta.1](https://www.nuget.org/packages/OpenTelemetry.Exporter.Prometheus.AspNetCore/1.20.0-beta.1) * A scrape request whose connection is aborted, or whose `X-Prometheus-Scrape-Timeout-Seconds` deadline elapses, now stops waiting for an in-progress metrics collection instead of continuing to wait for it to finish. The collection itself is not cancelled and continues running in the background. ([#7856](https://github.com/open-telemetry/opentelemetry-dotnet/pull/7856)) * Updated OpenTelemetry core component version(s) to `1.20.0`. ([#7950](https://github.com/open-telemetry/opentelemetry-dotnet/pull/7950)) See [CHANGELOG](https://github.com/open-telemetry/opentelemetry-dotnet/blob/coreunstable-1.20.0-beta.1/src/OpenTelemetry.Exporter.Prometheus.AspNetCore/CHANGELOG.md) for details. * NuGet: [OpenTelemetry.Exporter.Prometheus.HttpListener v1.20.0-beta.1](https://www.nuget.org/packages/OpenTelemetry.Exporter.Prometheus.HttpListener/1.20.0-beta.1) * Updated OpenTelemetry core component version(s) to `1.20.0`. ([#7950](https://github.com/open-telemetry/opentelemetry-dotnet/pull/7950)) See [CHANGELOG](https://github.com/open-telemetry/opentelemetry-dotnet/blob/coreunstable-1.20.0-beta.1/src/OpenTelemetry.Exporter.Prometheus.HttpListener/CHANGELOG.md) for details. * NuGet: [OpenTelemetry.Shims.OpenTracing v1.20.0-beta.1](https://www.nuget.org/packages/OpenTelemetry.Shims.OpenTracing/1.20.0-beta.1) * Updated OpenTelemetry core component version(s) to `1.20.0`. ([#7950](https://github.com/open-telemetry/opentelemetry-dotnet/pull/7950)) See [CHANGELOG](https://github.com/open-telemetry/opentelemetry-dotnet/blob/coreunstable-1.20.0-beta.1/src/OpenTelemetry.Shims.OpenTracing/CHANGELOG.md) for details. ## 1.19.1 For highlights and announcements pertaining to this release see: [Release Notes > 1.19.1](https://github.com/open-telemetry/opentelemetry-dotnet/blob/main/RELEASENOTES.md#1191). The following changes are from the previous release [1.19.0](https://github.com/open-telemetry/opentelemetry-dotnet/releases/tag/core-1.19.0). * NuGet: [OpenTelemetry v1.19.1](https://www.nuget.org/packages/OpenTelemetry/1.19.1) * Fixed `NotSupportedException` thrown when building a `TracerProvider` or `MeterProvider` with a large number of wildcard source/meter patterns on `net8.0`, and a related `OutOfMemoryException` that could occur when many such providers were built over the lifetime of a process. ([#7788](https://github.com/open-telemetry/opentelemetry-dotnet/pull/7788)) See [CHANGELOG](https://github.com/open-telemetry/opentelemetry-dotnet/blob/core-1.19.1/src/OpenTelemetry/CHANGELOG.md) for details. * NuGet: [OpenTelemetry.Api v1.19.1](https://www.nuget.org/packages/OpenTelemetry.Api/1.19.1) No notable changes. See [CHANGELOG](https://github.com/open-telemetry/opentelemetry-dotnet/blob/core-1.19.1/src/OpenTelemetry.Api/CHANGELOG.md) for details. * NuGet: [OpenTelemetry.Api.ProviderBuilderExtensions v1.19.1](https://www.nuget.org/packages/OpenTelemetry.Api.ProviderBuilderExtensions/1.19.1) No notable changes. See [CHANGELOG](https://github.com/open-telemetry/opentelemetry-dotnet/blob/core-1.19.1/src/OpenTelemetry.Api.ProviderBuilderExtensions/CHANGELOG.md) for details. * NuGet: [OpenTelemetry.Exporter.Console v1.19.1](https://www.nuget.org/packages/OpenTelemetry.Exporter.Console/1.19.1) No notable changes. See [CHANGELOG](https://github.com/open-telemetry/opentelemetry-dotnet/blob/core-1.19.1/src/OpenTelemetry.Exporter.Console/CHANGELOG.md) for details. * NuGet: [OpenTelemetry.Exporter.InMemory v1.19.1](https://www.nuget.org/packages/OpenTelemetry.Exporter.InMemory/1.19.1) No notable changes. See [CHANGELOG](https://github.com/open-telemetry/opentelemetry-dotnet/blob/core-1.19.1/src/OpenTelemetry.Exporter.InMemory/CHANGELOG.md) for details. * NuGet: [OpenTelemetry.Exporter.OpenTelemetryProtocol v1.19.1](https://www.nuget.org/packages/OpenTelemetry.Exporter.OpenTelemetryProtocol/1.19.1) No notable changes. See [CHANGELOG](https://github.com/open-telemetry/opentelemetry-dotnet/blob/core-1.19.1/src/OpenTelemetry.Exporter.OpenTelemetryProtocol/CHANGELOG.md) for details. * NuGet: [OpenTelemetry.Exporter.Zipkin v1.19.1](https://www.nuget.org/packages/OpenTelemetry.Exporter.Zipkin/1.19.1) No notable changes. See [CHANGELOG](https://github.com/open-telemetry/opentelemetry-dotnet/blob/core-1.19.1/src/OpenTelemetry.Exporter.Zipkin/CHANGELOG.md) for details. * NuGet: [OpenTelemetry.Extensions.Hosting v1.19.1](https://www.nuget.org/packages/OpenTelemetry.Extensions.Hosting/1.19.1) No notable changes. ... (truncated) ## 1.19.1-rc.1 The following changes are from the previous release [1.19.0](https://github.com/open-telemetry/opentelemetry-dotnet/releases/tag/core-1.19.0). * NuGet: [OpenTelemetry v1.19.1-rc.1](https://www.nuget.org/packages/OpenTelemetry/1.19.1-rc.1) * Fixed `NotSupportedException` thrown when building a `TracerProvider` or `MeterProvider` with a large number of wildcard source/meter patterns on `net8.0`, and a related `OutOfMemoryException` that could occur when many such providers were built over the lifetime of a process. ([#7788](https://github.com/open-telemetry/opentelemetry-dotnet/pull/7788)) See [CHANGELOG](https://github.com/open-telemetry/opentelemetry-dotnet/blob/core-1.19.1-rc.1/src/OpenTelemetry/CHANGELOG.md) for details. * NuGet: [OpenTelemetry.Api v1.19.1-rc.1](https://www.nuget.org/packages/OpenTelemetry.Api/1.19.1-rc.1) No notable changes. See [CHANGELOG](https://github.com/open-telemetry/opentelemetry-dotnet/blob/core-1.19.1-rc.1/src/OpenTelemetry.Api/CHANGELOG.md) for details. * NuGet: [OpenTelemetry.Api.ProviderBuilderExtensions v1.19.1-rc.1](https://www.nuget.org/packages/OpenTelemetry.Api.ProviderBuilderExtensions/1.19.1-rc.1) No notable changes. See [CHANGELOG](https://github.com/open-telemetry/opentelemetry-dotnet/blob/core-1.19.1-rc.1/src/OpenTelemetry.Api.ProviderBuilderExtensions/CHANGELOG.md) for details. * NuGet: [OpenTelemetry.Exporter.Console v1.19.1-rc.1](https://www.nuget.org/packages/OpenTelemetry.Exporter.Console/1.19.1-rc.1) No notable changes. See [CHANGELOG](https://github.com/open-telemetry/opentelemetry-dotnet/blob/core-1.19.1-rc.1/src/OpenTelemetry.Exporter.Console/CHANGELOG.md) for details. * NuGet: [OpenTelemetry.Exporter.InMemory v1.19.1-rc.1](https://www.nuget.org/packages/OpenTelemetry.Exporter.InMemory/1.19.1-rc.1) No notable changes. See [CHANGELOG](https://github.com/open-telemetry/opentelemetry-dotnet/blob/core-1.19.1-rc.1/src/OpenTelemetry.Exporter.InMemory/CHANGELOG.md) for details. * NuGet: [OpenTelemetry.Exporter.OpenTelemetryProtocol v1.19.1-rc.1](https://www.nuget.org/packages/OpenTelemetry.Exporter.OpenTelemetryProtocol/1.19.1-rc.1) No notable changes. See [CHANGELOG](https://github.com/open-telemetry/opentelemetry-dotnet/blob/core-1.19.1-rc.1/src/OpenTelemetry.Exporter.OpenTelemetryProtocol/CHANGELOG.md) for details. * NuGet: [OpenTelemetry.Exporter.Zipkin v1.19.1-rc.1](https://www.nuget.org/packages/OpenTelemetry.Exporter.Zipkin/1.19.1-rc.1) No notable changes. See [CHANGELOG](https://github.com/open-telemetry/opentelemetry-dotnet/blob/core-1.19.1-rc.1/src/OpenTelemetry.Exporter.Zipkin/CHANGELOG.md) for details. * NuGet: [OpenTelemetry.Extensions.Hosting v1.19.1-rc.1](https://www.nuget.org/packages/OpenTelemetry.Extensions.Hosting/1.19.1-rc.1) No notable changes. See [CHANGELOG](https://github.com/open-telemetry/opentelemetry-dotnet/blob/core-1.19.1-rc.1/src/OpenTelemetry.Extensions.Hosting/CHANGELOG.md) for details. ... (truncated) ## 1.19.1-beta.1 The following changes are from the previous release [1.19.0-beta.1](https://github.com/open-telemetry/opentelemetry-dotnet/releases/tag/coreunstable-1.19.0-beta.1). * NuGet: [OpenTelemetry.Exporter.Prometheus.AspNetCore v1.19.1-beta.1](https://www.nuget.org/packages/OpenTelemetry.Exporter.Prometheus.AspNetCore/1.19.1-beta.1) * Updated OpenTelemetry core component version(s) to `1.19.1`. ([#7796](https://github.com/open-telemetry/opentelemetry-dotnet/pull/7796)) See [CHANGELOG](https://github.com/open-telemetry/opentelemetry-dotnet/blob/coreunstable-1.19.1-beta.1/src/OpenTelemetry.Exporter.Prometheus.AspNetCore/CHANGELOG.md) for details. * NuGet: [OpenTelemetry.Exporter.Prometheus.HttpListener v1.19.1-beta.1](https://www.nuget.org/packages/OpenTelemetry.Exporter.Prometheus.HttpListener/1.19.1-beta.1) * Updated OpenTelemetry core component version(s) to `1.19.1`. ([#7796](https://github.com/open-telemetry/opentelemetry-dotnet/pull/7796)) See [CHANGELOG](https://github.com/open-telemetry/opentelemetry-dotnet/blob/coreunstable-1.19.1-beta.1/src/OpenTelemetry.Exporter.Prometheus.HttpListener/CHANGELOG.md) for details. * NuGet: [OpenTelemetry.Shims.OpenTracing v1.19.1-beta.1](https://www.nuget.org/packages/OpenTelemetry.Shims.OpenTracing/1.19.1-beta.1) * Updated OpenTelemetry core component version(s) to `1.19.1`. ([#7796](https://github.com/open-telemetry/opentelemetry-dotnet/pull/7796)) See [CHANGELOG](https://github.com/open-telemetry/opentelemetry-dotnet/blob/coreunstable-1.19.1-beta.1/src/OpenTelemetry.Shims.OpenTracing/CHANGELOG.md) for details. ## 1.19.0 For highlights and announcements pertaining to this release see: [Release Notes > 1.19.0](https://github.com/open-telemetry/opentelemetry-dotnet/blob/main/RELEASENOTES.md#1190). The following changes are from the previous release [1.18.0](https://github.com/open-telemetry/opentelemetry-dotnet/releases/tag/core-1.18.0). * NuGet: [OpenTelemetry v1.19.0](https://www.nuget.org/packages/OpenTelemetry/1.19.0) * Added Schema URL to internally created `Resource` instances. ([#7726](https://github.com/open-telemetry/opentelemetry-dotnet/pull/7726)) * Reduced allocations when formatting self-diagnostics events with up to three parameters. ([#7730](https://github.com/open-telemetry/opentelemetry-dotnet/pull/7730)) * Added `AlwaysRecordSampler`. ([#7695](https://github.com/open-telemetry/opentelemetry-dotnet/pull/7695)) * Fixed `CircularBufferBuckets` so the first delta histogram insertion after a reset does not result in an unnecessary scale reduction. ([#7749](https://github.com/open-telemetry/opentelemetry-dotnet/pull/7749)) * Improved wildcard source/meter name matching to avoid excessive matching time at runtime. ([#7760](https://github.com/open-telemetry/opentelemetry-dotnet/pull/7760)) * Fixed lazy logger provider builds after a failure from reusing partially initialized provider state. ([#7761](https://github.com/open-telemetry/opentelemetry-dotnet/pull/7761)) See [CHANGELOG](https://github.com/open-telemetry/opentelemetry-dotnet/blob/core-1.19.0/src/OpenTelemetry/CHANGELOG.md) for details. * NuGet: [OpenTelemetry.Api v1.19.0](https://www.nuget.org/packages/OpenTelemetry.Api/1.19.0) * Reduced allocations when creating log record attributes from an array. ([#7699](https://github.com/open-telemetry/opentelemetry-dotnet/pull/7699)) * Reduced allocations when setting baggage through the `params` overload. ([#7697](https://github.com/open-telemetry/opentelemetry-dotnet/pull/7697)) * Reduced allocations when constructing `SpanAttributes` from an array. ([#7698](https://github.com/open-telemetry/opentelemetry-dotnet/pull/7698)) * Fixed parsing of an inbound `tracestate` header whose member value trimmed to an empty value that previously threw an `IndexOutOfRangeException` internally and could silently truncate the tracestate. ([#7756](https://github.com/open-telemetry/opentelemetry-dotnet/pull/7756)) See [CHANGELOG](https://github.com/open-telemetry/opentelemetry-dotnet/blob/core-1.19.0/src/OpenTelemetry.Api/CHANGELOG.md) for details. * NuGet: [OpenTelemetry.Api.ProviderBuilderExtensions v1.19.0](https://www.nuget.org/packages/OpenTelemetry.Api.ProviderBuilderExtensions/1.19.0) No notable changes. See [CHANGELOG](https://github.com/open-telemetry/opentelemetry-dotnet/blob/core-1.19.0/src/OpenTelemetry.Api.ProviderBuilderExtensions/CHANGELOG.md) for details. * NuGet: [OpenTelemetry.Exporter.Console v1.19.0](https://www.nuget.org/packages/OpenTelemetry.Exporter.Console/1.19.0) ... (truncated) ## 1.19.0-rc.1 The following changes are from the previous release [1.18.0](https://github.com/open-telemetry/opentelemetry-dotnet/releases/tag/core-1.18.0). * NuGet: [OpenTelemetry v1.19.0-rc.1](https://www.nuget.org/packages/OpenTelemetry/1.19.0-rc.1) * Added Schema URL to internally created `Resource` instances. ([#7726](https://github.com/open-telemetry/opentelemetry-dotnet/pull/7726)) * Reduced allocations when formatting self-diagnostics events with up to three parameters. ([#7730](https://github.com/open-telemetry/opentelemetry-dotnet/pull/7730)) * Added `AlwaysRecordSampler`. ([#7695](https://github.com/open-telemetry/opentelemetry-dotnet/pull/7695)) * Fixed `CircularBufferBuckets` so the first delta histogram insertion after a reset does not result in an unnecessary scale reduction. ([#7749](https://github.com/open-telemetry/opentelemetry-dotnet/pull/7749)) * Improved wildcard source/meter name matching to avoid excessive matching time at runtime. ([#7760](https://github.com/open-telemetry/opentelemetry-dotnet/pull/7760)) * Fixed lazy logger provider builds after a failure from reusing partially initialized provider state. ([#7761](https://github.com/open-telemetry/opentelemetry-dotnet/pull/7761)) See [CHANGELOG](https://github.com/open-telemetry/opentelemetry-dotnet/blob/core-1.19.0-rc.1/src/OpenTelemetry/CHANGELOG.md) for details. * NuGet: [OpenTelemetry.Api v1.19.0-rc.1](https://www.nuget.org/packages/OpenTelemetry.Api/1.19.0-rc.1) * Reduced allocations when creating log record attributes from an array. ([#7699](https://github.com/open-telemetry/opentelemetry-dotnet/pull/7699)) * Reduced allocations when setting baggage through the `params` overload. ([#7697](https://github.com/open-telemetry/opentelemetry-dotnet/pull/7697)) * Reduced allocations when constructing `SpanAttributes` from an array. ([#7698](https://github.com/open-telemetry/opentelemetry-dotnet/pull/7698)) * Fixed parsing of an inbound `tracestate` header whose member value trimmed to an empty value that previously threw an `IndexOutOfRangeException` internally and could silently truncate the tracestate. ([#7756](https://github.com/open-telemetry/opentelemetry-dotnet/pull/7756)) See [CHANGELOG](https://github.com/open-telemetry/opentelemetry-dotnet/blob/core-1.19.0-rc.1/src/OpenTelemetry.Api/CHANGELOG.md) for details. * NuGet: [OpenTelemetry.Api.ProviderBuilderExtensions v1.19.0-rc.1](https://www.nuget.org/packages/OpenTelemetry.Api.ProviderBuilderExtensions/1.19.0-rc.1) No notable changes. See [CHANGELOG](https://github.com/open-telemetry/opentelemetry-dotnet/blob/core-1.19.0-rc.1/src/OpenTelemetry.Api.ProviderBuilderExtensions/CHANGELOG.md) for details. * NuGet: [OpenTelemetry.Exporter.Console v1.19.0-rc.1](https://www.nuget.org/packages/OpenTelemetry.Exporter.Console/1.19.0-rc.1) * Extended key/value list attribute handling to cover additional dictionary shapes (`IEnumerable<KeyValuePair<string, string?>>` and `IDictionary`). These attributes will be serialized as JSON objects. ([#7679](https://github.com/open-telemetry/opentelemetry-dotnet/pull/7679)) ... (truncated) ## 1.19.0-beta.1 The following changes are from the previous release [1.18.0-beta.1](https://github.com/open-telemetry/opentelemetry-dotnet/releases/tag/coreunstable-1.18.0-beta.1). * NuGet: [OpenTelemetry.Exporter.Prometheus.AspNetCore v1.19.0-beta.1](https://www.nuget.org/packages/OpenTelemetry.Exporter.Prometheus.AspNetCore/1.19.0-beta.1) * **Breaking Change** The `PrometheusTranslationStrategy` enum was renamed to `PrometheusAspNetCoreTranslationStrategy`. ([#7751](https://github.com/open-telemetry/opentelemetry-dotnet/pull/7751)) * Fixed OpenMetrics `_created` series being emitted for metric points with a default start time. ([#7754](https://github.com/open-telemetry/opentelemetry-dotnet/pull/7754)) * Prometheus text/OpenMetrics escaping of label values, label names and help text is now more efficient. ([#7758](https://github.com/open-telemetry/opentelemetry-dotnet/pull/7758)) * A scrape request whose connection is aborted, or whose `X-Prometheus-Scrape-Timeout-Seconds` deadline elapses, now stops waiting for an in-progress metrics collection instead of continuing to wait for it to finish. The collection itself is not cancelled and continues running in the background. ([#7757](https://github.com/open-telemetry/opentelemetry-dotnet/pull/7757)) * Updated OpenTelemetry core component version(s) to `1.19.0`. ([#7785](https://github.com/open-telemetry/opentelemetry-dotnet/pull/7785)) See [CHANGELOG](https://github.com/open-telemetry/opentelemetry-dotnet/blob/coreunstable-1.19.0-beta.1/src/OpenTelemetry.Exporter.Prometheus.AspNetCore/CHANGELOG.md) for details. * NuGet: [OpenTelemetry.Exporter.Prometheus.HttpListener v1.19.0-beta.1](https://www.nuget.org/packages/OpenTelemetry.Exporter.Prometheus.HttpListener/1.19.0-beta.1) * **Breaking Change** The `PrometheusTranslationStrategy` enum was renamed to `PrometheusHttpListenerTranslationStrategy`. ([#7751](https://github.com/open-telemetry/opentelemetry-dotnet/pull/7751)) * Fixed OpenMetrics `_created` series being emitted for metric points with a default start time. ([#7754](https://github.com/open-telemetry/opentelemetry-dotnet/pull/7754)) * Prometheus text/OpenMetrics escaping of label values, label names and help text is now more efficient. ([#7758](https://github.com/open-telemetry/opentelemetry-dotnet/pull/7758)) * Added `PrometheusHttpListenerOptions.ScrapeResponseTimeoutMilliseconds` (default `60000`) which bounds how long a scrape request waits for its response. `X-Prometheus-Scrape-Timeout-Seconds` request header values may only shorten this limit. The limit bounds the request's wait only: a metrics collection already running when it is reached is not cancelled and continues running in the background. ([#7757](https://github.com/open-telemetry/opentelemetry-dotnet/pull/7757)) * Updated OpenTelemetry core component version(s) to `1.19.0`. ([#7785](https://github.com/open-telemetry/opentelemetry-dotnet/pull/7785)) See [CHANGELOG](https://github.com/open-telemetry/opentelemetry-dotnet/blob/coreunstable-1.19.0-beta.1/src/OpenTelemetry.Exporter.Prometheus.HttpListener/CHANGELOG.md) for details. * NuGet: [OpenTelemetry.Shims.OpenTracing v1.19.0-beta.1](https://www.nuget.org/packages/OpenTelemetry.Shims.OpenTracing/1.19.0-beta.1) * Updated OpenTelemetry core component version(s) to `1.19.0`. ([#7785](https://github.com/open-telemetry/opentelemetry-dotnet/pull/7785)) See [CHANGELOG](https://github.com/open-telemetry/opentelemetry-dotnet/blob/coreunstable-1.19.0-beta.1/src/OpenTelemetry.Shims.OpenTracing/CHANGELOG.md) for details. ## 1.18.0 For highlights and announcements pertaining to this release see: [Release Notes > 1.18.0](https://github.com/open-telemetry/opentelemetry-dotnet/blob/main/RELEASENOTES.md#1180). The following changes are from the previous release [1.17.0](https://github.com/open-telemetry/opentelemetry-dotnet/releases/tag/core-1.17.0). * NuGet: [OpenTelemetry v1.18.0](https://www.nuget.org/packages/OpenTelemetry/1.18.0) * Fixed self-diagnostics log lines being silently dropped when an event message or parameter contained enough 3-byte UTF-8 characters to overflow the internal buffer estimate. Such content is now truncated. ([#7543](https://github.com/open-telemetry/opentelemetry-dotnet/pull/7543)) * Fixed activity creation throwing when multiple tracer providers return a sampler attribute with the same key. ([#7558](https://github.com/open-telemetry/opentelemetry-dotnet/pull/7558)) * Added the `otel.sdk.processor.log.processed` SDK self-observability metric. ([#7486](https://github.com/open-telemetry/opentelemetry-dotnet/pull/7486)) * Added the `otel.sdk.processor.span.processed` SDK self-observability metric. ([#7598](https://github.com/open-telemetry/opentelemetry-dotnet/pull/7598)) * `BatchActivityExportProcessor` and `SimpleActivityExportProcessor` no longer forward spans to the exporter once `Shutdown` has been called, and `BatchActivityExportProcessor.Shutdown` now waits for in-flight `OnEnd` calls to finish enqueueing before flushing. ([#7598](https://github.com/open-telemetry/opentelemetry-dotnet/pull/7598)) * Fix logger, meter and tracer providers leaking background threads if an exception is thrown by their constructor after resource creation. ([#7615](https://github.com/open-telemetry/opentelemetry-dotnet/pull/7615)) * `CircularBufferBuckets.Copy` optimized to use bulk array copies. ([#7670](https://github.com/open-telemetry/opentelemetry-dotnet/pull/7670)) * Restored configured `MaxScale` after delta exponential histogram collection. ([#7671](https://github.com/open-telemetry/opentelemetry-dotnet/pull/7671)) See [CHANGELOG](https://github.com/open-telemetry/opentelemetry-dotnet/blob/core-1.18.0/src/OpenTelemetry/CHANGELOG.md) for details. * NuGet: [OpenTelemetry.Api v1.18.0](https://www.nuget.org/packages/OpenTelemetry.Api/1.18.0) * Avoid formatting exceptions and creating exception attributes when `RecordException` is called on a span that is not recorded. ([#7669](https://github.com/open-telemetry/opentelemetry-dotnet/pull/7669)) See [CHANGELOG](https://github.com/open-telemetry/opentelemetry-dotnet/blob/core-1.18.0/src/OpenTelemetry.Api/CHANGELOG.md) for details. * NuGet: [OpenTelemetry.Api.ProviderBuilderExtensions v1.18.0](https://www.nuget.org/packages/OpenTelemetry.Api.ProviderBuilderExtensions/1.18.0) No notable changes. See [CHANGELOG](https://github.com/open-telemetry/opentelemetry-dotnet/blob/core-1.18.0/src/OpenTelemetry.Api.ProviderBuilderExtensions/CHANGELOG.md) for details. * NuGet: [OpenTelemetry.Exporter.Console v1.18.0](https://www.nuget.org/packages/OpenTelemetry.Exporter.Console/1.18.0) * Added support for serializing attribute values that are key/value lists (`IEnumerable<KeyValuePair<string, object?>>`). These attributes will be serialized as JSON objects. ([#7015](https://github.com/open-telemetry/opentelemetry-dotnet/pull/7015)) ... (truncated) ## 1.18.0-rc.1 The following changes are from the previous release [1.17.0](https://github.com/open-telemetry/opentelemetry-dotnet/releases/tag/core-1.17.0). * NuGet: [OpenTelemetry v1.18.0-rc.1](https://www.nuget.org/packages/OpenTelemetry/1.18.0-rc.1) * Fixed self-diagnostics log lines being silently dropped when an event message or parameter contained enough 3-byte UTF-8 characters to overflow the internal buffer estimate. Such content is now truncated. ([#7543](https://github.com/open-telemetry/opentelemetry-dotnet/pull/7543)) * Fixed activity creation throwing when multiple tracer providers return a sampler attribute with the same key. ([#7558](https://github.com/open-telemetry/opentelemetry-dotnet/pull/7558)) * Added the `otel.sdk.processor.log.processed` SDK self-observability metric. ([#7486](https://github.com/open-telemetry/opentelemetry-dotnet/pull/7486)) * Added the `otel.sdk.processor.span.processed` SDK self-observability metric. ([#7598](https://github.com/open-telemetry/opentelemetry-dotnet/pull/7598)) * `BatchActivityExportProcessor` and `SimpleActivityExportProcessor` no longer forward spans to the exporter once `Shutdown` has been called, and `BatchActivityExportProcessor.Shutdown` now waits for in-flight `OnEnd` calls to finish enqueueing before flushing. ([#7598](https://github.com/open-telemetry/opentelemetry-dotnet/pull/7598)) * Fix logger, meter and tracer providers leaking background threads if an exception is thrown by their constructor after resource creation. ([#7615](https://github.com/open-telemetry/opentelemetry-dotnet/pull/7615)) * `CircularBufferBuckets.Copy` optimized to use bulk array copies. ([#7670](https://github.com/open-telemetry/opentelemetry-dotnet/pull/7670)) * Restored configured `MaxScale` after delta exponential histogram collection. ([#7671](https://github.com/open-telemetry/opentelemetry-dotnet/pull/7671)) See [CHANGELOG](https://github.com/open-telemetry/opentelemetry-dotnet/blob/core-1.18.0-rc.1/src/OpenTelemetry/CHANGELOG.md) for details. * NuGet: [OpenTelemetry.Api v1.18.0-rc.1](https://www.nuget.org/packages/OpenTelemetry.Api/1.18.0-rc.1) * Avoid formatting exceptions and creating exception attributes when `RecordException` is called on a span that is not recorded. ([#7669](https://github.com/open-telemetry/opentelemetry-dotnet/pull/7669)) See [CHANGELOG](https://github.com/open-telemetry/opentelemetry-dotnet/blob/core-1.18.0-rc.1/src/OpenTelemetry.Api/CHANGELOG.md) for details. * NuGet: [OpenTelemetry.Api.ProviderBuilderExtensions v1.18.0-rc.1](https://www.nuget.org/packages/OpenTelemetry.Api.ProviderBuilderExtensions/1.18.0-rc.1) No notable changes. See [CHANGELOG](https://github.com/open-telemetry/opentelemetry-dotnet/blob/core-1.18.0-rc.1/src/OpenTelemetry.Api.ProviderBuilderExtensions/CHANGELOG.md) for details. * NuGet: [OpenTelemetry.Exporter.Console v1.18.0-rc.1](https://www.nuget.org/packages/OpenTelemetry.Exporter.Console/1.18.0-rc.1) * Added support for serializing attribute values that are key/value lists (`IEnumerable<KeyValuePair<string, object?>>`). These attributes will be serialized as JSON objects. ([#7015](https://github.com/open-telemetry/opentelemetry-dotnet/pull/7015)) See [CHANGELOG](https://github.com/open-telemetry/opentelemetry-dotnet/blob/core-1.18.0-rc.1/src/OpenTelemetry.Exporter.Console/CHANGELOG.md) for details. ... (truncated) ## 1.18.0-beta.1 The following changes are from the previous release [1.17.0-beta.1](https://github.com/open-telemetry/opentelemetry-dotnet/releases/tag/coreunstable-1.17.0-beta.1). * NuGet: [OpenTelemetry.Exporter.Prometheus.AspNetCore v1.18.0-beta.1](https://www.nuget.org/packages/OpenTelemetry.Exporter.Prometheus.AspNetCore/1.18.0-beta.1) * Fix concurrent scrapes returning an empty response under contention. Now the exporter will return an HTTP 500 error instead. ([#7571](https://github.com/open-telemetry/opentelemetry-dotnet/pull/7571)) * Waiting for concurrent scrapes to finish before collecting no longer blocks, which could stall concurrent scrapes being waited on. ([#7571](https://github.com/open-telemetry/opentelemetry-dotnet/pull/7571)) * Fixed the interaction between `PrometheusAspNetCoreOptions.TranslationStrategy` and content negotiation. The configured strategy is now applied before content negotiation, instead of the negotiated escaping scheme replacing the strategy's, and the `Content-Type` header now reports the escaping scheme that was applied rather than the one that was negotiated. ([#7610](https://github.com/open-telemetry/opentelemetry-dotnet/pull/7610)) * Fixed metric values and histogram bucket bounds being written with 17 significant digits instead of their shortest round-trippable representation. ([#7589](https://github.com/open-telemetry/opentelemetry-dotnet/pull/7589)) * Fixed the canonical representation used for histogram `le` and summary `quantile` label values falling back to 17 significant digits incorrectly. ([#7589](https://github.com/open-telemetry/opentelemetry-dotnet/pull/7589)) * Fixed a race where a slow scrape could return an HTTP 200 instead of 408. ([#7615](https://github.com/open-telemetry/opentelemetry-dotnet/pull/7615)) * Updated OpenTelemetry core component version(s) to `1.18.0`. ([#7674](https://github.com/open-telemetry/opentelemetry-dotnet/pull/7674)) See [CHANGELOG](https://github.com/open-telemetry/opentelemetry-dotnet/blob/coreunstable-1.18.0-beta.1/src/OpenTelemetry.Exporter.Prometheus.AspNetCore/CHANGELOG.md) for details. * NuGet: [OpenTelemetry.Exporter.Prometheus.HttpListener v1.18.0-beta.1](https://www.nuget.org/packages/OpenTelemetry.Exporter.Prometheus.HttpListener/1.18.0-beta.1) * Fix concurrent scrapes returning an empty response under contention. Now the exporter will return an HTTP 500 error instead. ([#7571](https://github.com/open-telemetry/opentelemetry-dotnet/pull/7571)) * Waiting for concurrent scrapes to finish before collecting no longer blocks, which could stall concurrent scrapes being waited on. ([#7571](https://github.com/open-telemetry/opentelemetry-dotnet/pull/7571)) * A scrape which is still collecting when the listener is disposed now returns an HTTP 503 response. ([#7587](https://github.com/open-telemetry/opentelemetry-dotnet/pull/7587)) * Shutting down the listener no longer waits indefinitely for its request processing loop to stop, and no longer throws if the loop faulted. ([#7587](https://github.com/open-telemetry/opentelemetry-dotnet/pull/7587)) * Fixed the interaction between `PrometheusHttpListenerOptions.TranslationStrategy` and content negotiation. The configured strategy is now applied before content negotiation, instead of the negotiated escaping scheme replacing the strategy's, and the `Content-Type` header now reports the escaping scheme that was applied rather than the one that was negotiated. ([#7610](https://github.com/open-telemetry/opentelemetry-dotnet/pull/7610)) * Fixed metric values and histogram bucket bounds being written with 17 significant digits instead of their shortest round-trippable representation. ([#7589](https://github.com/open-telemetry/opentelemetry-dotnet/pull/7589)) * Fixed the canonical representation used for histogram `le` and summary `quantile` label values falling back to 17 significant digits incorrectly. ([#7589](https://github.com/open-telemetry/opentelemetry-dotnet/pull/7589)) ... (truncated) ## 1.17.0 For highlights and announcements pertaining to this release see: [Release Notes > 1.17.0](https://github.com/open-telemetry/opentelemetry-dotnet/blob/main/RELEASENOTES.md#1170). The following changes are from the previous release [1.17.0-rc.1](https://github.com/open-telemetry/opentelemetry-dotnet/releases/tag/core-1.17.0-rc.1). * NuGet: [OpenTelemetry v1.17.0](https://www.nuget.org/packages/OpenTelemetry/1.17.0) No notable changes. See [CHANGELOG](https://github.com/open-telemetry/opentelemetry-dotnet/blob/core-1.17.0/src/OpenTelemetry/CHANGELOG.md) for details. * NuGet: [OpenTelemetry.Api v1.17.0](https://www.nuget.org/packages/OpenTelemetry.Api/1.17.0) No notable changes. See [CHANGELOG](https://github.com/open-telemetry/opentelemetry-dotnet/blob/core-1.17.0/src/OpenTelemetry.Api/CHANGELOG.md) for details. * NuGet: [OpenTelemetry.Api.ProviderBuilderExtensions v1.17.0](https://www.nuget.org/packages/OpenTelemetry.Api.ProviderBuilderExtensions/1.17.0) No notable changes. See [CHANGELOG](https://github.com/open-telemetry/opentelemetry-dotnet/blob/core-1.17.0/src/OpenTelemetry.Api.ProviderBuilderExtensions/CHANGELOG.md) for details. * NuGet: [OpenTelemetry.Exporter.Console v1.17.0](https://www.nuget.org/packages/OpenTelemetry.Exporter.Console/1.17.0) No notable changes. See [CHANGELOG](https://github.com/open-telemetry/opentelemetry-dotnet/blob/core-1.17.0/src/OpenTelemetry.Exporter.Console/CHANGELOG.md) for details. * NuGet: [OpenTelemetry.Exporter.InMemory v1.17.0](https://www.nuget.org/packages/OpenTelemetry.Exporter.InMemory/1.17.0) No notable changes. See [CHANGELOG](https://github.com/open-telemetry/opentelemetry-dotnet/blob/core-1.17.0/src/OpenTelemetry.Exporter.InMemory/CHANGELOG.md) for details. * NuGet: [OpenTelemetry.Exporter.OpenTelemetryProtocol v1.17.0](https://www.nuget.org/packages/OpenTelemetry.Exporter.OpenTelemetryProtocol/1.17.0) No notable changes. See [CHANGELOG](https://github.com/open-telemetry/opentelemetry-dotnet/blob/core-1.17.0/src/OpenTelemetry.Exporter.OpenTelemetryProtocol/CHANGELOG.md) for details. * NuGet: [OpenTelemetry.Exporter.Zipkin v1.17.0](https://www.nuget.org/packages/OpenTelemetry.Exporter.Zipkin/1.17.0) No notable changes. See [CHANGELOG](https://github.com/open-telemetry/opentelemetry-dotnet/blob/core-1.17.0/src/OpenTelemetry.Exporter.Zipkin/CHANGELOG.md) for details. * NuGet: [OpenTelemetry.Extensions.Hosting v1.17.0](https://www.nuget.org/packages/OpenTelemetry.Extensions.Hosting/1.17.0) No notable changes. ... (truncated) ## 1.17.0-rc.1 The following changes are from the previous release [1.16.0](https://github.com/open-telemetry/opentelemetry-dotnet/releases/tag/core-1.16.0). * NuGet: [OpenTelemetry v1.17.0-rc.1](https://www.nuget.org/packages/OpenTelemetry/1.17.0-rc.1) * Fixed a metric point reclaim data race on CPU ARM architectures. ([#7401](https://github.com/open-telemetry/opentelemetry-dotnet/pull/7401)) * The library is now marked as trim and AOT compatible. ([#7441](https://github.com/open-telemetry/opentelemetry-dotnet/pull/7441)) * Replaced the vendored copy of `EnvironmentVariablesConfigurationProvider` with a direct `Microsoft.Extensions.Configuration.EnvironmentVariables` package dependency. Consumers gain automatic pickup of upstream bug fixes and security patches; no public API or behavioural change. ([#7146](https://github.com/open-telemetry/opentelemetry-dotnet/pull/7146)) * Added a verbose `OpenTelemetry-Sdk` self-diagnostics event that is emitted when an activity is dropped because its local (in-process) parent is not recorded. ([#7427](https://github.com/open-telemetry/opentelemetry-dotnet/pull/7427)) * Added support for a Schema URL on `Resource` instances. ([#7472](https://github.com/open-telemetry/opentelemetry-dotnet/pull/7472)) * Fixed a metric storage leak that occurred when meters and instruments were repeatedly created and disposed. ([#7466](https://github.com/open-telemetry/opentelemetry-dotnet/pull/7466)) * Added `ExcludedTagKeys` property to `MetricStreamConfiguration` to support excluding specific tag keys from metric streams. ([#7373](https://github.com/open-telemetry/opentel... _Description has been truncated_ -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
