CompiledScript.StartNetworkTimeWatcher Method

Definition

Measures load time of network elements during the execution of a certain range of steps within a monitoring script, grouped by type (set a mask, like *.png, *.js, etc.). Alerts if the time threshold is exceeded.

See also Network Watcher

public void StartNetworkTimeWatcher((string name, WatcherType wt, TimeSpan threshold, string urlMask, NetworkWatcherType type)

Parameters

 name  string

 wt  WatcherType

 threshold  TimeSpan

 urlMask  string

 type  NetworkWatcherType

Examples

StartNetworkTimeWatcher ("NetworkTimeWatcher_1", WatcherType.Alert, "10sec".ToDuration (), "*", NetworkWatcherType.Each);