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) 之后又进行了很多的修复和改进。



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) 之后又进行了很多的修复和改进。



本次更新对于 Promtool 新增了追溯性规则评估功能。


对于 Prometheus 的配置新增了外部标签的环境变量扩展,使用 `--enable-feature = expand-external-labels` 标签就可以了。


针对时序数据库 TSDB 本次新增了 1 个新功能和 2 个 BUG 修复。新增了一个 控制参数 `--storage.tsdb.max-block-chunk-segment-size` 来控制小的Prometheus 实例的块文件 chunk file 最大文件的大小。两个 BUG 修复分别是 针对写大数据量的内容到 WAL 时防止日志出现 `panic: snappy: decoded block is too large` 。 以及在文件关闭后使用 mmap 内存时不要


对于 UI 方面,在这个版本新增了黑暗主题,当前有白色和黑色两个主题,并且可以设置跟随时间来进行自动切换。另外有一处优化的地方,页面增加了 16w 和 26w 时间范围步骤。另外就是在 TSDB 的状态页提供错误而不是空白页。


本次更新在服务发现方面变化挺多的,首先新增了 AWS Lightsail 的服务发现,其次增加了 Docker Service 的服务发现。对于 Digital Ocean 新增了 `__meta_digitalocean_vpc` 的 label 标签。对于 Scaleway 服务发现优化了从文件中读取 Scaleway secret 的方式。对于 Consul 服务发现,配置更新没有目标后不再需要重新启动 。




对于 OAuth 允许在任何使用 HTTP 客户端的地方使用 OAuth 2.0。



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






# 参考链接


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

相关文章
|
7月前
|
Prometheus 监控 Cloud Native
【Prometheus简介】
【Prometheus简介】
80 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) 之后又进行了很多的修复和改进。
166 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) 之后又进行了很多的修复和改进。
202 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] 之后又进行了很多的修复和改进。
139 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) 之后又进行了很多的修复和改进。
123 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) 之后又进行了很多的修复和改进。
171 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) 之后又进行了很多的修复和改进。
188 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) 之后又进行了很多的修复和改进。
142 0
|
缓存 Prometheus Cloud Native
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) 之后又进行了很多的修复和改进。
203 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) 之后又进行了很多的修复和改进。
97 0
http://www.vxiaotou.com