用于聚合普罗米修斯监视系统的python客户端库中的度量的库。

prometheus_roller的Python项目详细描述


#普罗米修斯压路机![构建状态](https://travis-ci.org/turtlemonvh/prometheus_python_roller.png?branch=master)(https://travis ci.org/turtlemonvh/prometheus_python_roller)
[![PyPI版本](https://img.shields.io/PyPI/v/prometheus_roller.svg)(https://PyPI.python.org/PyPI/prometheus_roller)
[![下载](http://img.shields.io/pypi/dm/prometheus_roller.svg)(https://pypi.python.org/pypi/prometheus_roller)
[![Python版本](https://img.shields.io/pypi/pyversions/prometheus_roller.svg)(https://pypi.python.org/pypi/prometheus_roller)
[![许可证](https://img.shields.io/pypi/l/prometheus戋roller.svg)(https://pypi.python.org/pypi/prometheus戋roller)



这是一个小的帮助工具,用于为使用[prometheus python客户端](https://github.com/prometheus/client戋python)创建的直方图和计数器度量创建时间框汇总。

直方图无限期地增加,但您通常关心最近的活动。这个库提供了一种将计数器或柱状图转换为一个或一组测量程序状态的方法。

您(https://prometheus.io/docs/querying/functions/),但如果您要将度量发送到多个位置(例如,[check_mk](https://mathias kettner.de/check mk_localchecks.html))并且您希望将这些度量以一种使基本警报和报告更容易的形式发送这可能有帮助。

“测试滚轮”)

为柱状图创建滚轮,用于计算窗口值。
默认情况下,它将为每个柱状图栏创建一个带有标签的标尺。
每个标尺的值将是过去5分钟内的值变化,每5秒更新一次。
有关更多配置选项,请参阅“选项”参数。
rh=HistogramRoller(h)

每5秒更新一次。
有关更多配置选项,请参阅“选项”参数。
rc=counterroller(c)

#与pip一起安装
pip-Install prometheus费罗勒




按照可编辑的安装方式进行安装工作
pip-Install-e git+https://github.com/turtlemonvh/turtlemonvh/prometheus_python_python_python_python_pythonupython_python
git clone git@git@github.com:turtlemonvh/prometheus_python_python_prometheus prometheus prometheus-prometheus-prometheus-prometheus-prometheus-/>Pythonsetup.py develop
````

欢迎加入QQ群-->: 979659372 Python中文网_新手群

推荐PyPI第三方库


热门话题
java GWT对话框从不显示帮助   java在简单的MapReduce作业中带来了极大的开销   javacom。mysql。jdbc。例外情况。jdbc4。MySQLIntegrityConstraintViolationException:列不能为null/onetoone映射   如何通过TCP/IP与Java和Labview进行通信,并发送浮点数据缓冲区?   java Apache camel与spring事件基本示例   java如何使我的秒表应用程序在完全关闭后仍能运行?   java Nutch爬网错误输入路径不存在   java是Mapreduce中按值传递还是按引用传递的键?   正则表达式替换java中的特定字符   Java DOM XML解析   java Eclipse未显示服务器的项目   使用Arraylist进行快速排序的排序Java实现疑难解答   java Split text包含字符串列表中的数字   检查Java中的两个lambda是否执行相同的代码?   java为什么dispatchTouchEvent避免在屏幕上单击?