Created
March 27, 2017 09:09
-
-
Save david-martin/487176633bf176afd6c6ded2a60f2219 to your computer and use it in GitHub Desktop.
Enable Sync metrics to influxdb
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fh.events.on('sync:ready', function(){ | |
var syncConfig = { | |
metricsInfluxdbHost: process.env.METRICS_HOST, | |
metricsInfluxdbPort: parseInt(process.env.METRICS_PORT) | |
}; | |
fh.sync.setConfig(syncConfig); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment