我想知道是否可以使用 protobuf 将数据发送到 Graphite。
我有一个以 protobuf 格式发送统计信息的应用程序,我想开始将这些统计信息发送到 Graphite。
我在谷歌搜索,我刚刚找到这个https://graphite.readthedocs.io/en/latest/search.html?q=protobuf&check_keywords=yes&area=default#但不清楚它是否仅用于石墨内部核心使用。
谢谢!
是的,您可以,认为它从 1.x 版及更高版本开始可用。
参见 Python 示例:https : //github.com/graphite-project/carbon/blob/master/examples/example-protobuf-client.py
您必须在 Carbon 配置中启用侦听器:https : //github.com/graphite-project/carbon/blob/master/conf/carbon.conf.example#L113-L117
本文收集自互联网,转载请注明来源。
如有侵权,请联系 [email protected] 删除。
我来说两句