# 聊一聊悟空编辑器 # Prometheus 2.23.0 新特性

网友投稿 272 2022-10-01

# 聊一聊悟空编辑器 # Prometheus 2.23.0 新特性

Prometheus  ​​2.23​​ 现在(2020.11.26)已经发布,在上个月的   ​​2.22.0​​ 之后又进行了很多的修复和改进。

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_totalprometheus_remote_storage_metadata_failed_totalprometheus_remote_storage_metadata_retried_total prometheus_remote_storage_metadata_bytes_totalprometheus_remote_storage_max_samples_per_send

详细的发行注记可以查看 [release notes](。

总结

这篇博客使用最新的悟空编辑器进行编辑,编辑方式感觉挺好用的,一些 Markdown 的展示效果基本都有,对于喜欢简洁风格的小伙伴来说还是不错的。

参考链接

, By Brian Brazil,By prombot of GitHub

版权声明:本文内容由网络用户投稿,版权归原作者所有,本站不拥有其著作权,亦不承担相应法律责任。如果您发现本站中有涉嫌抄袭或描述失实的内容,请联系我们jiasou666@gmail.com 处理,核实后本网站将在24小时内删除侵权内容。

上一篇:农商行数字化转型的烦恼
下一篇:一文搞懂Spring中的Bean作用域
相关文章

 发表评论

暂时没有评论,来抢沙发吧~