The following changes are from the previous release 1.20.1-beta.1.
-
NuGet: OpenTelemetry.Exporter.Prometheus.AspNetCore v1.21.0-beta.1
-
Fixed OpenMetrics scrape responses containing a
# UNITline whose unit is
not an underscore-separated suffix of the metric family name (for example
auth.failedloginswith the unitlogins), which caused scrapers such as
Prometheus to reject the whole response. The# UNITline is now omitted
for such metrics; exported metric names are unchanged.
(#7993) -
Fixed scrapes that negotiate different response formats within the
ScrapeResponseCacheDurationMillisecondswindow 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) -
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) -
Fixed arrays of string-valued key/value pairs being
serialized as JSON arrays of strings instead of JSON objects.
(#7694) -
Fixed scrape clients which stop reading their response delaying other
scrapes untilScrapeResponseTimeoutMillisecondselapses.
(#8041) -
Breaking Change Dropped support for
net8.0andnet9.0.
(#6899) -
Add support for .NET 11.0.
(#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_sumof a histogram) is now dropped, and a warning event is
written.
(#8076) -
An
OutOfMemoryExceptionthrown while converting an attribute value to a
string is no longer swallowed and the attribute dropped; it now propagates.
(#7929) -
Updated OpenTelemetry core component version(s) to
1.21.0.
(#8119)
See CHANGELOG for details.
-
-
NuGet: OpenTelemetry.Exporter.Prometheus.HttpListener v1.21.0-beta.1
-
Fixed OpenMetrics scrape responses containing a
# UNITline whose unit is
not an underscore-separated suffix of the metric family name (for example
auth.failedloginswith the unitlogins), which caused scrapers such as
Prometheus to reject the whole response. The# UNITline is now omitted
for such metrics; exported metric names are unchanged.
(#7993) -
Fixed scrapes that negotiate different response formats within the
ScrapeResponseCacheDurationMillisecondswindow 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) -
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) -
Fixed arrays of string-valued key/value pairs being
serialized as JSON arrays of strings instead of JSON objects.
(#7694) -
Fixed scrape clients which stop reading their response delaying other
scrapes untilScrapeResponseTimeoutMillisecondselapses.
(#8041) -
Breaking Change Dropped support for
net8.0andnet9.0.
(#6899) -
Add support for .NET 11.0.
(#6899) -
Fixed exporter option initialization failing when environment variable access
is denied.
(#8070) -
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_sumof a histogram) is now dropped, and a warning event is
written.
(#8076) -
An
OutOfMemoryExceptionthrown while converting an attribute value to a
string is no longer swallowed and the attribute dropped; it now propagates.
(#7929) -
Reduce allocations during
Acceptheader negotiation.
(#8094) -
Updated OpenTelemetry core component version(s) to
1.21.0.
(#8119)
See CHANGELOG for details.
-
-
NuGet: OpenTelemetry.Shims.OpenTracing v1.21.0-beta.1
-
Breaking Change Dropped support for
net8.0andnet9.0.
(#6899) -
Add support for .NET 11.0.
(#6899) -
Updated OpenTelemetry core component version(s) to
1.21.0.
(#8119)
See CHANGELOG for details.
-