code | type | title | description |
---|---|---|---|
true |
page |
stats |
Gets detailed storage statistics |
Gets detailed storage usage statistics.
stats([options]);
Arguments | Type | Description |
---|---|---|
options |
object |
Query 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 |
Returns detailed storage usage statistics: overall index/collection sizes and the number of documents per collection.
<<< ./snippets/stats.js