Naming pattern in graphite and statsd

℡╲_俬逩灬. 提交于 2019-12-01 09:05:48

This is very dependent on your needs. There are some general rules to follow (like common sense) which you have followed already, but this entire topic is very individual.

I did encounter a nice guide someone put together on this topic though. From the guide:

<namespace>.<instrumented section>.<target (noun)>.<action (past tense verb)>

Example:

accounts.authentication.password.attempted

While the guide provides some nice insights, my opinion is that it will be a bit of trial and error. At my company we have 100s of metrics, and it took a while to organize them. You should also learn how to delete unnecessary metrics from Carbon too! It will help you clean out your graphite interface to avoid seeing garbage in there.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!