[WordPress] 外掛分享: WpLoadGraph – Log and display server load of your WP site

首頁外掛目錄 › WpLoadGraph – Log and display server load of your WP site
10+
安裝啟用
尚無評分
658 天前
最後更新
問題解決
WordPress 6.0+ PHP 7.4+ v0.2.3 上架:2024-05-18

內容簡介

總結:
這個外掛將追蹤觸發載入 WordPress 核心的您伺服器的所有請求:
- 常規頁面
- 404 頁面
- 登入、註冊和忘記密碼頁面
- ajax、rest 和 xmlrpc 請求
- cron 請求
與大多數伺服器已經具有的「存取日誌」功能類似,但一個重要的改進是 - 它記錄每個過程執行的時間!這些信息對於分析壓力測試結果至關重要。現在,我們可以可視化哪些請求與其他請求並行運行,爭奪同一 CPU 資源。現在,您可以看到您的頁面加載速度緩慢是因為背景中有 cron 作業在運行。

問題與答案:
1. 這個外掛主要用於追蹤什麼?
- 所有觸發載入 WordPress 核心的伺服器請求。
2. 這個外掛能夠追蹤的請求類型有哪些?
- 常規頁面、404 頁面、登入、註冊和忘記密碼頁面、ajax、rest 和 xmlrpc 請求以及 cron 請求。
3. 外掛與其他伺服器功能的相似之處是什麼?
- 外掛類似於大多數伺服器已經具有的「存取日誌」功能,但他可以存儲每個過程執行的時間。
4. 外掛的使用方法是什麼?
- 簡單安裝並啟用外掛,並在管理面板的「工具」選單下添加新的菜單項目,在「WpLoadGraph」子頁面中查看時序圖和設置時間範圍。
5. 外掛如何避免存儲過大的日誌文件?
- 外掛會定期檢查日誌文件的大小,並刪除最老的條目以保持合理的大小,預設限制為 200Mb,但可以使用過濾器鉤子「wploadgraph-max_trace_size」進行修改。
6. 有任何問題或建議應如何聯繫?
- 請發送錯誤報告和功能要求至 [email protected]

外掛標籤

開發者團隊

⬇ 下載最新版 (v0.2.3) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「WpLoadGraph – Log and display server load of your WP site」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

This plugin will track all incoming requests to your server that triggers loading WordPress core:
– regular pages
– 404 page
– login, register and lost-password pages
– ajax, rest & xmlrpc requests
– cron requests
Somewhat similar to “access log” feature most servers already has,
but with one important improvement – it stores how long each process executes!
That information is essential for analyzing stress test results.
Now we can visualize what requests was ran in parallel with other requests, competing for resources of the same CPU.
Now you can see are your pages loading so slow because there is cronjob working in background.
Usage
Simply install and activate plugin. No settings are available.
Plugin will add new menu item in admin dashboard, in “Tools” menu, sub-page “WpLoadGraph”.
It has nicely styled timeline graph and filter to specify period of time you interested in.
Requests are grouped by “session id” to make visual analysing easier, and coloured according to their type.
Graph has “zoom” ability (use mouse wheel to zoom in and zoom out) and “pan” ability (mouse drag left and right).
There is a limitation of javascript library used for displaying events – it can contain maximum of 5000 elements,
so only first 5000 entries will be shown in graph if you selected too wide range in filter.
To avoid storing too large log file plugin will periodically check it size and strip off the oldest entries to keep it in reasonable size.
By default, that limit is 200Mb, but can be modified using filter hook “wploadgraph-max_trace_size”.
Contact
Please, send bug reports and feature requests to [email protected]

延伸相關外掛

文章
Filter
Mastodon