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

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

这次更新新增了很多的特性,并且修复一些 BUG 。

对于 UI 方面,删除了标准的 PromQL 编辑器,该用基于 codemirror 的编辑器。这个我还没有试用,用过了看看到底是个什么样子。UI 这次更新取消时间范围设置更改。UI 修复了一个 BUG,对所有的告警类型使用同样的页边距。

对于 PromQL 增加了三角函数,并且新增了 atan2 的二进制操作符。atan2是一个函数,在 C 语言里返回的是指方位角,C 语言中 atan2 的函数原型为 double atan2(double y, double x) ,返回以弧度表示的 y/x 的反正切。y 和 x 的值的符号决定了正确的象限。也可以理解为计算复数 x+yi 的辐角,计算时atan2 比 atan 稳定。文档还没更新这些新函数的用法,等等吧。

对于服务发现,这次新增了 PuppetDB 和 Uyuni 的服务发现。并且 Azure 服务发现和 Kubernetes 服务发现也有了更新,Azure 服务发现增加了 proxy_urlfollow_redirectstls_config,Kubernetes 服务发现如果终端数量超过限制,警告用户。对于服务发现新增了一个实验性的服务发现管理器,以避免重新加载时重新启动,默认是关闭的,需要使用 --enable-feature=new-service-discovery-manager 参数来打开。

对于远程写 ,在远程写接收方端点中添加对 exemplar 的支持。

对于 HTTP 来说重新打开了 HTTP/2 , 并且在 Web 页面支持 security-related 的 HTTP header 。

在 Promtool 工具中有一项改进,在 promtool create-blocks-from 规则中添加 --max-block-duration

对于身份认证的 OAuth2 ,在请求的 Token 中添加了 TLS 的配置 。

这次更新还修复了一些 BUG,一个是解决了多个导出的标签前缀之间的冲突 。另外当 __scrape_interval__ 被更改时重新启动获取数据的循环。

最重要的是这次修改了 TSDB 样例删除时遇到的内存泄漏问题。

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

参考链接

相关文章
|
存储 缓存 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) 之后又进行了很多的修复和改进。
217 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] 之后又进行了很多的修复和改进。
144 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 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) 之后又进行了很多的修复和改进。
176 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) 之后又进行了很多的修复和改进。
196 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) 之后又进行了很多的修复和改进。
155 0
|
Prometheus Kubernetes Cloud Native
Prometheus 2.21.0 新特性
Prometheus [2.21.0]已经发布
141 0
|
Prometheus Cloud Native Docker
Prometheus 2.20.0 新特性
Prometheus 2.20.0 版本发布了,我们看看有什么新的特性。
2971 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) 之后又进行了很多的修复和改进。
640 0
|
Prometheus Cloud Native API
http://www.vxiaotou.com