发布日期: 2024-07-10
版本号: v2.53.1

这是一个错误修复版本,修复了v2.51.0版本引入的远程写入功能问题。该问题会导致当远程写入数据流停滞时间超过单个WAL段写入时长时(例如:每分钟抓取1000万时间序列的场景下约5分钟),监控样本数据可能被丢弃。修复通过PR #14446完成,对应原始问题为#14087。容器镜像可通过Quay.io和Docker Hub的官方仓库获取。

更新内容 (中文)

这是一个错误修复版本,撤销了在v2.51.0版本中引入的一项变更。

该错误表现为:当远程写入的发送流停滞时间超过写入单个"WAL段"所需时长时,会丢弃样本。具体持续时间取决于Prometheus的数据速率——若以每分钟抓取一次的1000万序列为例,此过程大约需要5分钟。相关问题参见#14087

  • [BUGFIX] 远程写入: 修复追赶期间丢弃样本的问题 #14446

常规容器镜像可通过以下地址获取: https://quay.io/repository/prometheus/prometheus?tab=tagshttps://hub.docker.com/r/prom/prometheus/tags

更新内容 (原始)

This is a bug-fix release, reverting a change introduced in v2.51.0.

The bug was that remote-write would drop samples if the sending flow stalled for longer than it takes to write one “WAL segment”. How long this takes depends on the data rate of your Prometheus; as a rough guide with 10 million series scraping once per minute it could be about 5 minutes. The issue is #14087.

  • [BUGFIX] Remote-write: stop dropping samples in catch-up #14446

As usual, container images are available at https://quay.io/repository/prometheus/prometheus?tab=tags and https://hub.docker.com/r/prom/prometheus/tags

下载链接