Skip to content

Latest commit

 

History

History
22 lines (19 loc) · 1.42 KB

ApiGen_stats.md

File metadata and controls

22 lines (19 loc) · 1.42 KB

ZAP 2.7.0 API

Component: stats

Name Type Parameters Description
stats view keyPrefix Statistics
allSitesStats view keyPrefix Gets all of the site based statistics, optionally filtered by a key prefix
siteStats view site* keyPrefix Gets all of the global statistics, optionally filtered by a key prefix
optionStatsdHost view Gets the Statsd service hostname
optionStatsdPort view Gets the Statsd service port
optionStatsdPrefix view Gets the prefix to be applied to all stats sent to the configured Statsd service
optionInMemoryEnabled view Returns 'true' if in memory statistics are enabled, otherwise returns 'false'
optionStatsdEnabled view Returns 'true' if a Statsd server has been correctly configured, otherwise returns 'false'
clearStats action keyPrefix Clears all of the statistics
setOptionStatsdHost action String* Sets the Statsd service hostname, supply an empty string to stop using a Statsd service
setOptionStatsdPrefix action String* Sets the prefix to be applied to all stats sent to the configured Statsd service
setOptionInMemoryEnabled action Boolean* Sets whether in memory statistics are enabled
setOptionStatsdPort action Integer* Sets the Statsd service port

Starred parameters are mandatory

Back to index