Skip to content

Releases: prometheus/prometheus

2.51.0-rc.0 / 2024-03-07

11 Mar 15:57
v2.51.0-rc.0
8d53e7b
Compare
Choose a tag to compare
Pre-release

This version is built with Go 1.22.1.

There is a new optional build tag "dedupelabels", which should reduce memory consumption (#12304).
It is off by default; there is an optional alternative image prom/prometheus:v2.51.0-rc.0-dedupelabels to try it out.

  • [CHANGE] Scraping: Do experimental timestamp alignment even if tolerance is bigger than 1% of scrape interval #13624, #13737
  • [FEATURE] Alerting: Relabel rules for AlertManagerConfig; allows routing alerts to different alertmanagers #12551, #13735
  • [FEATURE] API: add limit param to series, label-names and label-values APIs #13396
  • [FEATURE] UI (experimental native histograms): Add native histogram chart to Table view #13658
  • [FEATURE] Promtool: Add a "tsdb dump-openmetrics" to dump in OpenMetrics format. #13194
  • [FEATURE] PromQL (experimental native histograms): Add histogram_avg function #13467
  • [ENHANCEMENT] Rules: Evaluate independent rules concurrently #12946, #13527
  • [ENHANCEMENT] Scraping (experimental native histograms): Support exemplars #13488
  • [ENHANCEMENT] Remote Write: Disable resharding during active retry backoffs #13562
  • [ENHANCEMENT] Observability: Add native histograms to latency/duration metrics #13681
  • [ENHANCEMENT] Observability: Add 'type' label to prometheus_tsdb_head_out_of_order_samples_appended_total #13607
  • [ENHANCEMENT] API: Faster generation of targets into JSON #13469, #13484
  • [ENHANCEMENT] Scraping, API: Use faster compression library #10782
  • [ENHANCEMENT] OpenTelemetry: Performance improvements in OTLP parsing #13627
  • [ENHANCEMENT] PromQL: Optimisations to reduce CPU and memory #13448, #13536
  • [BUGFIX] PromQL: Constrain extrapolation in rate() to half of sample interval #13725
  • [BUGFIX] Remote Write: Stop slowing down when a new WAL segment is created #13583, #13628
  • [BUGFIX] PromQL: Fix wrongly scoped range vectors with @ modifier #13559
  • [BUGFIX] Kubernetes SD: Pod status changes were not discovered by Endpoints service discovery #13337
  • [BUGFIX] Azure SD: Fix 'error: parameter virtualMachineScaleSetName cannot be empty' (#13702)
  • [BUGFIX] Remote Write: Fix signing for AWS sigv4 transport #13497
  • [BUGFIX] Observability: Exemplars emitted by Prometheus use "trace_id" not "traceID" #13589

2.50.1 / 2024-02-26

26 Feb 12:29
v2.50.1
8c9b028
Compare
Choose a tag to compare

This is a bug-fix release for an issue that broke the /metadata API.

  • [BUGFIX] API: Fix metadata API using wrong field names. #13633

Thanks to @itsmylife for the fix.

2.50.0 / 2024-02-22

22 Feb 10:30
v2.50.0
814b920
Compare
Choose a tag to compare
  • [CHANGE] Remote Write: Error storage.ErrTooOldSample is now generating HTTP error 400 instead of HTTP error 500. #13335
  • [FEATURE] Remote Write: Drop old inmemory samples. Activated using the config entry sample_age_limit. #13002
  • [FEATURE] Experimental: Add support for ingesting zeros as created timestamps. (enabled under the feature-flag created-timestamp-zero-ingestion). #12733 #13279
  • [FEATURE] Promtool: Add analyze histograms command. #12331
  • [FEATURE] TSDB/compaction: Add a way to enable overlapping compaction. #13282 #13393 #13398
  • [FEATURE] Add automatic memory limit handling. Activated using the feature flag. auto-gomemlimit #13395
  • [ENHANCEMENT] Promtool: allow specifying multiple matchers in promtool tsdb dump. #13296
  • [ENHANCEMENT] PromQL: Restore more efficient version of NewPossibleNonCounterInfo annotation. #13022
  • [ENHANCEMENT] Kuma SD: Extend configuration to allow users to specify client ID. #13278
  • [ENHANCEMENT] PromQL: Use natural sort in sort_by_label and sort_by_label_desc. This is experimental. #13411
  • [ENHANCEMENT] Native Histograms: support native_histogram_min_bucket_factor in scrape_config. #13222
  • [ENHANCEMENT] Native Histograms: Issue warning if histogramRate is applied to the wrong kind of histogram. #13392
  • [ENHANCEMENT] TSDB: Make transaction isolation data structures smaller. #13015
  • [ENHANCEMENT] TSDB/postings: Optimize merge using Loser Tree. #12878
  • [ENHANCEMENT] TSDB: Simplify internal series delete function. #13261
  • [ENHANCEMENT] Agent: Performance improvement by making the global hash lookup table smaller. #13262
  • [ENHANCEMENT] PromQL: faster execution of metric functions, e.g. abs(), rate() #13446
  • [ENHANCEMENT] TSDB: Optimize label values with matchers by taking shortcuts. #13426
  • [ENHANCEMENT] Kubernetes SD: Check preconditions earlier and avoid unnecessary checks or iterations in kube_sd. #13408
  • [ENHANCEMENT] Promtool: Improve visibility for promtool test rules with JSON colored formatting. #13342
  • [ENHANCEMENT] Consoles: Exclude iowait and steal from CPU Utilisation. #9593
  • [ENHANCEMENT] Various improvements and optimizations on Native Histograms. #13267, #13215, #13276 #13289, #13340
  • [BUGFIX] Scraping: Fix quality value in HTTP Accept header. #13313
  • [BUGFIX] UI: Fix usage of the function time() that was crashing. #13371
  • [BUGFIX] Azure SD: Fix SD crashing when it finds a VM scale set. #13578
Commits
Read more

2.50.0-rc.1 / 2024-02-19

19 Feb 13:56
v2.50.0-rc.1
93591ec
Compare
Choose a tag to compare
Pre-release

[BUGFIX] Azure SD: Fix SD crashing when it finds a VM scale set. #13578

2.50.0-rc.0 / 2024-02-13

13 Feb 10:08
v2.50.0-rc.0
452f4c9
Compare
Choose a tag to compare
Pre-release
  • [CHANGE] Remote Write: Error storage.ErrTooOldSample is now generating HTTP error 400 instead of HTTP error 500. #13335
  • [FEATURE] Remote Write: Drop old inmemory samples. Activated using the config entry sample_age_limit. #13002
  • [FEATURE] Experimental: Add support for ingesting zeros as created timestamps. (enabled under the feature-flag created-timestamp-zero-ingestion). #12733 #13279
  • [FEATURE] Promtool: Add analyze histograms command. #12331
  • [FEATURE] TSDB/compaction: Add a way to enable overlapping compaction. #13282 #13393 #13398
  • [FEATURE] Add automatic memory limit handling. Activated using the feature flag. auto-gomemlimit #13395
  • [ENHANCEMENT] Promtool: allow specifying multiple matchers in promtool tsdb dump. #13296
  • [ENHANCEMENT] PromQL: Restore more efficient version of NewPossibleNonCounterInfo annotation. #13022
  • [ENHANCEMENT] Kuma SD: Extend configuration to allow users to specify client ID. #13278
  • [ENHANCEMENT] PromQL: Use natural sort in sort_by_label and sort_by_label_desc. This is experimental. #13411
  • [ENHANCEMENT] Native Histograms: support native_histogram_min_bucket_factor in scrape_config. #13222
  • [ENHANCEMENT] Native Histograms: Issue warning if histogramRate is applied to the wrong kind of histogram. #13392
  • [ENHANCEMENT] TSDB: Make transaction isolation data structures smaller. #13015
  • [ENHANCEMENT] TSDB/postings: Optimize merge using Loser Tree. #12878
  • [ENHANCEMENT] TSDB: Simplify internal series delete function. #13261
  • [ENHANCEMENT] Agent: Performance improvement by making the global hash lookup table smaller. #13262
  • [ENHANCEMENT] PromQL: faster execution of metric functions, e.g. abs(), rate() #13446
  • [ENHANCEMENT] TSDB: Optimize label values with matchers by taking shortcuts. #13426
  • [ENHANCEMENT] Kubernetes SD: Check preconditions earlier and avoid unnecessary checks or iterations in kube_sd. #13408
  • [ENHANCEMENT] Promtool: Improve visibility for promtool test rules with JSON colored formatting. #13342
  • [ENHANCEMENT] Consoles: Exclude iowait and steal from CPU Utilisation. #9593
  • [ENHANCEMENT] Various improvements and optimizations on Native Histograms. #13267, #13215, #13276 #13289, #13340
  • [BUGFIX] Scraping: Fix quality value in HTTP Accept header. #13313
  • [BUGFIX] UI: Fix usage of the function time() that was crashing. #13371
Commits
Read more

2.45.3 / 2024-01-24

24 Jan 15:09
v2.45.3
a90afda
Compare
Choose a tag to compare

This release contains security fixes in dependencies and has been built with go1.21.6. #13450.

  • [BUGFIX] TSDB: Remove double memory snapshot on shutdown. #13110

2.49.1 / 2024-01-15

15 Jan 17:49
v2.49.1
43e1484
Compare
Choose a tag to compare
  • [BUGFIX] TSDB: Fixed a wrong q= value in scrape accept header #13313

2.49.0 / 2024-01-15

15 Jan 11:23
v2.49.0
683a46c
Compare
Choose a tag to compare
  • [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 #13371
  • [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
  • [BUGFIX] SD: Fix Azure VM Scale Set NIC issue. #13283
Commits
Read more

2.49.0-rc.2 / 2024-01-08

08 Jan 11:07
v2.49.0-rc.2
0a88bcb
Compare
Choose a tag to compare
Pre-release
  • [BUGFIX] UI: Fix scalar and string data type issues when querying introduced by heatmap feature. #13371

2.49.0-rc.1 / 2023-12-19

20 Dec 11:06
v2.49.0-rc.1
1e30685
Compare
Choose a tag to compare
Pre-release
  • [BUGFIX] SD: Fix Azure VM Scale Set NIC issue. #13283
Commits * Cut 2.49 rc.1 + cherry pick Azure fix by @bwplotka in https://github.com//pull/13314 (with fix from @daniel-resdiary)