Prometheus Versions Save

The Prometheus monitoring system and time series database.

v2.50.0-rc.0

3 months ago
  • [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

New Contributors

Full Changelog: https://github.com/prometheus/prometheus/compare/v2.49.1...v2.50.0-rc.0

v2.45.3

3 months ago

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

v2.49.1

4 months ago
  • [BUGFIX] TSDB: Fixed a wrong q= value in scrape accept header #13313

v2.49.0

4 months ago
  • [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

New Contributors

Full Changelog: https://github.com/prometheus/prometheus/compare/v2.48.1...v2.49.0

v2.49.0-rc.2

4 months ago
  • [BUGFIX] UI: Fix scalar and string data type issues when querying introduced by heatmap feature. #13371

v2.49.0-rc.1

4 months ago
  • [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/prometheus/prometheus/pull/13314 (with fix from @daniel-resdiary)

v2.45.2

4 months ago

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

v2.49.0-rc.0

5 months ago
  • [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

New Contributors 🤗

v2.48.1

5 months ago
  • [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

v2.48.0

5 months ago
  • [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