內容簡介
MetrixWire APM 是一款專為 WordPress 設計的性能監控外掛,能夠追蹤每個請求的回應時間、狀態及 SQL 查詢,幫助開發者識別性能瓶頸,提升網站效能。
【主要功能】
• 追蹤每個請求的回應時間與狀態
• 標記 N+1 查詢與慢速端點
• 支援 SAVEQUERIES 以追蹤 SQL 查詢
• 無需修改程式碼,簡易啟用
• 可自訂 API 金鑰與端點
外掛標籤
開發者團隊
原文外掛簡介
MetrixWire APM traces every WordPress request end-to-end: response time, status, and (when SAVEQUERIES
is enabled) each $wpdb query as its own span. Detectors on the MetrixWire dashboard flag N+1 queries,
slow endpoints, slow queries, and unhandled exceptions from the traces this plugin sends.
No code changes are required — activate the plugin, paste your API key and endpoint under
Settings → MetrixWire, and traces start flowing.
For the absolute earliest possible trace start (before regular plugins load), see the must-use plugin
variant bundled with the metrixwire/php Composer package instead.
External services
This plugin sends trace data to the MetrixWire endpoint you configure — your own instance, or
metrixwire.com if you use the hosted service. Each request contains the HTTP method, path, response
status, duration, and (when SAVEQUERIES is enabled) the SQL text and duration of each database query.
Nothing is sent until you enter an API key and endpoint, and nothing is sent while the Enabled toggle is
off. Traces leave the site on the shutdown hook, after the response has already reached the visitor.
