【问题标题】:How to configure getting statsd performance metrics into graphite?如何配置获取 statsd 性能指标到石墨?
【发布时间】:2017-05-09 18:13:32
【问题描述】:

This question 提到了两种类型的性能统计:

  1. carbon.*:来自石墨本身的统计数据。
  2. stats.* :来自 statsd 的统计数据。

我看到 1.,但我没有看到 2。 是否有 statsd 配置设置(例如 js 文件中的某些条目)可以让我看到 2.?

【问题讨论】:

    标签: monitoring graphite statsd


    【解决方案1】:

    (2) 应该默认生成,但默认前缀是 statsd. 而不是 stats. 如你所说。也许检查您没有任何期望错误前缀的 Graphite 规则。

    您还可以使用 .js 配置文件中的 prefixStats 属性将前缀配置为您想要的任何内容。

    查看示例配置中的文档: https://github.com/etsy/statsd/blob/master/exampleConfig.js

    【讨论】:

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