hobknob-toggle-logger-influx

2.0.0 • Public • Published

Hobknob Toggle Logger for InfluxDB

Build Status

Uses feature-hooks in hobknob to write toggle change events to influxdb.

Configuration

config.json

{
  "host": "127.0.0.1",
  "port": 8086,
  "database": "my_database",
  "username": "user",
  "password": "password",
  "tags": {
    "env": "test"            // optional tags for the measurement
  },
  "prefix": "foo.bar"        // optional prefix for measurement names
}

Hobknob Configuration

  "hooks": [
    "foo/some/other/hook.js",
    "node_modules/hobknob-toggle-logger-influx/index.js"
  ]

Readme

Keywords

none

Package Sidebar

Install

npm i hobknob-toggle-logger-influx

Weekly Downloads

1

Version

2.0.0

License

MIT

Last publish

Collaborators

  • andyroyle