github open-telemetry/opentelemetry-dotnet coreunstable-1.16.0-beta.1

pre-release2 hours ago

The following changes are from the previous release 1.15.3-beta.1.

  • NuGet: OpenTelemetry.Exporter.Prometheus.AspNetCore v1.16.0-beta.1

    • Fixed scrape response cache freshness using monotonic time so it is not
      affected by NTP system clock adjustments.
      (#7253)

    • Breaking Change Removed DisableTimestamp property from
      PrometheusAspNetCoreOptions.
      (#7176)

    • Fixed the serialization of NaN, PositiveInfinity, and NegativeInfinity
      values in Prometheus metrics to be compliant with the specification.
      (#7179)

    • Fixed loss of precision when serializing double and float values in
      Prometheus metrics to be compliant with the specification by using 17
      significant digits to represent such values.
      (#7179)

    • Fix non-ASCII characters in metric names and unit strings not being sanitized
      correctly during Prometheus serialization.
      (#7184)

    • Fix case where reader tracking could be reset while readers were still active.
      (#7190)

    • Improve Accept header handling for format negotiation so OpenMetrics is
      selected correctly by considering whitespace and q weights.
      (#7208)

    • Emit OpenMetrics exemplars for counters and histogram buckets.
      (#7222)

    • Fix incorrect handling of untyped metrics when using OpenMetrics format.
      (#7219)

    • Fix Prometheus/OpenMetrics serialization to emit metric and label names
      containing _ instead of dropping them and prefixing leading digits.
      Invalid characters are replaced with _ instead of being dropped.
      (#7209)

    • Add escaping=underscores to the Accept header handling for content
      negotiation so OpenMetrics are handled correctly.
      (#7209)

    • Omit histogram _sum and _count in OpenMetrics when negative bucket
      thresholds are present.
      (#7221)

    • Fix ArgumentException if OTEL_SDK_DISABLED=true.
      (#7273)

    • Update Accept header parsing to more closely follow the Prometheus
      Scrape protocol content negotiation
      specification.
      (#7266)

    • Abort scrape request processing if request exceeds the value specified by the
      X-Prometheus-Scrape-Timeout-Seconds HTTP request header.
      (#7252)

    • Use the canonical representation for histogram "le" label values when using
      OpenMetrics.
      (#7218)

    • Add Prometheus text fallback target_info output as a gauge.
      (#7238)

    • Merge colliding sanitized label keys.
      (#7239)

    • Export {name}_created series for counters and histograms when using
      OpenMetrics and a start time is available.
      (#7223)

    • GZip compress scrape endpoint responses when Accept-Encoding: gzip is
      specified by the HTTP request headers.
      (#7274)

    • Include instrumentation scope metadata on samples using otel_scope_* labels
      including scope version, schema URL, and prefixed scope attributes. OpenMetrics
      output no longer emits a separate otel_scope_info scope metadata metric.
      (#7237)

    • Drop conflicting scope attributes named name, version, and schema_url.
      (#7237)

    • Updated OpenTelemetry core component version(s) to 1.16.0.
      (#52)

    See CHANGELOG for details.

  • NuGet: OpenTelemetry.Exporter.Prometheus.HttpListener v1.16.0-beta.1

    • Fixed scrape response cache freshness using monotonic time so it is not
      affected by NTP system clock adjustments.
      (#7253)

    • Added Host and Port properties on PrometheusHttpListenerOptions
      for configuring the HTTP listener endpoint. The
      PrometheusHttpListenerOptions.UriPrefixes property is now obsolete and
      will be removed in the stable release.
      (#7114)

    • Breaking Change Removed DisableTimestamp property from
      PrometheusHttpListenerOptions.
      (#7176)

    • Fixed the serialization of NaN, PositiveInfinity, and NegativeInfinity
      values in Prometheus metrics to be compliant with the specification.
      (#7179)

    • Fixed loss of precision when serializing double and float values in
      Prometheus metrics to be compliant with the specification by using 17
      significant digits to represent such values.
      (#7179)

    • Fix non-ASCII characters in metric names and unit strings not being sanitized
      correctly during Prometheus serialization.
      (#7184)

    • Add support for caching the scrape endpoint HTTP responses using the
      PrometheusHttpListenerOptions.ScrapeResponseCacheDurationMilliseconds option.
      The default value is 300 milliseconds. Set the option to 0 to disable
      response caching.
      (#7189)

    • Fix case where reader tracking could be reset while readers were still active.
      (#7190)

    • Improve Accept header handling for format negotiation so OpenMetrics is
      selected correctly by considering whitespace and q weights.
      (#7208)

    • Emit OpenMetrics exemplars for counters and histogram buckets.
      (#7222)

    • Fix incorrect handling of untyped metrics when using OpenMetrics format.
      (#7219)

    • Add support for configuring the HTTP listener endpoint host and port using
      the OTEL_EXPORTER_PROMETHEUS_HOST and OTEL_EXPORTER_PROMETHEUS_PORT
      environment variables.
      (#7167,
      #7255)

    • Fix Prometheus/OpenMetrics serialization to emit metric and label names
      containing and _ instead of dropping them and prefixing leading digits.
      Invalid characters are replaced with _ instead of being dropped.
      (#7209)

    • Add escaping=underscores to the Accept header handling for content
      negotiation so OpenMetrics are handled correctly.
      (#7209)

    • Omit histogram _sum and _count in OpenMetrics when negative bucket
      thresholds are present.
      (#7221)

    • Update Accept header parsing to more closely follow the Prometheus
      Scrape protocol content negotiation
      specification.
      (#7266)

    • Abort scrape request processing if request exceeds the value specified by the
      X-Prometheus-Scrape-Timeout-Seconds HTTP request header.
      (#7252)

    • Use the canonical representation for histogram "le" label values when using
      OpenMetrics.
      (#7218)

    • Add Prometheus text fallback target_info output as a gauge.
      (#7238)

    • Merge colliding sanitized label keys.
      (#7239)

    • Export {name}_created series for counters and histograms when using
      OpenMetrics and a start time is available.
      (#7223)

    • Include instrumentation scope metadata on samples using otel_scope_* labels
      including scope version, schema URL, and prefixed scope attributes. OpenMetrics
      output no longer emits a separate otel_scope_info scope metadata metric.
      (#7237)

    • Drop conflicting scope attributes named name, version, and schema_url.
      (#7237)

    • Updated OpenTelemetry core component version(s) to 1.16.0.
      (#52)

    See CHANGELOG for details.

  • NuGet: OpenTelemetry.Shims.OpenTracing v1.16.0-beta.1

    • Updated OpenTelemetry core component version(s) to 1.16.0.
      (#52)

    See CHANGELOG for details.

Don't miss a new opentelemetry-dotnet release

NewReleases is sending notifications on new releases.