
內容簡介
digitalDot Diagnostics Export for Query Monitor 是一款擴展免費 Query Monitor 外掛的工具,專為開發者設計,能夠比較多個請求、識別重複的 SQL 查詢、檢查 HTTP 呼叫延遲及分析選定的 WordPress 鉤子的成本。
【主要功能】
• 比較多個請求的性能數據
• 識別重複的 SQL 查詢
• 檢查 HTTP 呼叫的延遲
• 收集 PHP 警告和通知
• 優化的 ZIP 匯出功能
• 隱私保護和數據安全
外掛標籤
開發者團隊
② 後台搜尋「digitalDot Diagnostics Export for Query Monitor」→ 直接安裝(推薦)
原文外掛簡介
digitalDot Diagnostics Export for Query Monitor extends the free Query Monitor plugin. It helps developers compare multiple requests, identify repeated SQL queries, inspect HTTP call latency and analyse the cost of selected WordPress hooks.
The following diagnostic files can be collected while an administrator deliberately enables capture:
Request timing, database timing, HTTP duration, memory and approximate PHP time.
SQL query structure, timing, caller information and duplicate detection.
PHP warnings, notices and available stack information.
Outgoing HTTP request URLs, response codes and latency.
Script and stylesheet inventories, render-blocking hints and local file sizes.
Hook/action timings and limited per-callback attribution when safe probes can isolate a callback.
PHP, WordPress, database, object cache and OPcache configuration metrics.
Optimised and full RAW (non-summarised) ZIP exports, generated locally.
The optimised archive uses local deduplication and aggregation before download. There is no requirement for an AI provider account and no AI API is contacted by this plugin. Users may choose to upload the ZIP themselves to a third-party service.
Privacy and diagnostic data
Capture is off by default. Only requests made by the administrator who explicitly enabled capture are logged. Collection is not enabled for other administrators or anonymous visitors. Callback instrumentation also stays disabled unless capture is active for that request.
The plugin keeps data in a randomly named, private directory outside the document root (typically under PHP’s temporary-files directory) rather than inside the plugin folder or public uploads. Files are only downloaded through an administrator-only, nonce-protected endpoint. Hosts may automatically clean their temporary directories, so export important records before host maintenance.
Captured diagnostics can contain sensitive information, including server paths, SQL query structure, product/order identifiers, request paths and performance metadata. The plugin removes SQL quoted literal values and common secret-bearing URL query parameters before writing logs. This is best-effort protection, not a guarantee of anonymisation. Always inspect exported files before sharing them.
The plugin does not transmit telemetry to digitalDot or to any AI service. Data is written locally only when an administrator opts in. Downloading an archive is a user-initiated action. Users are responsible for their own policies and legal obligations when sharing technical diagnostics with external services.
Logging stops when capture is disabled; existing files remain until you purge them or uninstall the plugin. Uninstall removes the plugin’s settings and known log files. The underlying temporary directory may also be cleared by the host at any time.
Storage configuration
When PHP’s temporary storage is unsuitable, create an existing, writable folder outside the web root, and set the following in wp-config.php:
define( 'QMDD_PRIVATE_STORAGE_DIR', '/private/server/path' );
The plugin will refuse to write diagnostic logs if it cannot find a writable non-public directory. It will display a warning on its own Tools screen instead of falling back to a web-accessible path. Files are protected in depth with restrictive directory permissions and web server denial files; these are not a replacement for storage outside the web root.
Dependencies
Requires Query Monitor, distributed separately from WordPress.org. WordPress 6.5+ supports dependency installation via the Requires Plugins header. This plugin is an independent extension made by digitalDot, and is not affiliated with or endorsed by the Query Monitor maintainers.
