Skip to content

Releases: prometheus/prometheus

2.45.2 / 2023-12-19

19 Dec 14:54
v2.45.2
3d6b7e6
Compare
Choose a tag to compare

This release contains security fixes in dependencies and has been built with go1.21.5. #13307

  • [BUGFIX] TSDB: Fix PostingsForMatchers race with creating new series. #12558

2.49.0-rc.0 / 2023-12-12

12 Dec 17:26
v2.49.0-rc.0
c4c8d59
Compare
Choose a tag to compare
Pre-release
  • [FEATURE] Promtool: Add --run flag promtool test rules command. #12206
  • [FEATURE] SD: Add support for NS records to DNS SD. #13219
  • [FEATURE] UI: Add heatmap visualization setting in the Graph tab, useful histograms. #13096
  • [FEATURE] Scraping: Add scrape_config.enable_compression (default true) to disable gzip compression when scraping the target. #13166
  • [FEATURE] PromQL: Add a promql-experimental-functions feature flag containing some new experimental PromQL functions. #13103 NOTE: More experimental functions might be added behind the same feature flag in the future. Added functions:
    • Experimental mad_over_time (median absolute deviation around the median) function. #13059
    • Experimental sort_by_label and sort_by_label_desc functions allowing sorting returned series by labels. #11299
  • [FEATURE] SD: Add __meta_linode_gpus label to Linode SD. #13097
  • [FEATURE] API: Add exclude_alerts query parameter to /api/v1/rules to only return recording rules. #12999
  • [FEATURE] TSDB: --storage.tsdb.retention.time flag value is now exposed as a prometheus_tsdb_retention_limit_seconds metric. #12986
  • [FEATURE] Scraping: Add ability to specify priority of scrape protocols to accept during scrape (e.g. to scrape Prometheus proto format for certain jobs). This can be changed by setting global.scrape_protocols and scrape_config.scrape_protocols. #12738
  • [ENHANCEMENT] Scraping: Automated handling of scraping histograms that violate scrape_config.native_histogram_bucket_limit setting. #13129
  • [ENHANCEMENT] Scraping: Optimized memory allocations when scraping. #12992
  • [ENHANCEMENT] SD: Added cache for Azure SD to avoid rate-limits. #12622
  • [ENHANCEMENT] TSDB: Various improvements to OOO exemplar scraping. E.g. allowing ingestion of exemplars with the same timestamp, but with different labels. #13021
  • [ENHANCEMENT] API: Optimize /api/v1/labels and /api/v1/label/<label_name>/values when 1 set of matchers are used. #12888
  • [ENHANCEMENT] TSDB: Various optimizations for TSDB block index, head mmap chunks and WAL, reducing latency and memory allocations (improving API calls, compaction queries etc). #12997 #13058 #13056 #13040
  • [ENHANCEMENT] PromQL: Optimize memory allocations and latency when querying float histograms. #12954
  • [ENHANCEMENT] Rules: Instrument TraceID in log lines for rule evaluations. #13034
  • [ENHANCEMENT] PromQL: Optimize memory allocations in query_range calls. #13043
  • [ENHANCEMENT] Promtool: unittest interval now defaults to evaluation_intervals when not set. #12729
  • [BUGFIX] SD: Fixed Azure SD public IP reporting #13241
  • [BUGFIX] API: Fix inaccuracies in posting cardinality statistics. #12653
  • [BUGFIX] PromQL: Fix inaccuracies of histogram_quantile with classic histograms. #13153
  • [BUGFIX] TSDB: Fix rare fails or inaccurate queries with OOO samples. #13115
  • [BUGFIX] TSDB: Fix rare panics on append commit when exemplars are used. #13092
  • [BUGFIX] TSDB: Fix exemplar WAL storage, so remote write can send/receive samples before exemplars. #13113
  • [BUGFIX] Mixins: Fix url filter on remote write dashboards. #10721
  • [BUGFIX] PromQL/TSDB: Various fixes to float histogram operations. #12891 #12977 #12609 #13190 #13189 #13191 #13201 #13212 #13208
  • [BUGFIX] Promtool: Fix int32 overflow issues for 32-bit architectures. #12978
Commits
Read more

2.48.1 / 2023-12-08

