ZAP API UI

Component: stats

Views

allSitesStats (keyPrefix ) Gets all of the site based statistics, optionally filtered by a key prefix
optionInMemoryEnabledReturns 'true' if in memory statistics are enabled, otherwise returns 'false'
optionStatsdEnabledReturns 'true' if a Statsd server has been correctly configured, otherwise returns 'false'
optionStatsdHostGets the Statsd service hostname
optionStatsdPortGets the Statsd service port
optionStatsdPrefixGets the prefix to be applied to all stats sent to the configured Statsd service
siteStats (site* keyPrefix ) Gets all of the global statistics, optionally filtered by a key prefix
stats (keyPrefix ) Statistics

Actions

clearStats (keyPrefix ) Clears all of the statistics
setOptionInMemoryEnabled (Boolean* ) Sets whether in memory statistics are enabled
setOptionStatsdHost (String* ) Sets the Statsd service hostname, supply an empty string to stop using a Statsd service
setOptionStatsdPort (Integer* ) Sets the Statsd service port
setOptionStatsdPrefix (String* ) Sets the prefix to be applied to all stats sent to the configured Statsd service