statman_graphite:将状态从statman推送到石墨主机

时间:2021-05-05 22:34:41
【文件属性】:
文件名称:statman_graphite:将状态从statman推送到石墨主机
文件大小:145KB
文件格式:ZIP
更新时间:2021-05-05 22:34:41
Erlang Statman->石墨 该库将通过收集的指标通过TCP推送到石墨主机。 对于statman直方图,仅将百分位作为数据点推送到石墨。 使用它 在启动应用程序之前,您需要设置host和port应用程序变量。 之后,您只需要使用statman记录一些指标即可。 application : set_env ( statman_graphite , host , " graphite.example.com " ). application : set_env ( statman_graphite , port , 2003 ). application : start ( statman_graphite ). statman_aggregator : start_link (). record_some_statman_stats (). 您可以使用prefix应用程序变量来设置全局前缀,
【文件预览】:
statman_graphite-master
----.gitignore(23B)
----rebar(143KB)
----src()
--------statman_graphite_app.erl(377B)
--------statman_graphite_pusher.erl(7KB)
--------statman_graphite.app.src(264B)
--------statman_graphite_sup.erl(786B)
----LICENSE(1KB)
----rebar.config(101B)
----README.md(2KB)
----test()
--------integration_test.erl(6KB)

网友评论