Version 3 (modified by psniegowski, 8 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" />

In default configurations it is configurable through logged variable, e.g.

./vitralld demonstation.xml --var logged="/communication/request-stats /path/to/instance/of/Diagnostics::StatsBase"