09 Dec 04:10
v2.48.1
6389421
Compare
Choose a tag to compare
  • [BUGFIX] TSDB: Make the wlog watcher read segments synchronously when not tailing. #13224
  • [BUGFIX] Agent: Participate in notify calls (fixes slow down in remote write handling introduced in 2.45). #13223

2.48.0 / 2023-11-16

16 Nov 10:48
v2.48.0
6d80b30
Compare
Choose a tag to compare
  • [CHANGE] Remote-write: respect Retry-After header on 5xx errors. #12677
  • [FEATURE] Alerting: Add AWS SigV4 authentication support for Alertmanager endpoints. #12774
  • [FEATURE] Promtool: Add support for histograms in the TSDB dump command. #12775
  • [FEATURE] PromQL: Add warnings (and annotations) to PromQL query results. #12152 #12982 #12988 #13012
  • [FEATURE] Remote-write: Add Azure AD OAuth authentication support for remote write requests. #12572
  • [ENHANCEMENT] Remote-write: Add a header to count retried remote write requests. #12729
  • [ENHANCEMENT] TSDB: Improve query performance by re-using iterator when moving between series. #12757
  • [ENHANCEMENT] UI: Move /targets page discovered labels to expandable section #12824
  • [ENHANCEMENT] TSDB: Optimize WBL loading by not sending empty buffers over channel. #12808
  • [ENHANCEMENT] TSDB: Reply WBL mmap markers concurrently. #12801
  • [ENHANCEMENT] Promtool: Add support for specifying series matchers in the TSDB analyze command. #12842
  • [ENHANCEMENT] PromQL: Prevent Prometheus from overallocating memory on subquery with large amount of steps. #12734
  • [ENHANCEMENT] PromQL: Add warning when monotonicity is forced in the input to histogram_quantile. #12931
  • [ENHANCEMENT] Scraping: Optimize sample appending by reducing garbage. #12939
  • [ENHANCEMENT] Storage: Reduce memory allocations in queries that merge series sets. #12938
  • [ENHANCEMENT] UI: Show group interval in rules display. #12943
  • [ENHANCEMENT] Scraping: Save memory when scraping by delaying creation of buffer. #12953
  • [ENHANCEMENT] Agent: Allow ingestion of out-of-order samples. #12897
  • [ENHANCEMENT] Promtool: Improve support for native histograms in TSDB analyze command. #12869
  • [ENHANCEMENT] Scraping: Add configuration option for tracking staleness of scraped timestamps. #13060
  • [BUGFIX] SD: Ensure that discovery managers are properly canceled. #10569
  • [BUGFIX] TSDB: Fix PostingsForMatchers race with creating new series. #12558
  • [BUGFIX] TSDB: Fix handling of explicit counter reset header in histograms. #12772
  • [BUGFIX] SD: Validate HTTP client configuration in HTTP, EC2, Azure, Uyuni, PuppetDB, and Lightsail SDs. #12762 #12811 #12812 #12815 #12814 #12816
  • [BUGFIX] TSDB: Fix counter reset edgecases causing native histogram panics. #12838
  • [BUGFIX] TSDB: Fix duplicate sample detection at chunk size limit. #12874
  • [BUGFIX] Promtool: Fix errors not being reported in check rules command. #12715
  • [BUGFIX] TSDB: Avoid panics reported in logs when head initialization takes a long time. #12876
  • [BUGFIX] TSDB: Ensure that WBL is repaired when possible. #12406
  • [BUGFIX] Storage: Fix crash caused by incorrect mixed samples handling. #13055
  • [BUGFIX] TSDB: Fix compactor failures by adding min time to histogram chunks. #13062

2.48.0-rc.2 / 2023-11-02

03 Nov 03:01
v2.48.0-rc.2
6e2586b
Compare
Choose a tag to compare
Pre-release
  • [ENHANCEMENT] Scraping: Add configuration option for tracking staleness of scraped timestamps. #13060
  • [BUGFIX] Storage: Fix crash caused by incorrect mixed samples handling. #13055
  • [BUGFIX] TSDB: Fix compactor failures by adding min time to histogram chunks. #13062

2.48.0-rc.1 / 2023-10-29

