ApiGen_stats

Simon Bennetts edited this page Dec 4, 2017 · 4 revisions

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

Clone this wiki locally
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.