代码之家  ›  专栏  ›  技术社区  ›  Cosmin Ioniță

有没有可能在耳语(graphite)中看到所有度量(所有路径)?

  •  0
  • Cosmin Ioniță  · 技术社区  · 7 年前

    我在石墨中有很多指标,我必须搜索它们。

    我试图使用whisper-fetch.py,但它返回度量值(数字),我想要度量名称,类似于:

    前缀1.prefix2.metricName1 前缀1.prefix2.metricName2 ...

    谢谢您。

    1 回复  |  直到 7 年前
        1
  •  1
  •   Popieluch    7 年前

    你可以使用unix find 命令,例如。 find /data/graphite -name 'some_pattern' 或者使用web api,例如。 curl http://my-graphite/metrics/find?query=somequery ,请参见 graphite metrics api