29 Oct 16:08
v2.48.0-rc.1
8db8ad1
Compare
Choose a tag to compare
Pre-release
  • [BUGFIX] PromQL: Reduce inefficiency introduced by warnings/annotations and temporarily remove possible non-counter warnings. #13012

2.48.0-rc.0 / 2023-10-17

17 Oct 17:40
v2.48.0-rc.0
551fa83
Compare
Choose a tag to compare
Pre-release
  • [CHANGE] Remote-write: respect Retry-After header on 5xx errors. #12677
  • [FEATURE] Alerting: Add AWS SigV4 authentication support for Alertmanager endpoints. #12774
  • [FEATURE] Promtool: Add support for histograms in the TSDB dump command. #12775
  • [FEATURE] PromQL: Add warnings (and annotations) to PromQL query results. #12152 #12982 #12988
  • [FEATURE] Remote-write: Add Azure AD OAuth authentication support for remote write requests. #12572
  • [ENHANCEMENT] Remote-write: Add a header to count retried remote write requests. #12729
  • [ENHANCEMENT] TSDB: Improve query performance by re-using iterator when moving between series. #12757
  • [ENHANCEMENT] UI: Move /targets page discovered labels to expandable section #12824
  • [ENHANCEMENT] TSDB: Optimize WBL loading by not sending empty buffers over channel. #12808
  • [ENHANCEMENT] TSDB: Reply WBL mmap markers concurrently. #12801
  • [ENHANCEMENT] Promtool: Add support for specifying series matchers in the TSDB analyze command. #12842
  • [ENHANCEMENT] PromQL: Prevent Prometheus from overallocating memory on subquery with large amount of steps. #12734
  • [ENHANCEMENT] PromQL: Add warning when monotonicity is forced in the input to histogram_quantile. #12931
  • [ENHANCEMENT] Scraping: Optimize sample appending by reducing garbage. #12939
  • [ENHANCEMENT] Storage: Reduce memory allocations in queries that merge series sets. #12938
  • [ENHANCEMENT] UI: Show group interval in rules display. #12943
  • [ENHANCEMENT] Scraping: Save memory when scraping by delaying creation of buffer. #12953
  • [ENHANCEMENT] Agent: Allow ingestion of out-of-order samples. #12897
  • [ENHANCEMENT] Promtool: Improve support for native histograms in TSDB analyze command. #12869
  • [BUGFIX] SD: Ensure that discovery managers are properly canceled. #10569
  • [BUGFIX] TSDB: Fix PostingsForMatchers race with creating new series. #12558
  • [BUGFIX] TSDB: Fix handling of explicit counter reset header in histograms. #12772
  • [BUGFIX] SD: Validate HTTP client configuration in HTTP, EC2, Azure, Uyuni, PuppetDB, and Lightsail SDs. #12762 #12811 #12812 #12815 #12814 #12816
  • [BUGFIX] TSDB: Fix counter reset edgecases causing native histogram panics. #12838
  • [BUGFIX] TSDB: Fix duplicate sample detection at chunk size limit. #12874
  • [BUGFIX] Promtool: Fix errors not being reported in check rules command. #12715
  • [BUGFIX] TSDB: Avoid panics reported in logs when head initialization takes a long time. #12876
  • [BUGFIX] TSDB: Ensure that WBL is repaired when possible. #12406

2.47.2 / 2023-10-11

15 Oct 14:20
v2.47.2
3f3172c
Compare
Choose a tag to compare

This is a patch release to fix a bug, and to rebuild with Go 1.21.3.

  • [BUGFIX] TSDB: Fix counter reset edgecases causing native histogram panics. #12838

2.47.1 / 2023-10-04

04 Oct 11:24
v2.47.1
c4d1a8b
Compare
Choose a tag to compare

This is a patch release to fix a bug, and to rebuild with Go 1.21.1.

  • [BUGFIX] Fix duplicate sample detection at chunk size limit #12874

2.45.1 / 2023-09-29

30 Sep 12:47
v2.45.1
c62de5d
Compare
Choose a tag to compare
  • [ENHANCEMENT] Hetzner SD: Support larger ID's that will be used by Hetzner in
    September. #12619
  • [BUGFIX] Linode SD: Cast InstanceSpec values to int64 to avoid overflows on
    386 architecture. #12568
  • [BUGFIX] TSDB: Handle TOC parsing failures. #10623