1.5.2 • Published 7 years ago

newrelic-host-applications v1.5.2

Weekly downloads
1
License
ISC
Repository
github
Last release
7 years ago

NewRelicHostApps

This is a simple library to handle host applications from NewRelic.

Installing the dependencies:

  npm install

Start the development mode, this will build NewRelicHostApps.js in the dist/umd directory:

  npm run build:dev

If you want to do TDD run:

  npm run test:coverwatch

Usage:

UMD implementation:

  const instance = new NewRelicHostAppsBundle(data);

constructor : (array: <applications>) => void optional

The initial data to be handled by NewRelicHostApps

MAX_MOST_SATISFING : number

A maximum number to return the most satisfying applications

apps : array

The list of the sorted applications ordered by Apdex

hostsList : array

The sorted hosts by Apdex

getTopAppsByHost : (string: <host>, number: <limit>) => array

Retrieves a list of the 25 most satisfying applications.

addAppToHosts : (object: <app>) => array

Adds an update the list of applications with higher Apdex

removeAppFromHosts : (string: <id>) => array

Removes an update the list of applications with higher Apdex

1.5.2

7 years ago

1.5.1

7 years ago

1.5.0

7 years ago

1.4.1

7 years ago

1.4.0

7 years ago

1.3.0

7 years ago

1.2.1

7 years ago

1.2.0

7 years ago

1.1.1

7 years ago

1.1.0

7 years ago