up9-node

1.0.4 • Public • Published

up9-node

Traffic monitoring kit for use with UP9

Installing

Using npm:

npm install up9-node

Using yarn:

yarn add up9-node

Usage

With Express:

var express = require("express");
var app = express();

var up9Monitor = require("up9-node")({
    "up9Server": "up9.app",
    "serviceName": "your-service-name",
    "clientId": "your-client-id",
    "clientSecret": "your-client-secret",
    "hostnameOverrides": {"https://your-external-dns-address": "your-service-name"}
});

app.use(up9Monitor.express());

A complete example app can be seen here

Readme

Keywords

none

Package Sidebar

Install

npm i up9-node

Homepage

up9.com

Weekly Downloads

0

Version

1.0.4

License

Apache-2.0

Unpacked Size

49.5 kB

Total Files

11

Last publish

Collaborators

  • testr