Prometheus 2.23.0 新特性

简介: Prometheus [2.23.0](https://github.com/prometheus/prometheus/releases/tag/v2.23.0) 现在(2020.11.26)已经发布,在上个月的 [2.22.0](http://erdong.site/Prometheus/New-Features/New-Features-in-Prometheus-2-22-0.html) 之后又进行了很多的修复和改进。



Prometheus [2.23.0](https://github.com/prometheus/prometheus/releases/tag/v2.23.0) 现在(2020.11.26)已经发布,在上个月的 [2.22.0](http://erdong.site/Prometheus/New-Features/New-Features-in-Prometheus-2-22-0.html) 之后又进行了很多的修复和改进。


React UI 作为 Web 的默认页面,老的页面仅会维持处于可用状态。


对 TSDB 进行了各种性能改进。在压缩过程中添加序列时缓存标签名称和最后值,这样压缩速度会更快,在 Prometheus 停止运行一段时间后重新启动后只会有一个检查点,并且 API 不再加载任何数据块。


PromQL 提高了哈希方法的性能,使查询速度更快。修正括号内向量选择器的timestamp()方法。在 PromQL 解析错误中不包含渲染表达式。


Promtool 现在可以列出 tsdb 块的大小,在每次执行 test 的时候会计算最大最小值。


修复了调用 /-/quit/ 的时候执行 2 次 `close()` 的问题。





远程写现在可以发送元数据。这是一种有限的权宜之计,仅够实现指标元数据API,因为没有办法将特定的示例链接到它的元数据。对于Prometheus本身在/metrics上公开的远程写度量,也有无数的更改。


在远程写中删除/重命名了以下指标


prometheus_remote_storage_succeeded_samples_total  被移除了 
prometheus_remote_storage_samples_total 介绍了所有发送的指标
prometheus_remote_storage_sent_bytes_total 被移除了, 被 prometheus_remote_storage_samples_bytes_total 和 prometheus_remote_storage_metadata_bytes_total 替换了。
prometheus_remote_storage_failed_samples_total -> prometheus_remote_storage_samples_failed_total .
prometheus_remote_storage_retried_samples_total -> prometheus_remote_storage_samples_retried_total.
prometheus_remote_storage_dropped_samples_total -> prometheus_remote_storage_samples_dropped_total.
prometheus_remote_storage_pending_samples -> prometheus_remote_storage_samples_pending.



本次更新,引入了如下指标

```

prometheus_remote_storage_metadata_total

prometheus_remote_storage_metadata_failed_total

prometheus_remote_storage_metadata_retried_total prometheus_remote_storage_metadata_bytes_total

prometheus_remote_storage_max_samples_per_send

```


详细的发行注记可以查看 [release notes](https://github.com/prometheus/prometheus/releases/tag/v2.23.0) 。




# 参考链接


* https://www.robustperception.io/new-features-in-prometheus-2-23-0 , By Brian Brazil

* https://github.com/prometheus/prometheus/releases/tag/v2.23.0 ,By prombot of GitHub

相关文章
|
9月前
|
Prometheus 监控 Cloud Native
【Prometheus简介】
【Prometheus简介】
88 0
|
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) 之后又进行了很多的修复和改进。
176 0
Prometheus 2.31.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) 之后又进行了很多的修复和改进。
218 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] 之后又进行了很多的修复和改进。
145 0
|
Prometheus Cloud Native 时序数据库
Prometheus 2.27.0 新特性
Prometheus [2.27.0](https://github.com/prometheus/prometheus/releases/tag/v2.27.0) 现在(2021.05.12)已经发布,在上个月的 [2.26.0](http://erdong.site/Prometheus/New-Features/New-Features-in-Prometheus-2-26-0.html) 之后又进行了很多的修复和改进。
115 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) 之后又进行了很多的修复和改进。
128 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) 之后又进行了很多的修复和改进。
197 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) 之后又进行了很多的修复和改进。
179 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) 之后又进行了很多的修复和改进。
156 0
|
Prometheus Cloud Native API
Prometheus 2.22.0 新特性
Prometheus [2.22.0](https://github.com/prometheus/prometheus/releases/tag/v2.22.0) 现在(2020.10.15)已经发布,在上个月的 [2.21.0](http://erdong.site/Prometheus/New-Features/New-Features-in-Prometheus-2-21-0.html) 之后又进行了很多的修复和改进。
99 0