https://github.com/cdwv/influx-express
Influxdb nstrumentation for expressjs
https://github.com/cdwv/influx-express
Last synced: over 1 year ago
JSON representation
Influxdb nstrumentation for expressjs
- Host: GitHub
- URL: https://github.com/cdwv/influx-express
- Owner: cdwv
- License: mit
- Created: 2016-10-03T06:45:53.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2016-10-04T09:01:34.000Z (almost 10 years ago)
- Last Synced: 2025-01-23T08:44:31.369Z (over 1 year ago)
- Language: JavaScript
- Size: 17.6 KB
- Stars: 1
- Watchers: 5
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Usage
```
const express = require('express');
const InfluxReporter = require('influx-reporter');
InfluxReporter({
appName: 'my app name',
influx: {
host: "my.influx.host.domain",
port: 4444,
dbpath: "path.in.database"
}
}, express);
```
At the moment reporter uses only UDP.
# TODO
- Configurable report parameters;
- Creating flags;
- TCP support;
- Better instrumentation