Plugin Health Monitoring - techtalk/SpecLog-Resources GitHub Wiki
SpecLog's plugins are monitored by a watchdog to ensure proper operation (e.g. work item tracking and source control integration).
Configure the watchdog in the <appSettings/>
element of SpecLog.Server.exe.config
:
<add key="PluginWatchdogSettings" value="1:10:30:true" />
The value
attribute has the following format: <refresh time>:<sync activity tolerance>:<sync success tolerance>:<should restart plugin>
-
refresh time
: Trigger interval (in minutes) for the watchdog -
sync activity tolerance
: Period (in minutes), after which the watchdog expects activity from the sync thread of the plugin (the trigger interval of the sync thread is added to this period) -
sync success tolerance
: Period (in minutes) that the watchdog expects the sync thread to successfully finish its job within, either (2 * trigger interval + sync activity tolerance) or (trigger interval + sync success tolerance) -
should restart plugin
: Iffalse
, the watchdog only logs errors and warnings; iftrue
, the watchdog restarts the plugin if errors are detected -
<add key="PluginWatchdogSettings" value="off" />
disables the watchdog entirely