Linux 软件免费装
Banner图

digitalDot Diagnostics Export for Query Monitor

开发者 digitaldot
更新时间 2026年10月14日 20:06
PHP版本: 7.4 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

performance debugging audit query monitor profiling

下载

1.0.0 1.2.2

详情介绍:

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: 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.

安装:

  1. Install and activate Query Monitor.
  2. Install and activate digitalDot Diagnostics Export for Query Monitor.
  3. Open Tools > digitalDot Diagnostics Export in the WordPress admin dashboard.
  4. Enable debug capture, optionally include wp-admin requests, and save the settings.
  5. Browse the site while signed in as the administrator who enabled capture.
  6. Return to Tools to export an optimised or RAW ZIP, then purge the logs and disable capture.

升级注意事项:

1.2.2 Avoids changing third-party callbacks and clarifies independent naming. Data formats are retained. 1.2.1 Improved WordPress compatibility, data handling, and diagnostics exports. All existing audit formats are preserved. 1.2.0 Diagnostic storage moved outside the public web root. Back up old plugin logs before upgrading.

常见问题:

Does the plugin send my database queries to an AI service?

No. All processing is performed on your server. ZIP files are only downloaded when an authorised administrator requests them. You decide if and where to upload an archive.

Does it monitor all site visitors?

No. It only captures the requests of the logged-in administrator who explicitly enabled recording. Other users' requests are not profiled by this plugin.

Does RAW mean original SQL values are included?

No. RAW means the captured JSON Lines records are not deduplicated or summarised. Sensitive SQL literals and known URL credential parameters are redacted at collection time for both export types.

Why are my logs empty?

Ensure Query Monitor is activated, you are browsing with the same administrator account that activated capture, and the server allows a writable directory outside the public web root. Administrative requests are excluded unless you enable the corresponding checkbox.

What does the server need for ZIP downloads?

The PHP ZipArchive extension must be enabled to produce downloadable ZIP archives. Without it, the plugin displays an administrator-only error.

Does the plugin work on shared hosting?

Usually, if the host provides a private temporary directory writable by PHP. Otherwise, ask your hosting provider for a safe location and set QMDD_PRIVATE_STORAGE_DIR.

Will activating capture change how my site works?

The plugin attaches its own observation hooks for the active administrator, without wrapping or replacing third-party callbacks. It can add overhead, so use it for short debugging sessions and turn it off afterwards. It is not a background performance-monitoring service.

Is the time-per-plugin ranking exhaustive?

No. WordPress does not provide a public API for precise timings of arbitrary callbacks. The plugin measures individual callbacks only when they are isolated at a priority with free adjacent priorities. Other callbacks are omitted from the component-time ranking rather than estimating a misleading cost. Total action durations are recorded separately; timing is wall-clock, not an exact CPU profile.

Are AI token and price estimates exact?

No. They are heuristic estimates for comparison only, using an illustrative USD rate rather than any current provider price.

更新日志:

1.2.2 1.2.1 1.2.0 1.1.0