Skip to content
This repository was archived by the owner on Dec 9, 2019. It is now read-only.

Plugin Health Monitoring

Stephen McCafferty edited this page May 12, 2017 · 4 revisions

SpecLog's plugins are monitored by a watchdog to ensure proper operation (e.g. work item tracking and source control integration).

Configuration

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: If false, the watchdog only logs errors and warnings; if true, the watchdog restarts the plugin if errors are detected
  • <add key="PluginWatchdogSettings" value="off" /> disables the watchdog entirely

Clone this wiki locally