| 开发者 |
A5hleyRich |
|---|---|
| 更新时间 | 2026年11月22日 06:53 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv3 |
| 版权网址: | 版权信息 |
wp-config.php/wp-content/plugins/debughawk directorywp-config.php file, above the line /* That's all, stop editing! */php
define( 'DEBUGHAWK_CONFIG', [
'enabled' => true,
'endpoint' => 'https://ingest.debughawk.com/your-endpoint',
'secret' => 'your-secret-key',
] );
We recommend adding the configuration to wp-config.php, as it keeps your settings out of the database. You can also enter them under Settings > DebugHawk, which also has options for the sample rate, wp-admin monitoring and the slow query threshold.
Once connected, DebugHawk starts monitoring your WordPress site's performance automatically.DebugHawk monitors front end and back end performance together. Alongside Core Web Vitals from real visitors, it records slow database queries, PHP execution time, external requests and memory usage. It then traces slow queries and requests to the plugin or theme that made them.
Not noticeably. In our tests it adds around 1 ms of server time to a typical page, about 1% of the time WordPress takes to build it, and around 45 KB of memory. A heavy page running 1,000 queries adds around 7 ms. In the browser, the script is under 9 KB compressed, loads asynchronously and sends its data with the Beacon API when the visitor leaves, so it doesn't hold up your content.
DebugHawk works alongside Query Monitor. Query Monitor is great for debugging the page you're looking at right now. DebugHawk records performance for every visitor over time, so you can spot patterns, compare pages and see when a problem started.
Yes. DebugHawk attributes slow database queries and external requests to the plugin or theme that made them, so you can see where the time goes on each page.
Yes. On your product, cart and checkout pages, DebugHawk monitors database performance, Core Web Vitals and external requests, including calls to payment gateways.
DebugHawk uses Real User Monitoring (RUM), which measures Core Web Vitals in your real visitors' browsers. You get field data from real visits rather than a one-off lab test.
Yes. The plugin sends performance data to your DebugHawk dashboard, where you can explore trends, share reports and monitor all your WordPress sites. You can create a free account in a couple of minutes.
Yes. The Free plan covers one WordPress site with every feature included. DebugHawk records every pageview, and your dashboard shows your latest 10,000 pageviews from up to the last 7 days. Upgrading shows everything DebugHawk has recorded, with longer history and more sites.
Yes. Explore the live demo to see the DebugHawk dashboard monitoring a set of demo WordPress sites, with data that updates every minute.
Yes. DebugHawk is built for agencies and developers who look after many WordPress sites. Paid plans cover 5 to 200 sites in one dashboard, with unlimited team members.
Performance data only: timings, query and request details, memory usage, cache results and Core Web Vitals. Each pageview includes the page URL with query strings removed, plus the visitor's country, device type and browser. DebugHawk replaces database query values with placeholders before they leave your site and doesn't store visitor IP addresses. See the External services section below for details.
DebugHawk records slow queries on every page, along with how long they took and the plugin or theme that ran them. The Slow queries page in your dashboard groups them, so you can see which ones cost the most time across your WordPress site.
Yes. DebugHawk spots queries that run over and over on the same page, such as a query run once for every post in a loop, or the same query run repeatedly when its result could be cached. It shows how many times each one ran, how long they took in total and the plugin or theme behind them.