How does StatsD store its data?

给你一囗甜甜゛ 提交于 2019-12-06 21:02:31

问题


I've been going through the README at https://github.com/etsy/statsd but I can't figure out how does StatsD store the data it gets?

Does it do any permanent storage or is it one off thing? I was trying to figure out what database (if any) it uses or if it simply uses a file-based storage.


回答1:


Etsy's version of statsD does not store data per se but relies on "backends" to do something with the data it aggregates (e.g. print them out, send them to another statsD server or send them to graphite) as shown in https://github.com/etsy/statsd/tree/master/backends.

If you want permanent storage, you'll need to stand up a graphite server, use a hosted one or use a service that supports statsD natively (e.g. Datadog).

Disclosure: I work for Datadog.



来源:https://stackoverflow.com/questions/13502149/how-does-statsd-store-its-data

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