This configuration item is used to configure the authorization filter when accessing the Dashboard. The default filter allows LAN access. When your application wants to provide external network access, you can customize the authentication rules by setting this configuration. See the next section for details.
Diagnostics provides a set of features that make it easy for us to document the critical operations that occur during the application's operation, their execution time, etc., allowing administrators to find the root cause of problems, especially in production environments.
## Diagnostics events
## CAP 中的 Diagnostics
The CAP provides support for `DiagnosticSource` with a listener name of `CapDiagnosticListener`.
在 CAP 中,对 `DiagnosticSource` 提供了支持,监听器名称为 `CapDiagnosticListener`。
Diagnostics provides external event information as follows:
Diagnostics 提供对外提供的事件信息有:
* Before the message is persisted
* After the message is persisted
* Message persistence exception
* Before the message is sent to MQ
* After the message is sent to MQ
* The message sends an exception to MQ.
* Messages saved from MQ consumption before saving