Skip to content

Releases: prometheus/prometheus

2.47.0 / 2023-09-06

06 Sep 11:50
v2.47.0
efa34a5
Compare
Choose a tag to compare

This release adds an experimental OpenTelemetry (OTLP) Ingestion feature, and also new setting keep_dropped_targets to limit the amount of dropped targets held in memory. This defaults to 0 meaning 'no limit', so we encourage users with large Prometheus to try setting a limit such as 100.

This version is compiled with Go 1.21.0.

  • [FEATURE] Web: Add OpenTelemetry (OTLP) Ingestion endpoint. #12571 #12643
  • [FEATURE] Scraping: Optionally limit detail on dropped targets, to save memory. #12647
  • [ENHANCEMENT] TSDB: Write head chunks to disk in the background to reduce blocking. #11818
  • [ENHANCEMENT] PromQL: Speed up aggregate and function queries. #12682
  • [ENHANCEMENT] PromQL: More efficient evaluation of query with timestamp(). #12579
  • [ENHANCEMENT] API: Faster streaming of Labels to JSON. #12598
  • [ENHANCEMENT] Agent: Memory pooling optimisation. #12651
  • [ENHANCEMENT] TSDB: Prevent storage space leaks due to terminated snapshots on shutdown. #12664
  • [ENHANCEMENT] Histograms: Refactoring and optimisations. #12352 #12584 #12596 #12711 #12054
  • [ENHANCEMENT] Histograms: Add histogram_stdvar and histogram_stddev functions. #12614
  • [ENHANCEMENT] Remote-write: add http.resend_count tracing attribute. #12676
  • [ENHANCEMENT] TSDB: Support native histograms in snapshot on shutdown. #12722
  • [BUGFIX] TSDB/Agent: ensure that new series get written to WAL on rollback. #12592
  • [BUGFIX] Scraping: fix infinite loop on exemplar in protobuf format. #12737

2.47.0-rc.0 / 2023-08-25

31 Aug 11:54
v2.47.0-rc.0
f8acfad
Compare
Choose a tag to compare
Pre-release

This release adds an experimental OpenTelemetry (OTLP) Ingestion feature, and also new setting keep_dropped_targets to limit the amount of dropped targets held in memory. This defaults to 0 meaning 'no limit', so we encourage users with large Prometheus to try setting a limit such as 100.

This version is compiled with Go 1.21.0.

  • [FEATURE] Web: Add OpenTelemetry (OTLP) Ingestion endpoint. #12571 #12643
  • [FEATURE] Scraping: Optionally limit detail on dropped targets, to save memory. #12647
  • [ENHANCEMENT] TSDB: Write head chunks to disk in the background to reduce blocking. #11818
  • [ENHANCEMENT] PromQL: Speed up aggregate and function queries. #12682
  • [ENHANCEMENT] PromQL: More efficient evaluation of query with timestamp(). #12579
  • [ENHANCEMENT] API: Faster streaming of Labels to JSON. #12598
  • [ENHANCEMENT] Agent: Memory pooling optimisation. #12651
  • [ENHANCEMENT] TSDB: Prevent storage space leaks due to terminated snapshots on shutdown. #12664
  • [ENHANCEMENT] Histograms: Refactoring and optimisations. #12352 #12584 #12596 #12711 #12054
  • [ENHANCEMENT] Histograms: Add histogram_stdvar and histogram_stddev functions. #12614
  • [ENHANCEMENT] Remote-write: add http.resend_count tracing attribute. #12676
  • [ENHANCEMENT] TSDB: Support native histograms in snapshot on shutdown. #12722
  • [BUGFIX] TSDB/Agent: ensure that new series get written to WAL on rollback. #12592
  • [BUGFIX] Scraping: fix infinite loop on exemplar in protobuf format. #12737

2.37.9 / 2023-07-28

29 Jul 08:01
v2.37.9
f6edd51
Compare
Choose a tag to compare

This update includes an update to the Go toolchain. It is the final release in
the 2.37 LTS release cycle.

2.46.0 / 2023-07-25

