【问题标题】:Custom sink for PrometheusPrometheus 的自定义水槽
【发布时间】:2017-04-25 15:38:08
【问题描述】:

是否可以为 Prometheus 定义自定义接收器? Heapster 提供了这样的feature,我想知道是否可以将Prometheus 收集的时间序列数据写入stdout。

【问题讨论】:

    标签: prometheus heapster


    【解决方案1】:

    远程写入路径允许这样做,请参阅https://www.robustperception.io/using-the-remote-write-path/ 示例。

    【讨论】:

    • 感谢您的及时回复。例如,是否可以将数据导出为 json 对象?
    • 远程读取 API 是为此提供的唯一 API,您可以编写一个适配器将该输出转换为 JSON。
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2018-10-28
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2018-11-20
    • 1970-01-01
    相关资源
    最近更新 更多