发布日期: 2024-11-12
版本号: v3.0.0-rc.1

Prometheus 3.0.0 的下一个候选版本已发布,建议在非关键环境中测试。该版本包含全新UI和默认启用的UTF-8支持等新功能,并提供了迁移指南。自上一候选版本以来的主要变更包括:自动设置GOMAXPROCS与Linux CPU配额匹配(可通过–no-auto-gomaxprocs禁用)、自动设置GOMEMLIMIT以适配容器内存限制(可通过–no-auto-gomemlimit禁用)、OTLP接收器新增跳过UTF-8规范化的配置选项、修复空抓取时的错误日志问题及UI中空指标名称的显示问题。完整变更日志可查看版本对比记录。

更新内容 (中文)

这是Prometheus 3.0.0的下一个候选版本。

请务必在非关键环境中进行测试;3.0.0版本除修复缺陷外将不再进行任何功能变更。

Prometheus 3.0.0包含多项新特性,包括全新设计的UI界面以及默认启用的UTF-8支持。

迁移指南详见此处

v3.0.0-rc.0版本以来的变更:

  • [变更] 自动设置GOMAXPROCS变量以匹配Linux CPU配额,可通过--no-auto-gomaxprocs禁用。移除auto-gomaxprocs特性开关。#15376
  • [变更] 自动设置GOMEMLIMIT变量以匹配Linux容器内存限制,可通过--no-auto-gomemlimit禁用。移除auto-gomemlimit特性开关。#15373
  • [特性] OTLP接收器:支持通过otlp.translation_strategy = NoUTF8EscapingWithSuffixes配置选项禁用UTF-8转义。#15384
  • [缺陷修复] 抓取机制:不再对空抓取结果记录错误日志。#15357
  • [缺陷修复] 用户界面:修复无指标名称时选择器/序列的格式化问题。#15341

完整更新日志:https://github.com/prometheus/prometheus/compare/v2.55.0…v3.0.0-rc.1

更新内容 (原始)

This is the next 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.

Migration guide is here.

New changes since v3.0.0-rc.0:

  • [CHANGE] Set the GOMAXPROCS variable automatically to match the Linux CPU quota. Use --no-auto-gomaxprocs to disable it. The auto-gomaxprocs feature flag was removed. #15376
  • [CHANGE] Set the GOMEMLIMIT variable automatically to match the Linux container memory limit. Use --no-auto-gomemlimit to disable it. The auto-gomemlimit feature flag was removed. #15373
  • [FEATURE] OTLP receiver: Ability to skip UTF-8 normalization using otlp.translation_strategy = NoUTF8EscapingWithSuffixes configuration option. #15384
  • [BUGFIX] Scraping: Don’t log errors on empty scrapes. #15357
  • [BUGFIX] UI: fix selector / series formatting for empty metric names. #15341

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

下载链接