Skip to content

Latest commit

 

History

History
42 lines (28 loc) · 1.3 KB

File metadata and controls

42 lines (28 loc) · 1.3 KB
code type title description
true
page
stats
Gets detailed storage statistics

stats

Gets detailed storage usage statistics.


stats([options]);

Arguments Type Description
options
object
Query options

options

Additional query options

Property Type
(default)
Description
queuable
boolean

(true)
If true, queues the request during downtime, until connected to Kuzzle again
timeout
number

Time (in ms) during which a request will still be waited to be resolved. Set it -1 if you want to wait indefinitely

Resolves

Returns detailed storage usage statistics: overall index/collection sizes and the number of documents per collection.

Usage

<<< ./snippets/stats.js