1.0.0 • Published 5 years ago

bedrock-stats-push-http v1.0.0

Weekly downloads
6
License
-
Repository
github
Last release
5 years ago

bedrock-stats-push-http

API Reference

Modules

Typedefs

bedrock-stats-push-http

bedrock-stats-push-http.addTarget(options) ⇒ Promise.<undefined>

Add an HTTP target that will receive stats reports.

Kind: static method of bedrock-stats-push-http
Returns: Promise.<undefined> - Resolves on completion.

ParamTypeDefaultDescription
optionsObjectThe options to use.
options.targetTargetThe target options.
options.sourceObjectThe source options. May contain arbitrary properties in addition to id.
options.source.idstringIdentifies the source to the target.
options.startDatenumberDate.now()The start date for the first report sent to the target in ms since epoch.

Target : Object

The target options.

Kind: global typedef
Properties

NameTypeDefaultDescription
endpointstringThe HTTP REST endpoint.
monitorIdsArray.<string>The stat monitors to report on.
storageApistringThe storage API to query.
strictSSLbooleantrueUse strictSSL when communicating with this target.