Version 2 (modified by psniegowski, 7 years ago) (diff)


Diagnostics library


As with all libraries, it's configuration should be placed inside of program configuration.

The <logged> nodes are periodically searched for and, if successfully casted to Diagnostics::StatsBase objects, the current statistics are logged. This a convenience alternative to viewing them through diagnostics pages.

      <logged name="/communication/request-stats" />
      <logged name="/path/to/instance/of/Diagnostics::StatsBase" />