25 Jul 13:18
v2.46.0
cbb69e5
Compare
Choose a tag to compare
  • [FEATURE] Promtool: Add PromQL format and label matcher set/delete commands to promtool. #11411
  • [FEATURE] Promtool: Add push metrics command. #12299
  • [ENHANCEMENT] Promtool: Read from stdin if no filenames are provided in check rules. #12225
  • [ENHANCEMENT] Hetzner SD: Support larger ID's that will be used by Hetzner in September. #12569
  • [ENHANCEMENT] Kubernetes SD: Add more labels for endpointslice and endpoints role. #10914
  • [ENHANCEMENT] Kubernetes SD: Do not add pods to target group if the PodIP status is not set. #11642
  • [ENHANCEMENT] OpenStack SD: Include instance image ID in labels. #12502
  • [ENHANCEMENT] Remote Write receiver: Validate the metric names and labels. #11688
  • [ENHANCEMENT] Web: Initialize prometheus_http_requests_total metrics with code label set to 200. #12472
  • [ENHANCEMENT] TSDB: Add Zstandard compression option for wlog. #11666
  • [ENHANCEMENT] TSDB: Support native histograms in snapshot on shutdown. #12258
  • [ENHANCEMENT] Labels: Avoid compiling regexes that are literal. #12434
  • [BUGFIX] Histograms: Fix parsing of float histograms without zero bucket. #12577
  • [BUGFIX] Histograms: Fix scraping native and classic histograms missing some histograms. #12554
  • [BUGFIX] Histograms: Enable ingestion of multiple exemplars per sample. 12557
  • [BUGFIX] File SD: Fix path handling in File-SD watcher to allow directory monitoring on Windows. #12488
  • [BUGFIX] Linode SD: Cast InstanceSpec values to int64 to avoid overflows on 386 architecture. #12568
  • [BUGFIX] PromQL Engine: Include query parsing in active-query tracking. #12418
  • [BUGFIX] TSDB: Handle TOC parsing failures. #10623

2.46.0-rc.0 / 2023-07-20

21 Jul 11:22
v2.46.0-rc.0
9cd4808
Compare
Choose a tag to compare
Pre-release
  • [FEATURE] Promtool: Add PromQL format and label matcher set/delete commands to promtool. #11411
  • [FEATURE] Promtool: Add push metrics command. #12299
  • [ENHANCEMENT] Promtool: Read from stdin if no filenames are provided in check rules. #12225
  • [ENHANCEMENT] Hetzner SD: Support larger ID's that will be used by Hetzner in September. #12569
  • [ENHANCEMENT] Kubernetes SD: Add more labels for endpointslice and endpoints role. #10914
  • [ENHANCEMENT] Kubernetes SD: Do not add pods to target group if the PodIP status is not set. #11642
  • [ENHANCEMENT] OpenStack SD: Include instance image ID in labels. #12502
  • [ENHANCEMENT] Remote Write receiver: Validate the metric names and labels. #11688
  • [ENHANCEMENT] Web: Initialize prometheus_http_requests_total metrics with code label set to 200. #12472
  • [ENHANCEMENT] TSDB: Add Zstandard compression option for wlog. #11666
  • [ENHANCEMENT] TSDB: Support native histograms in snapshot on shutdown. #12258
  • [BUGFIX] Histograms: Fix parsing of float histograms without zero bucket. #12577
  • [BUGFIX] Histograms: Fix scraping native and classic histograms missing some histograms. #12554
  • [BUGFIX] Histograms: Enable ingestion of multiple exemplars per sample. 12557
  • [BUGFIX] File SD: Fix path handling in File-SD watcher to allow directory monitoring on Windows. #12488
  • [BUGFIX] Linode SD: Cast InstanceSpec values to int64 to avoid overflows on 386 architecture. #12568
  • [BUGFIX] TSDB: Handle TOC parsing failures. #10623

2.45.0 / 2023-06-23

23 Jun 16:07
v2.45.0
8ef767e
Compare
Choose a tag to compare

This release is a LTS (Long-Term Support) release of Prometheus and will
receive security, documentation and bugfix patches for at least 12 months.
Please read more about our LTS release cycle at
https://prometheus.io/docs/introduction/release-cycle/.

  • [FEATURE] API: New limit parameter to limit the number of items returned by /api/v1/status/tsdb endpoint. #12336
  • [FEATURE] Config: Add limits to global config. #12126
  • [FEATURE] Consul SD: Added support for path_prefix. #12372
  • [FEATURE] Native histograms: Add option to scrape both classic and native histograms. #12350
  • [FEATURE] Native histograms: Added support for two more arithmetic operators avg_over_time and sum_over_time. #12262
  • [FEATURE] Promtool: When providing the block id, only one block will be loaded and analyzed. #12031
  • [FEATURE] Remote-write: New Azure ad configuration to support remote writing directly to Azure Monitor workspace. #11944
  • [FEATURE] TSDB: Samples per chunk are now configurable with flag storage.tsdb.samples-per-chunk. By default set to its former value 120. #12055
  • [ENHANCEMENT] Native histograms: bucket size can now be limited to avoid scrape fails. #12254
  • [ENHANCEMENT] TSDB: Dropped series are now deleted from the WAL sooner. #12297
  • [BUGFIX] Native histograms: ChunkSeries iterator now checks if a new sample can be appended to the open chunk. #12185
  • [BUGFIX] Native histograms: Fix Histogram Appender Appendable() segfault. #12357
  • [BUGFIX] Native histograms: Fix setting reset header to gauge histograms in seriesToChunkEncoder. #12329
  • [BUGFIX] TSDB: Tombstone intervals are not modified after Get() call. #12245
  • [BUGFIX] TSDB: Use path/filepath to set the WAL directory. #12349

