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



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


本次更新主要集中在 UI 、服务发现和时序数据库方面,其他方面的更新内容较少。


对于 UI 这次更新将新的实验性 PromQL 编辑器设为了默认编辑器。这次也在图形界面中添加范例显示支持。这次的 UI 还有一个优化的点,我觉得很友好,当你重启 Prometheus 但是数据库还在加载数据没有准备好的时候,以前访问 UI 页面会报错,这次会有一个带有进度条的启动页面,这样可以知道大概还有多久能好。这次的 UI 修复了一个 BUG,在实验性的PromQL编辑器中,修复了特殊浮点值的自动完成和解析,并改进了系列元数据获取。


对于服务发现这次新增了 Linode 服务发现,也新增了基于 HTTP 的服务发现。对于 Kubernetes 的服务发现,现在允许通过 kubecconfig 文件配置 API Server 访问,添加了 ingress 类名称 label 标签用于 ingress 发现。对于 Consul  服务发现,为Consul Enterprise添加命名空间支持,另外还支持从文件中读取 TOKEN。


针对服务发现,修复了使用多个服务发现时 `prometheus_sd_discovered_targets` 度量的计算问题。另外添加目标创建失败计数器 `prometheus_target_sync_failed_total`,改进目标创建失败的处理。


对于时序数据库 TSDB ,改进范例标签集长度的验证。添加一个`prometheus_tsdb_clean_start` 指标,表示上一次运行的 TSDB 锁文件在启动时是否仍然存在。当 TSDB 合并块时,如果结果块包含超过120个样本,则拆分。



对于 Promtool 工具有一处改进,这个版本开始允许在 导入/ 回填数据时静默输出。



对于告警的规则添加一个新的 `.ExternalURL` 警告字段模板变量,包含Prometheus Server 的 external URL。



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






# 参考链接


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

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