graphyte:兼容Python 3的库,可将数据发送到Graphite指标服务器(Carbon)

时间:2021-05-08 12:20:49
【文件属性】:
文件名称:graphyte:兼容Python 3的库,可将数据发送到Graphite指标服务器(Carbon)
文件大小:9KB
文件格式:ZIP
更新时间:2021-05-08 12:20:49
python async metrics graphite carbon 石墨 graphyte是一个小型的Python库,可将数据发送到Graphite指标服务器(Carbon)。 我们写的,因为现有库不支持Python 3中,而且还需要asyncronous使用GEVENT。 graphyte已在Python 3.5+和Python 2.7上进行了测试,并使用标准库的threading模块进行异步使用。 该库位于,因此要安装它,启动命令提示符,如果使用的话,请激活您的virtualenv,然后键入: pip install graphyte 使用graphyte很简单–只需调用init()来初始化默认的发送者,然后调用send()来发送消息。 例如,要将system.sync.foo.bar 42 {timestamp}\n同步发送到石墨.example.com:2003: import graphyte graphyte . init ( 'gra
【文件预览】:
graphyte-master
----setup.py(2KB)
----.gitignore(38B)
----MANIFEST.in(52B)
----graphyte.py(9KB)
----LICENSE.txt(1KB)
----.github()
--------workflows()
----test_graphyte.py(7KB)
----README.rst(4KB)

网友评论