ICode9

精准搜索请尝试: 精确搜索
首页 > 其他分享> 文章详细

Prometheus 2.23.0 新特性

2021-10-22 13:34:24  阅读:467  来源: 互联网

标签:remote storage prometheus 特性 Prometheus samples 2.23 total metadata


Prometheus 2.23.0 现在(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_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://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

标签:remote,storage,prometheus,特性,Prometheus,samples,2.23,total,metadata
来源: https://blog.csdn.net/erdongxt/article/details/120903975

本站声明: 1. iCode9 技术分享网(下文简称本站)提供的所有内容,仅供技术学习、探讨和分享;
2. 关于本站的所有留言、评论、转载及引用,纯属内容发起人的个人观点,与本站观点和立场无关;
3. 关于本站的所有言论和文字,纯属内容发起人的个人观点,与本站观点和立场无关;
4. 本站文章均是网友提供,不完全保证技术分享内容的完整性、准确性、时效性、风险性和版权归属;如您发现该文章侵犯了您的权益,可联系我们第一时间进行删除;
5. 本站为非盈利性的个人网站,所有内容不会用来进行牟利,也不会利用任何形式的广告来间接获益,纯粹是为了广大技术爱好者提供技术内容和技术思想的分享性交流网站。

专注分享技术,共同学习,共同进步。侵权联系[81616952@qq.com]

Copyright (C)ICode9.com, All Rights Reserved.

ICode9版权所有