简体   繁体   中英

How do I use StatsD with Zend Framework application?

In essense I am curious about how other people do that, specifically -- do you wrap StatsD example PHP client in your own class? Where to you store configuration for it? Any gotchas for using statsd in ZF based application?

Thank you!

PS: Since I am using both ZF1 and ZF2 this question pertains to both versions of ZF.

There are some PHP clients available for Statsd - have a look at http://packagist.org and search for "statsd". The added benefit is that you'd be able to install anything you select via Composer.

How to store configuration is completely up to you and how you are doing it already in your application.

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