2.45.0-rc.1 / 2023-06-20

20 Jun 19:52
v2.45.0-rc.1
c858049
Compare
Choose a tag to compare
Pre-release
  • [ENHANCEMENT] Reverts previous enhancement to the API Gzip Handler due to higher cpu and memory usage. #12476

2.45.0-rc.0 / 2023-06-05

07 Jun 12:49
v2.45.0-rc.0
bfa466d
Compare
Choose a tag to compare
Pre-release

This release is a LTS (Long-Term Support) release of Prometheus and will
receive security, documentation and bugfix patches for at least 12 months.
Please read more about our LTS release cycle at
https://prometheus.io/docs/introduction/release-cycle/.

  • [FEATURE] API: New limit parameter to limit the number of items returned by /api/v1/status/tsdb endpoint. #12336
  • [FEATURE] Config: Add limits to global config. #12126
  • [FEATURE] Consul SD: Added support for path_prefix. #12372
  • [FEATURE] Native histograms: Add option to scrape both classic and native histograms. #12350
  • [FEATURE] Native histograms: Added support for two more arithmetic operators avg_over_time and sum_over_time. #12262
  • [FEATURE] Promtool: When providing the block id, only one block will be loaded and analyzed. #12031
  • [FEATURE] Remote-write: New Azure ad configuration to support remote writing directly to Azure Monitor workspace. #11944
  • [FEATURE] TSDB: Samples per chunk are now configurable with flag storage.tsdb.samples-per-chunk. By default set to its former value 120. #12055
  • [ENHANCEMENT] API: Improving Performance on the API Gzip Handler. #12363
  • [ENHANCEMENT] Native histograms: bucket size can now be limited to avoid scrape fails. #12254
  • [ENHANCEMENT] TSDB: Dropped series are now deleted from the WAL sooner. #12297
  • [BUGFIX] Native histograms: ChunkSeries iterator now checks if a new sample can be appended to the open chunk. #12185
  • [BUGFIX] Native histograms: Fix Histogram Appender Appendable() segfault. #12357
  • [BUGFIX] Native histograms: Fix setting reset header to gauge histograms in seriesToChunkEncoder. #12329
  • [BUGFIX] TSDB: Tombstone intervals are not modified after Get() call. #12245
  • [BUGFIX] TSDB: Use path/filepath to set the WAL directory. #12349

2.44.0 / 2023-05-13

14 May 08:04
v2.44.0
1ac5131
Compare
Choose a tag to compare

This version is built with Go tag stringlabels, to use the smaller data
structure for Labels that was optional in the previous release. For more
details about this code change see #10991.

  • [CHANGE] Remote-write: Raise default samples per send to 2,000. #12203
  • [FEATURE] Remote-read: Handle native histograms. #12085, #12192
  • [FEATURE] Promtool: Health and readiness check of prometheus server in CLI. #12096
  • [FEATURE] PromQL: Add query_samples_total metric, the total number of samples loaded by all queries. #12251
  • [ENHANCEMENT] Storage: Optimise buffer used to iterate through samples. #12326
  • [ENHANCEMENT] Scrape: Reduce memory allocations on target labels. #12084
  • [ENHANCEMENT] PromQL: Use faster heap method for topk() / bottomk(). #12190
  • [ENHANCEMENT] Rules API: Allow filtering by rule name. #12270
  • [ENHANCEMENT] Native Histograms: Various fixes and improvements. #11687, #12264, #12272
  • [ENHANCEMENT] UI: Search of scraping pools is now case-insensitive. #12207
  • [ENHANCEMENT] TSDB: Add an affirmative log message for successful WAL repair. #12135
  • [BUGFIX] TSDB: Block compaction failed when shutting down. #12179
  • [BUGFIX] TSDB: Out-of-order chunks could be ignored if the write-behind log was deleted. #12127

Images are available on Docker Hub: docker pull prom/prometheus:v2.44.0

2.44.0-rc.2 / 2023-05-07

08 May 20:05
v2.44.0-rc.2
94d9367
Compare
Choose a tag to compare
Pre-release

This is a Release Candidate for Prometheus 2.44.0, with one performance optimisation and one bugfix over what was in v2.44.0-rc.1.

  • [ENHANCEMENT] Storage: Optimise buffer used to iterate through samples. #12326
  • [BUGFIX] Labels: Set after Del would be ignored, which broke some relabeling rules. #12322

This version is built with Go version 1.20.4.