seedlinux

find open source torrents and stats for people wishing to contribute bandwidth.
git clone git://git.beardyjay.co.uk/seedlinux
Log | Files | Refs | README | LICENSE

commit 4c8e86316ed0815585bac72b2a01929c11c17951
parent b1ac8e3c697e67d1e73dc1d375ae831e19afe2a9
Author: Jay Scott <jay@jayscott.co.uk>
Date:   Thu,  6 Jul 2017 22:07:20 +0100

Install Trace collector agent

Diffstat:
Mapp.js | 4+++-
Mpackage.json | 1+
2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/app.js b/app.js @@ -1,6 +1,8 @@ 'use strict'; - +if(process.env.NODE_ENV === 'production') { + require('@risingstack/trace'); +} const express = require('express'); const path = require('path'); diff --git a/package.json b/package.json @@ -9,6 +9,7 @@ "start": "DEBUG=seedlinux:* node ./bin/www" }, "dependencies": { + "@risingstack/trace": "^3.14.0", "async": "^2.5.0", "body-parser": "^1.17.2", "compression": "^1.6.2",