Skip to content

Latest commit

 

History

History
38 lines (26 loc) · 649 Bytes

README.md

File metadata and controls

38 lines (26 loc) · 649 Bytes

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