koa-trace-influxdb
Tracing for koa-trace using influxdb-udp.
Usage
var app = ;app; var traceInflux = ;app; app
This will create a time series called trace.start
.
Thus, it tracks each event as a separate series.
You probably want to track the elapsed time.
app;
You may want to build your own helper for this.
Options
host
port
prefix
- prefix to add to all the series, defaulting totrace.
. If you don't want any prefixes, set it as''
.
Limitations
- The trace arguments must only be a single object, if anything at all.
- UDP is used underneath, so you may lose events. There is no error reporting for logging these.