简体   繁体   中英

How to configure getting statsd performance metrics into graphite?

This question mentions two types of performance stats:

  1. carbon.* : Stats from graphite itself.
  2. stats.* : Stats from statsd.

I am seeing 1., but I'm not seeing 2. Is there a statsd configuration setting (eg some entry in the js file) which will let me see 2.?

(2) should be generated by default, but the default prefix is statsd. and not stats. as you've said. Maybe check that you don't have any Graphite rules expecting the wrong prefix.

You can also configure the prefix to whatever you want using the prefixStats property in the .js config file.

See the documentation in the example config: https://github.com/etsy/statsd/blob/master/exampleConfig.js

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM