2.0.0 • Published 3 years ago

bedrock-stats v2.0.0

Weekly downloads
12
License
-
Repository
github
Last release
3 years ago

bedrock-stats

Available Storage APIs

API Reference

bedrock-stats

bedrock-stats.getMonitorIds(options) ⇒ Promise.<Array.<string>>

Get all known monitor IDs.

Kind: static method of bedrock-stats
Returns: Promise.<Array.<string>> - The monitor IDs.
Throws:

  • BedrockError Will throw a NotFoundError on an unknown storage API.
ParamTypeDescription
optionsObjectThe options to use.
options.storageApistringThe storage API to use.

bedrock-stats.getReports(options) ⇒ Promise.<Object>

Get a stats reports matching the query.

Kind: static method of bedrock-stats
Returns: Promise.<Object> - The stats report.
Throws:

  • BedrockError Will throw a NotFoundError on an unknown storage API.
ParamTypeDescription
optionsObjectThe options to use.
options.queryObjectThe query passed to the storage API.
options.storageApistringThe storage API to use.
2.0.0

3 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

5 years ago