1.0.6 • Published 6 years ago

fh-metrics-client v1.0.6

Weekly downloads
1
License
Apache-2.0
Repository
github
Last release
6 years ago

fh-metrics-client

Install

npm install fh-metrics-client --save

Usage

Import the module, pass the configuration for metrics

var fhMetrics = require('fh-metrics')(metricsConfig)


fhMetrics.getAppMetrics(params,cb);

//params is an object:

{
  "metric":"apprequestdest",
  "from": timestamp,
  "to":timestamp,
  "app":<appguid>
}

fhMetrics.getDomainMetrics(params,cb);

//params is an object:

{
  "metric":"apprequestdest",
  "from": timestamp,
  "to":timestamp,
  "domain":<domain>
}

###Versioning

Bump version numbers in

  • npm-shrinkwrap.json
  • package.json
  • sonar-project.properties
1.0.6

6 years ago

1.0.5

6 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

8 years ago

1.0.1-pre1

8 years ago

1.0.0

9 years ago