Prometheus 2.30.0 新特性

本文涉及的产品
EMR Serverless StarRocks,5000CU*H 48000GB*H
可观测监控 Prometheus 版,每月50GB免费额度
简介: 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) 之后又进行了很多的修复和改进。

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

本次 Prometheus 针对时序数据库 TSDB 新增了一个实验性质的特性,使用 --enable-feature=memory-snapshot-on-shutdown 在关闭时对内存块进行快照,以更快地重新启动 Prometheus 。还有就是对于 Scrape 也新增了一个实验性的特性,__scrape_interval____scrape_timeout__ ,使用这两个label 进行重新标记,配置指标采集时间和采集超时。

另外对于获取指标 scrape 新增了 scrape_timeout_secondsscrape_sample_limit 两个指标,使用 --enable-feature=extra-scrape-metrics 参数可以在默认情况下避免额外的基数。

对于 scrape 进行了优化, 当使用 --scrape.adjust-timestamps 启动时,使用 -scrape.timestamp-tolerance 来调整scrape 时间戳的公差。另外在 在解析指标时减少分配。

对于 docker 的服务发现,这次开始支持 host 的网络模式。

这次增对远程写进行了优化,提高发送示例时的吞吐量。

对于时序数据库 TSDB 进行了一些改进,通过移除额外的 map 和缓存来优化 WAL 文件的加载。

对于 promtool 工具也进行了优化,会加速检查重复的规则。

接下来是一些 BUG 的修复

对于 exemplars 调整示例存储从 0 到非 0 变化引起的问题。
对于 时序数据库 TSDB ,当追加没有样本,正确减少prometheus_tsdb_head_active_appenders。
对于 promtool 工具的 rules backfill ,如果 backfill 不成功,返回1。并且避免了创建重叠块。

对于 config,修复了用空的重标签操作重新加载配置时的问题。

详细的发行注记可以查看 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 Cloud Native
Prometheus 2.29.0 新特性
Prometheus [2.29.0](https://github.com/prometheus/prometheus/releases/tag/v2.29.0) 现在(2021.08.11)已经发布,在上个月的 [2.28.0] 之后又进行了很多的修复和改进。
169 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