You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

diagnostics.md 982 B

1234567891011121314151617181920212223
  1. # Diagnostics
  2. 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.
  3. ## Diagnostics events
  4. The CAP provides support for `DiagnosticSource` with a listener name of `CapDiagnosticListener`.
  5. Diagnostics provides external event information as follows:
  6. * Before the message is persisted
  7. * After the message is persisted
  8. * Message persistence exception
  9. * Before the message is sent to MQ
  10. * After the message is sent to MQ
  11. * The message sends an exception to MQ.
  12. * Messages saved from MQ consumption before saving
  13. * After the message is saved from MQ consumption
  14. * Before the subscriber method is executed
  15. * After the subscriber method is executed
  16. * Subscriber method execution exception
  17. Related objects, you can find at the `DotNetCore.CAP.Diagnostics` namespace.