【问题标题】:Consume protobuf messages from Graphite使用来自 Graphite 的 protobuf 消息
【发布时间】:2018-03-10 12:09:26
【问题描述】:

我想知道是否可以使用 protobuf 将数据发送到 Graphite。

我有一个以 protobuf 格式发送统计信息的应用程序,我想开始将这些统计信息发送到 Graphite。

我在谷歌上搜索,我刚刚找到了这个https://graphite.readthedocs.io/en/latest/search.html?q=protobuf&check_keywords=yes&area=default#,但不清楚它是否仅用于石墨内部核心。

谢谢!

【问题讨论】:

    标签: protocol-buffers graphite graphite-carbon


    【解决方案1】:

    是的,您可以,认为它从 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

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2016-06-24
      • 1970-01-01
      • 2021-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多