
內容簡介
透過 Etsy’s StatsD 和 Graphite 實現即時環境下的高伸縮度的應用程式度量跟程式碼分析。
追蹤 WordPress 及 Multisite 中的所有事情:
登入 (成功,失敗,登出)
密碼重置 (嘗試/成功)
使用者計數 (計量器)
使用者 (註冊,垃圾郵件,非垃圾郵件)
張貼文章 (發表,放入垃圾桶,刪除)
評論 (收到,審核通過,放入垃圾桶,垃圾郵件,非垃圾郵件)
附件 (新增,編輯,刪除)
XML-RPC(每個命令各自追蹤,可滾動總和)
Multisite 網誌計數 (計量器)
Multisite 網誌操作 (新增,垃圾郵件,非垃圾郵件,封存,解封,刪除,還原)
頁面產生時間
查詢計數 (類型及儲存查詢的時間)
遠端 HTTP 請求 (計數,時間 - 依主機)
WP Cron 呼叫
WP 電子郵件
等等!
需要在 localhost 或私人網路上的伺服器上安裝 StatsD。
您也可以在其他外掛或佈景主題中呼叫 $statsd 全域類別來即時追蹤應用程式度量。查看 API 使用說明: https://github.com/domnikl/statsd-php/blob/develop/README.md
在 GitHub 上共同貢獻。
待辦事項
希望實現批次收集和發送透過一個或最少量的 UDP 封包所需的度量,基於連線時間。
外掛標籤
開發者團隊
原文外掛簡介
For live environment no-latency massively-scalable application metric tracking and code profiling via Etsy’s StatsD + Graphite.
Tracks everything in WordPress and Multisite:
Logins (success, fails, logout)
Password resets (attempts/successes)
User count (guage)
Users (registrations, spam, ham)
Posting (publish, trash, delete)
Commenting (received, approved, trashed, spam, unspam)
Attachments (Add, edit, delete)
XML-RPC (every command individually, you can rollup)
Multisite blog count (guage)
Multiiste blog actions (new, spam, ham, archive, unarchive, delete, undelete)
Page generation times
Query count (type + time when SAVEQUERIES defined)
Remote HTTP requests (count, time – by host)
WP Cron calls
WP Emails
and more!
Requires StatsD on localhost or a server on your private network.
You can also call the $statsd global class in other plugin/theme code for instant tracking of any application metric. See API usage instructions: https://github.com/domnikl/statsd-php/blob/develop/README.md
Contribute at GitHub.
To Do
Want to implement batch collection and send of metrics via one or minimal UDP packets required based on connection time.
