prometheus/prometheus (prometheus)
### [`v2.54.1`](https://togithub.com/prometheus/prometheus/releases/tag/v2.54.1): 2.54.1 / 2024-08-27
[Compare Source](https://togithub.com/prometheus/prometheus/compare/v2.54.0...v2.54.1)
- \[BUGFIX] Scraping: allow multiple samples on same series, with explicit timestamps. [#14685](https://togithub.com/prometheus/prometheus/issues/14685)
- \[BUGFIX] Docker SD: fix crash in `match_first_network` mode when container is reconnected to a new network. [#14654](https://togithub.com/prometheus/prometheus/issues/14654)
- \[BUGFIX] PromQL: fix experimental native histogram counter reset detection on stale samples. [#14514](https://togithub.com/prometheus/prometheus/issues/14514)
- \[BUGFIX] PromQL: fix experimental native histograms getting corrupted due to vector selector bug in range queries. [#14538](https://togithub.com/prometheus/prometheus/issues/14538)
- \[BUGFIX] PromQL: fix experimental native histogram memory corruption when using histogram_count or histogram_sum. [#14605](https://togithub.com/prometheus/prometheus/issues/14605)
**Full Changelog**: https://github.com/prometheus/prometheus/compare/v2.54.0...v2.54.1
### [`v2.54.0`](https://togithub.com/prometheus/prometheus/releases/tag/v2.54.0): 2.54.0 / 2024-08-09
[Compare Source](https://togithub.com/prometheus/prometheus/compare/v2.54.0...v2.54.0)
Release 2.54 brings a release candidate of a major new version of [Remote Write: 2.0](https://prometheus.io/docs/specs/remote_write_spec\_2\_0/).
This is experimental at this time and may still change.
Remote-write v2 is enabled by default, but can be disabled via feature-flag `web.remote-write-receiver.accepted-protobuf-messages`.
- \[CHANGE] Remote-Write: `highest_timestamp_in_seconds` and `queue_highest_sent_timestamp_seconds` metrics now initialized to 0. [#14437](https://togithub.com/prometheus/prometheus/issues/14437)
- \[CHANGE] API: Split warnings from info annotations in API response. [#14327](https://togithub.com/prometheus/prometheus/issues/14327)
- \[FEATURE] Remote-Write: Version 2.0 experimental, plus metadata in WAL via feature flag `metadata-wal-records` (defaults on). [#14395](https://togithub.com/prometheus/prometheus/issues/14395),[#14427](https://togithub.com/prometheus/prometheus/issues/14427),[#14444](https://togithub.com/prometheus/prometheus/issues/14444)
- \[FEATURE] PromQL: add limitk() and limit_ratio() aggregation operators. [#12503](https://togithub.com/prometheus/prometheus/issues/12503)
- \[ENHANCEMENT] PromQL: Accept underscores in literal numbers, e.g. 1\_000\_000 for 1 million. [#12821](https://togithub.com/prometheus/prometheus/issues/12821)
- \[ENHANCEMENT] PromQL: float literal numbers and durations are now interchangeable (experimental). Example: `time() - my_timestamp > 10m`. [#9138](https://togithub.com/prometheus/prometheus/issues/9138)
- \[ENHANCEMENT] PromQL: use Kahan summation for sum(). [#14074](https://togithub.com/prometheus/prometheus/issues/14074),[#14362](https://togithub.com/prometheus/prometheus/issues/14362)
- \[ENHANCEMENT] PromQL (experimental native histograms): Optimize `histogram_count` and `histogram_sum` functions. [#14097](https://togithub.com/prometheus/prometheus/issues/14097)
- \[ENHANCEMENT] TSDB: Better support for out-of-order experimental native histogram samples. [#14438](https://togithub.com/prometheus/prometheus/issues/14438)
- \[ENHANCEMENT] TSDB: Optimise seek within index. [#14393](https://togithub.com/prometheus/prometheus/issues/14393)
- \[ENHANCEMENT] TSDB: Optimise deletion of stale series. [#14307](https://togithub.com/prometheus/prometheus/issues/14307)
- \[ENHANCEMENT] TSDB: Reduce locking to optimise adding and removing series. [#13286](https://togithub.com/prometheus/prometheus/issues/13286),[#14286](https://togithub.com/prometheus/prometheus/issues/14286)
- \[ENHANCEMENT] TSDB: Small optimisation: streamline special handling for out-of-order data. [#14396](https://togithub.com/prometheus/prometheus/issues/14396),[#14584](https://togithub.com/prometheus/prometheus/issues/14584)
- \[ENHANCEMENT] Regexps: Optimize patterns with multiple prefixes. [#13843](https://togithub.com/prometheus/prometheus/issues/13843),[#14368](https://togithub.com/prometheus/prometheus/issues/14368)
- \[ENHANCEMENT] Regexps: Optimize patterns containing multiple literal strings. [#14173](https://togithub.com/prometheus/prometheus/issues/14173)
- \[ENHANCEMENT] AWS SD: expose Primary IPv6 addresses as \__meta_ec2\_primary_ipv6\_addresses. [#14156](https://togithub.com/prometheus/prometheus/issues/14156)
- \[ENHANCEMENT] Docker SD: add MatchFirstNetwork for containers with multiple networks. [#10490](https://togithub.com/prometheus/prometheus/issues/10490)
- \[ENHANCEMENT] OpenStack SD: Use `flavor.original_name` if available. [#14312](https://togithub.com/prometheus/prometheus/issues/14312)
- \[ENHANCEMENT] UI (experimental native histograms): more accurate representation. [#13680](https://togithub.com/prometheus/prometheus/issues/13680),[#14430](https://togithub.com/prometheus/prometheus/issues/14430)
- \[ENHANCEMENT] Agent: `out_of_order_time_window` config option now applies to agent. [#14094](https://togithub.com/prometheus/prometheus/issues/14094)
- \[ENHANCEMENT] Notifier: Send any outstanding Alertmanager notifications when shutting down. [#14290](https://togithub.com/prometheus/prometheus/issues/14290)
- \[ENHANCEMENT] Rules: Add label-matcher support to Rules API. [#10194](https://togithub.com/prometheus/prometheus/issues/10194)
- \[ENHANCEMENT] HTTP API: Add url to message logged on error while sending response. [#14209](https://togithub.com/prometheus/prometheus/issues/14209)
- \[BUGFIX] CLI: escape `|` characters when generating docs. [#14420](https://togithub.com/prometheus/prometheus/issues/14420)
- \[BUGFIX] PromQL (experimental native histograms): Fix some binary operators between native histogram values. [#14454](https://togithub.com/prometheus/prometheus/issues/14454)
- \[BUGFIX] TSDB: LabelNames API could fail during compaction. [#14279](https://togithub.com/prometheus/prometheus/issues/14279)
- \[BUGFIX] TSDB: Fix rare issue where pending OOO read can be left dangling if creating querier fails. [#14341](https://togithub.com/prometheus/prometheus/issues/14341)
- \[BUGFIX] TSDB: fix check for context cancellation in LabelNamesFor. [#14302](https://togithub.com/prometheus/prometheus/issues/14302)
- \[BUGFIX] Rules: Fix rare panic on reload. [#14366](https://togithub.com/prometheus/prometheus/issues/14366)
- \[BUGFIX] Config: In YAML marshalling, do not output a regexp field if it was never set. [#14004](https://togithub.com/prometheus/prometheus/issues/14004)
- \[BUGFIX] Remote-Write: reject samples with future timestamps. [#14304](https://togithub.com/prometheus/prometheus/issues/14304)
- \[BUGFIX] Remote-Write: Fix data corruption in remote write if max_sample_age is applied. [#14078](https://togithub.com/prometheus/prometheus/issues/14078)
- \[BUGFIX] Notifier: Fix Alertmanager discovery not updating under heavy load. [#14174](https://togithub.com/prometheus/prometheus/issues/14174)
- \[BUGFIX] Regexes: some Unicode characters were not matched by case-insensitive comparison. [#14170](https://togithub.com/prometheus/prometheus/issues/14170),[#14299](https://togithub.com/prometheus/prometheus/issues/14299)
- \[BUGFIX] Remote-Read: Resolve occasional segmentation fault on query. [#14515](https://togithub.com/prometheus/prometheus/issues/14515)
Many thanks to the Prometheus Team and contributors:
[@zenador](https://togithub.com/zenador)
[@jjo](https://togithub.com/jjo)
[@rexagod](https://togithub.com/rexagod)
[@darshanime](https://togithub.com/darshanime)
[@charleskorn](https://togithub.com/charleskorn)
[@fpetkovski](https://togithub.com/fpetkovski)
[@carrieedwards](https://togithub.com/carrieedwards)
[@colega](https://togithub.com/colega)\
[@pracucci](https://togithub.com/pracucci)
[@akunszt](https://togithub.com/akunszt)
[@DrAuYueng](https://togithub.com/DrAuYueng)
[@paulojmdias](https://togithub.com/paulojmdias)
[@Maniktherana](https://togithub.com/Maniktherana)
[@rabenhorst](https://togithub.com/rabenhorst)\
[@saswatamcode](https://togithub.com/saswatamcode)
[@B1F030](https://togithub.com/B1F030)
[@yeya24](https://togithub.com/yeya24)
[@rapphil](https://togithub.com/rapphil)
[@liam-howe-maersk](https://togithub.com/liam-howe-maersk)
[@jkroepke](https://togithub.com/jkroepke)
[@FUSAKLA](https://togithub.com/FUSAKLA)
[@Ranveer777](https://togithub.com/Ranveer777)
### [`v2.54.0+dedupelabels`](https://togithub.com/prometheus/prometheus/releases/tag/v2.54.0%2Bdedupelabels): 2.54.0+dedupelabels / 2024-08-09
[Compare Source](https://togithub.com/prometheus/prometheus/compare/v2.53.2...v2.54.0)
Special release candidate build that incorporates performance improvements using
the `dedupelabels` Go tag. The new labels data structure deduplicates label names
and values via symbol or intern tables, trading off ~10% higher CPU usage for lower
memory usage.
Improves on `2.51.0+dedupelabels` by squashing some leaks.
### [`v2.53.2`](https://togithub.com/prometheus/prometheus/releases/tag/v2.53.2): 2.53.2 / 2024-08-09
[Compare Source](https://togithub.com/prometheus/prometheus/compare/v2.53.1...v2.53.2)
Fix a bug where Prometheus would crash with a segmentation fault if a remote-read
request accessed a block on disk at about the same time as TSDB created a new block.
\[BUGFIX] Remote-Read: Resolve occasional segmentation fault on query. [#14515](https://togithub.com/prometheus/prometheus/issues/14515),[#14523](https://togithub.com/prometheus/prometheus/issues/14523)
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, check this box
This PR contains the following updates:
"2.53.1"
->v2.54.1
Release Notes
prometheus/prometheus (prometheus)
### [`v2.54.1`](https://togithub.com/prometheus/prometheus/releases/tag/v2.54.1): 2.54.1 / 2024-08-27 [Compare Source](https://togithub.com/prometheus/prometheus/compare/v2.54.0...v2.54.1) - \[BUGFIX] Scraping: allow multiple samples on same series, with explicit timestamps. [#14685](https://togithub.com/prometheus/prometheus/issues/14685) - \[BUGFIX] Docker SD: fix crash in `match_first_network` mode when container is reconnected to a new network. [#14654](https://togithub.com/prometheus/prometheus/issues/14654) - \[BUGFIX] PromQL: fix experimental native histogram counter reset detection on stale samples. [#14514](https://togithub.com/prometheus/prometheus/issues/14514) - \[BUGFIX] PromQL: fix experimental native histograms getting corrupted due to vector selector bug in range queries. [#14538](https://togithub.com/prometheus/prometheus/issues/14538) - \[BUGFIX] PromQL: fix experimental native histogram memory corruption when using histogram_count or histogram_sum. [#14605](https://togithub.com/prometheus/prometheus/issues/14605) **Full Changelog**: https://github.com/prometheus/prometheus/compare/v2.54.0...v2.54.1 ### [`v2.54.0`](https://togithub.com/prometheus/prometheus/releases/tag/v2.54.0): 2.54.0 / 2024-08-09 [Compare Source](https://togithub.com/prometheus/prometheus/compare/v2.54.0...v2.54.0) Release 2.54 brings a release candidate of a major new version of [Remote Write: 2.0](https://prometheus.io/docs/specs/remote_write_spec\_2\_0/). This is experimental at this time and may still change. Remote-write v2 is enabled by default, but can be disabled via feature-flag `web.remote-write-receiver.accepted-protobuf-messages`. - \[CHANGE] Remote-Write: `highest_timestamp_in_seconds` and `queue_highest_sent_timestamp_seconds` metrics now initialized to 0. [#14437](https://togithub.com/prometheus/prometheus/issues/14437) - \[CHANGE] API: Split warnings from info annotations in API response. [#14327](https://togithub.com/prometheus/prometheus/issues/14327) - \[FEATURE] Remote-Write: Version 2.0 experimental, plus metadata in WAL via feature flag `metadata-wal-records` (defaults on). [#14395](https://togithub.com/prometheus/prometheus/issues/14395),[#14427](https://togithub.com/prometheus/prometheus/issues/14427),[#14444](https://togithub.com/prometheus/prometheus/issues/14444) - \[FEATURE] PromQL: add limitk() and limit_ratio() aggregation operators. [#12503](https://togithub.com/prometheus/prometheus/issues/12503) - \[ENHANCEMENT] PromQL: Accept underscores in literal numbers, e.g. 1\_000\_000 for 1 million. [#12821](https://togithub.com/prometheus/prometheus/issues/12821) - \[ENHANCEMENT] PromQL: float literal numbers and durations are now interchangeable (experimental). Example: `time() - my_timestamp > 10m`. [#9138](https://togithub.com/prometheus/prometheus/issues/9138) - \[ENHANCEMENT] PromQL: use Kahan summation for sum(). [#14074](https://togithub.com/prometheus/prometheus/issues/14074),[#14362](https://togithub.com/prometheus/prometheus/issues/14362) - \[ENHANCEMENT] PromQL (experimental native histograms): Optimize `histogram_count` and `histogram_sum` functions. [#14097](https://togithub.com/prometheus/prometheus/issues/14097) - \[ENHANCEMENT] TSDB: Better support for out-of-order experimental native histogram samples. [#14438](https://togithub.com/prometheus/prometheus/issues/14438) - \[ENHANCEMENT] TSDB: Optimise seek within index. [#14393](https://togithub.com/prometheus/prometheus/issues/14393) - \[ENHANCEMENT] TSDB: Optimise deletion of stale series. [#14307](https://togithub.com/prometheus/prometheus/issues/14307) - \[ENHANCEMENT] TSDB: Reduce locking to optimise adding and removing series. [#13286](https://togithub.com/prometheus/prometheus/issues/13286),[#14286](https://togithub.com/prometheus/prometheus/issues/14286) - \[ENHANCEMENT] TSDB: Small optimisation: streamline special handling for out-of-order data. [#14396](https://togithub.com/prometheus/prometheus/issues/14396),[#14584](https://togithub.com/prometheus/prometheus/issues/14584) - \[ENHANCEMENT] Regexps: Optimize patterns with multiple prefixes. [#13843](https://togithub.com/prometheus/prometheus/issues/13843),[#14368](https://togithub.com/prometheus/prometheus/issues/14368) - \[ENHANCEMENT] Regexps: Optimize patterns containing multiple literal strings. [#14173](https://togithub.com/prometheus/prometheus/issues/14173) - \[ENHANCEMENT] AWS SD: expose Primary IPv6 addresses as \__meta_ec2\_primary_ipv6\_addresses. [#14156](https://togithub.com/prometheus/prometheus/issues/14156) - \[ENHANCEMENT] Docker SD: add MatchFirstNetwork for containers with multiple networks. [#10490](https://togithub.com/prometheus/prometheus/issues/10490) - \[ENHANCEMENT] OpenStack SD: Use `flavor.original_name` if available. [#14312](https://togithub.com/prometheus/prometheus/issues/14312) - \[ENHANCEMENT] UI (experimental native histograms): more accurate representation. [#13680](https://togithub.com/prometheus/prometheus/issues/13680),[#14430](https://togithub.com/prometheus/prometheus/issues/14430) - \[ENHANCEMENT] Agent: `out_of_order_time_window` config option now applies to agent. [#14094](https://togithub.com/prometheus/prometheus/issues/14094) - \[ENHANCEMENT] Notifier: Send any outstanding Alertmanager notifications when shutting down. [#14290](https://togithub.com/prometheus/prometheus/issues/14290) - \[ENHANCEMENT] Rules: Add label-matcher support to Rules API. [#10194](https://togithub.com/prometheus/prometheus/issues/10194) - \[ENHANCEMENT] HTTP API: Add url to message logged on error while sending response. [#14209](https://togithub.com/prometheus/prometheus/issues/14209) - \[BUGFIX] CLI: escape `|` characters when generating docs. [#14420](https://togithub.com/prometheus/prometheus/issues/14420) - \[BUGFIX] PromQL (experimental native histograms): Fix some binary operators between native histogram values. [#14454](https://togithub.com/prometheus/prometheus/issues/14454) - \[BUGFIX] TSDB: LabelNames API could fail during compaction. [#14279](https://togithub.com/prometheus/prometheus/issues/14279) - \[BUGFIX] TSDB: Fix rare issue where pending OOO read can be left dangling if creating querier fails. [#14341](https://togithub.com/prometheus/prometheus/issues/14341) - \[BUGFIX] TSDB: fix check for context cancellation in LabelNamesFor. [#14302](https://togithub.com/prometheus/prometheus/issues/14302) - \[BUGFIX] Rules: Fix rare panic on reload. [#14366](https://togithub.com/prometheus/prometheus/issues/14366) - \[BUGFIX] Config: In YAML marshalling, do not output a regexp field if it was never set. [#14004](https://togithub.com/prometheus/prometheus/issues/14004) - \[BUGFIX] Remote-Write: reject samples with future timestamps. [#14304](https://togithub.com/prometheus/prometheus/issues/14304) - \[BUGFIX] Remote-Write: Fix data corruption in remote write if max_sample_age is applied. [#14078](https://togithub.com/prometheus/prometheus/issues/14078) - \[BUGFIX] Notifier: Fix Alertmanager discovery not updating under heavy load. [#14174](https://togithub.com/prometheus/prometheus/issues/14174) - \[BUGFIX] Regexes: some Unicode characters were not matched by case-insensitive comparison. [#14170](https://togithub.com/prometheus/prometheus/issues/14170),[#14299](https://togithub.com/prometheus/prometheus/issues/14299) - \[BUGFIX] Remote-Read: Resolve occasional segmentation fault on query. [#14515](https://togithub.com/prometheus/prometheus/issues/14515) Many thanks to the Prometheus Team and contributors: [@zenador](https://togithub.com/zenador) [@jjo](https://togithub.com/jjo) [@rexagod](https://togithub.com/rexagod) [@darshanime](https://togithub.com/darshanime) [@charleskorn](https://togithub.com/charleskorn) [@fpetkovski](https://togithub.com/fpetkovski) [@carrieedwards](https://togithub.com/carrieedwards) [@colega](https://togithub.com/colega)\ [@pracucci](https://togithub.com/pracucci) [@akunszt](https://togithub.com/akunszt) [@DrAuYueng](https://togithub.com/DrAuYueng) [@paulojmdias](https://togithub.com/paulojmdias) [@Maniktherana](https://togithub.com/Maniktherana) [@rabenhorst](https://togithub.com/rabenhorst)\ [@saswatamcode](https://togithub.com/saswatamcode) [@B1F030](https://togithub.com/B1F030) [@yeya24](https://togithub.com/yeya24) [@rapphil](https://togithub.com/rapphil) [@liam-howe-maersk](https://togithub.com/liam-howe-maersk) [@jkroepke](https://togithub.com/jkroepke) [@FUSAKLA](https://togithub.com/FUSAKLA) [@Ranveer777](https://togithub.com/Ranveer777) ### [`v2.54.0+dedupelabels`](https://togithub.com/prometheus/prometheus/releases/tag/v2.54.0%2Bdedupelabels): 2.54.0+dedupelabels / 2024-08-09 [Compare Source](https://togithub.com/prometheus/prometheus/compare/v2.53.2...v2.54.0) Special release candidate build that incorporates performance improvements using the `dedupelabels` Go tag. The new labels data structure deduplicates label names and values via symbol or intern tables, trading off ~10% higher CPU usage for lower memory usage. Improves on `2.51.0+dedupelabels` by squashing some leaks. ### [`v2.53.2`](https://togithub.com/prometheus/prometheus/releases/tag/v2.53.2): 2.53.2 / 2024-08-09 [Compare Source](https://togithub.com/prometheus/prometheus/compare/v2.53.1...v2.53.2) Fix a bug where Prometheus would crash with a segmentation fault if a remote-read request accessed a block on disk at about the same time as TSDB created a new block. \[BUGFIX] Remote-Read: Resolve occasional segmentation fault on query. [#14515](https://togithub.com/prometheus/prometheus/issues/14515),[#14523](https://togithub.com/prometheus/prometheus/issues/14523)Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Renovate Bot.