bedrock-stats-push-http
Bedrock stats push HTTP
Last updated 2 years ago by mattcollier .
Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install bedrock-stats-push-http 
SYNC missed versions from official npm registry.

bedrock-stats-push-http

API Reference

Modules

bedrock-stats-push-http

Typedefs

Target : Object

The target options.

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.

Param Type Default Description
options Object The options to use.
options.target Target The target options.
options.source Object The source options. May contain arbitrary properties in addition to id.
options.source.id string Identifies the source to the target.
[options.startDate] number Date.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

Name Type Default Description
endpoint string The HTTP REST endpoint.
monitorIds Array.<string> The stat monitors to report on.
storageApi string The storage API to query.
[strictSSL] boolean true Use strictSSL when communicating with this target.

Current Tags

  • 1.0.0                                ...           latest (2 years ago)

1 Versions

  • 1.0.0                                ...           2 years ago
Downloads
Today 0
This Week 0
This Month 1
Last Day 0
Last Week 1
Last Month 0
Dependencies (3)
Dev Dependencies (5)
Dependents (0)
None

Copyright 2014 - 2021 © npmmirror.com |