0.2.4 • Published 10 years ago

lw-metrics v0.2.4

Weekly downloads
21
License
ISC
Repository
bitbucket
Last release
10 years ago

This is the README.md for "metrics-svc".

Use var Metrics = require("lw-metrics"); var express = require("express");

var metrics = new Metrics(, , );

var app = express();

app.use(metrics.RequestLogger());

the logger is the instanciated lw-logger object

the metrics-svc is the url that can be used to send an http call to for logging requests to the db.

the morgan-string is spec-ed by the morgan npm express middleware ("https://www.npmjs.com/package/morgan") But for this module each property should be seperated by a " | ": ":dateiso | :method"

To log the ResponseTime use the ResponseTime function as middleware before the RequestStore function

0.2.4

10 years ago

0.1.19

10 years ago

0.1.18

10 years ago

0.1.17

10 years ago

0.1.16

10 years ago

0.1.15

10 years ago

0.1.14

10 years ago

0.1.13

10 years ago

0.1.12

10 years ago

0.1.11

10 years ago

0.1.10

10 years ago

0.1.9

10 years ago

0.1.8

10 years ago

0.1.7

10 years ago

0.1.6

10 years ago

0.1.5

10 years ago

0.1.4

10 years ago

0.1.3

10 years ago

0.1.2

10 years ago

0.1.1

10 years ago

0.1.0

10 years ago