Traffic monitoring kit for use with UP9
Using npm:
npm install up9-node
Using yarn:
yarn add up9-node
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