Linux 软件免费装

DockTHOR

开发者 jacycha
更新时间 2026年8月29日 23:05
PHP版本: 8.2 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

performance logging debugging monitoring error tracking

下载

1.0.0 1.1.0

详情介绍:

DockTHOR sends PHP errors and uncaught exceptions from your WordPress site to a DockTHOR project, together with the stack trace, the environment and — when you allow it — the logged-in user. It can also measure how long requests take. Features: Fill in the token and the private key on Settings → DockTHOR and you are done. If you would rather keep the private key out of the database — a database dump travels between environments more often than a config file does — define it as a wp-config.php constant instead; the settings screen shows exactly which fields are currently coming from a constant, and a Configuration source switch lets you pin the plugin to constants only, to the database only, or let a defined constant win per field (the default, and how the plugin behaved before this screen existed).

安装:

  1. Upload the plugin to /wp-content/plugins/dockthor, or install it from the plugins screen.
  2. Activate it through the Plugins menu — its row gets a Settings link straight to the next step, so there is nothing to hunt for.
  3. Open Settings → DockTHOR, paste in your project token and private key, and save.
  4. Click Send a test event to confirm it reached the panel.
Both values come from the project screen in the DockTHOR panel. The token is public and appears in the ingest URL; the private key is a secret shown once, when it is generated. Prefer wp-config.php instead? Add the constants below and the settings screen will show the fields as coming from wp-config.php automatically — nothing else to configure. define( 'DOCK_THOR_TOKEN', 'YOUR_PROJECT_TOKEN' ); define( 'DOCK_THOR_PRIVATE_KEY', 'YOUR_PRIVATE_KEY' );

升级注意事项:

1.0.0
  • Initial release.

常见问题:

Does the plugin have a settings screen?

Yes — Settings → DockTHOR. It shows a live configuration status, the result of the last test event, and lets you edit every setting without touching wp-config.php. Anything already defined as a constant keeps working; the screen shows exactly which fields that applies to.

Will it slow down my site?

Request timing is off by default. When it is on, the transaction is sent after the response has been handed to the browser, so the visitor does not wait for it.

What happens if the site cannot reach DockTHOR?

Nothing visible. Failures to start or to send are logged to the PHP error log and the request continues.

Which languages does it speak?

English, Polish and German.

更新日志:

1.1.0