【问题标题】:Is there anyway to "ETL" data out of Graphite DB (Grafana)Graphite DB(Grafana)中是否有“ETL”数据
【发布时间】:2017-07-07 17:37:49
【问题描述】:

我们正在尝试将部分监控从 Grafana / Graphite DB 转移到另一个系统中。无论如何将完整的数据库数据拉入一个 sql 数据库?

【问题讨论】:

    标签: graphite grafana


    【解决方案1】:

    您可以使用 Whisper DB 提供的工具从文件中提取数据,即将数据上传到您的数据库中。

    [boss@DPU101 gn_bytes_total_card0]$ whisper-fetch gauge.wsp  | head
    1499842740      51993482526.000000
    1499842800      51014501995.000000
    1499842860      51011637567.000000
    1499842920      51301789613.000000
    1499842980      50994189020.000000
    1499843040      50986821344.000000
    

    此工具还允许您以 JSON 格式提取数据:

    $ whisper-fetch --help
    [...]
    --json         Output results in JSON form
    

    【讨论】:

      【解决方案2】:

      您可以使用提供的耳语实用程序。您需要使用以下命令单独下载它。 在 Ubuntu 14.04 上 apt-get install python-whisper

      whisper-fetch.py​​ 程序将允许您将数据下载为 json 格式(或漂亮格式 - 由制表符分隔)。 数据点将是每 60 秒。

      Whisper Link

      【讨论】:

        猜你喜欢
        • 2014-10-28
        • 1970-01-01
        • 2017-09-22
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 2019-07-09
        • 2016-08-23
        相关资源
        最近更新 更多