发布日期: 2024-11-05
版本号: v3.0.0-rc.0

Prometheus 3.0.0发布了第一个候选版本(RC),建议用户在非关键环境中测试,后续仅修复bug不再新增功能。该版本主要包含全新UI和默认启用的UTF-8支持等特性。相较于v3.0.0-beta.1版本的重要变更包括:移除无效或缺失Content-Type时的默认Prometheus文本格式回退机制,新增fallback_scrape_protocol配置项;远程写入默认禁用HTTP/2;规范化指标标签"le"和"quantile"的存储值;重命名scrape_classic_histogramsalways_scrape_classic_histograms;默认扩展外部标签的环境变量等配置调整。同时修复了PromQL中标准差计算忽略直方图数据的问题,优化了目标重新出现时的处理逻辑,并增强了原生直方图的时间戳支持。此版本还整合了v3.0.0-beta.0和beta.1的改动内容。

更新内容 (中文)

详见原始内容

更新内容 (原始)

This is the first Release Candidate of Prometheus 3.0.0. Please test it out on non-critical environments; nothing further will be changed in 3.0.0 except to fix bugs.

Prometheus 3.0.0 includes new features such as a brand new UI and UTF-8 support enabled by default.

New changes since v3.0.0-beta.1:

  • [CHANGE] Scraping: Remove implicit fallback to the Prometheus text format in case of invalid/missing Content-Type and fail the scrape instead. Add ability to specify a fallback_scrape_protocol in the scrape config. #15136
  • [CHANGE] Remote-write: default enable_http2 to false. #15219
  • [CHANGE] Scraping: normalize “le” and “quantile” label values upon ingestion. #15164
  • [CHANGE] Scraping: config scrape_classic_histograms was renamed to always_scrape_classic_histograms. #15178
  • [CHANGE] Config: remove expand-external-labels flag, expand external labels env vars by default. #14657
  • [CHANGE] Disallow configuring AM with the v1 api. #13883
  • [ENHANCEMENT] Scraping, rules: handle targets reappearing, or rules moving group, when out-of-order is enabled. #14710
  • [ENHANCEMENT] Tools: add debug printouts to promtool rules unit testing #15196
  • [ENHANCEMENT] Scraping: support Created-Timestamp feature on native histograms. #14694
  • [BUGFIX] PromQL: Fix stddev+stdvar aggregations to always ignore native histograms. #14941
  • [BUGFIX] PromQL: Fix stddev+stdvar aggregations to treat Infinity consistently. #14941
  • [BUGFIX] OTLP receiver: Preserve colons when generating metric names in suffix adding mode (this mode is always enabled, unless one uses Prometheus as a library). #15251

Changes from v3.0.0-beta.1 and v3.0.0-beta.0 are also included in this version.

Full Changelog: https://github.com/prometheus/prometheus/compare/v2.55.0...v3.0.0-rc.0

下载链接