Prometheus 2.29.0 新特性

本文涉及的产品
可观测监控 Prometheus 版,每月50GB免费额度
EMR Serverless StarRocks,5000CU*H 48000GB*H
简介: Prometheus [2.29.0](https://github.com/prometheus/prometheus/releases/tag/v2.29.0) 现在(2021.08.11)已经发布,在上个月的 [2.28.0] 之后又进行了很多的修复和改进。

Prometheus 2.29.0 现在(2021.08.11)已经发布,在上个月的 [2.28.0] 之后又进行了很多的修复和改进。

这次感觉更新了很多内容。
macOS用户需要注意一下: 由于即将发布的 Go 1.17的变化,这是支持macOS 10.12 Sierra 的最后一个 Prometheus 版本。

Prometheus 的 --storage.tsdb.allow-overlapping-blocks--storage.tsdb.retention.size 的 tag 从 experimental 变成了 stable,

对于服务发现,这次新增了 Kuma 的服务发现,另外 GCE 的服务发现新增了 一个 __meta_gce_interface_ipv4_<name> 的 元数据 label,EC2 的服务发现新增了一个 __meta_ec2_availability_zone_id 元数据 label ,Azure 服务发现新增了一个 __meta_azure_machine_computer_name 元数据 label ,Hetzner 服务发现新增了一个 __meta_hetzner_hcloud_labelpresent_<labelname> 元数据 label 。

PromQL 增加了 present_over_time 函数功能。

Prometheus 允许通过文件配置示例存储,并使其可重新加载。这次更新提高了 write-ahead-log 的解码性能。另外 Prometheus 通过减少互斥锁的使用来提高 TSDB 的追加性能。允许配置 max_samples_per_send 用于远程写元数据。

对于 UI 方面,这次更新以后允许鼠标拖动选择时间范围,在 flags 页面中添加排序和过滤功能,另外优化提高了警报页面的呈现性能。

另外 Promtool 工具这次也更新了一些功能,首先新增了一个 --enable-feature 用来添加一些特性。其次支持添加 file_sd 文件验证。另外优化了 promtool tsdb分析报告的压缩效率。允许通过 --max-block-duration 标志配置最大阻塞持续时间

接下来是一个 BUG 修复,Prometheus 当总的 symbol 大小超过 2^32 bytes 时会导致压缩失败,并跳过压缩并且记录日志。
修正 target_limit 重新加载 0 值的错误。

修复了 head GC 和 pending reader 竞争条件。

修复了 OpenMetrics 解析器中的时间戳处理问题。

修复指定多个匹配器时 /federate 端点中可能存在的重复指标

修复服务器配置和通过客户端证书验证的验证

详细的发行注记可以查看 release notes

参考链接

相关实践学习
容器服务Serverless版ACK Serverless 快速入门:在线魔方应用部署和监控
通过本实验,您将了解到容器服务Serverless版ACK Serverless 的基本产品能力,即可以实现快速部署一个在线魔方应用,并借助阿里云容器服务成熟的产品生态,实现在线应用的企业级监控,提升应用稳定性。
相关文章
|
Prometheus Kubernetes Cloud Native
Prometheus 2.31.0 新特性
Prometheus [2.31.0](https://github.com/prometheus/prometheus/releases/tag/v2.31.0) 现在(2021.11.02)已经发布,在上个月的 [2.30.0](http://erdong.site/Prometheus/New-Features/New-Features-in-Prometheus-2-30-0.html) 之后又进行了很多的修复和改进。
217 0
Prometheus 2.31.0 新特性
|
存储 Prometheus Cloud Native
Prometheus 2.26.0 新特性
Prometheus [2.26.0](https://github.com/prometheus/prometheus/releases/tag/v2.26.0) 现在(2021.03.31)已经发布,在上个月的 [2.25.0](http://erdong.site/Prometheus/New-Features/New-Features-in-Prometheus-2-25-0.html) 之后又进行了很多的修复和改进。
209 0
|
存储 缓存 Prometheus
Prometheus 2.30.0 新特性
Prometheus [2.30.0](https://github.com/prometheus/prometheus/releases/tag/v2.30.0) 现在(2021.09.14)已经发布,在上个月的 [2.29.0](http://erdong.site/Prometheus/New-Features/New-Features-in-Prometheus-2-29-0.html) 之后又进行了很多的修复和改进。
253 0
|
Prometheus Kubernetes Cloud Native
Prometheus 2.28.0 新特性
Prometheus [2.28.0](https://github.com/prometheus/prometheus/releases/tag/v2.28.0) 现在(2021.06.21)已经发布,在上个月的 [2.27.0](http://erdong.site/Prometheus/New-Features/New-Features-in-Prometheus-2-27-0.html) 之后又进行了很多的修复和改进。
147 0
|
Prometheus 监控 Kubernetes
Prometheus 2.25.0 新特性
Prometheus [2.25.0](https://github.com/prometheus/prometheus/releases/tag/v2.25.0) 现在(2021.02.17)已经发布,在上个月的 [2.24.0](http://erdong.site/Prometheus/New-Features/New-Features-in-Prometheus-2-24-0.html) 之后又进行了很多的修复和改进。
223 0
|
Prometheus Kubernetes 监控
Prometheus 2.24.0 新特性
Prometheus [2.24.0](https://github.com/prometheus/prometheus/releases/tag/v2.24.0) 现在(2021.01.06)已经发布,在上个月的 [2.23.0](http://erdong.site/Prometheus/New-Features/New-Features-in-Prometheus-2-23-0.html) 之后又进行了很多的修复和改进。
179 0
|
Prometheus Kubernetes Cloud Native
Prometheus 2.21.0 新特性
Prometheus [2.21.0]已经发布
159 0
|
Prometheus Cloud Native Docker
Prometheus 2.20.0 新特性
Prometheus 2.20.0 版本发布了,我们看看有什么新的特性。
2993 0
|
存储 Prometheus Cloud Native
Prometheus 2.19.0 新特性
Prometheus [2.19.0](https://github.com/prometheus/prometheus/releases/tag/v2.19.0) 现在(2020.06.15)已经发布,在上个月的 [2.18.0](http://erdong.site/Prometheus/New-Features/New-Features-in-Prometheus-2-18-0.html) 之后又进行了很多的修复和改进。
655 0
|
Prometheus Cloud Native API