Skip to content

up9inc/up9-node

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

In-code tapping for node

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published