BuckyServer
BuckyServer copied to clipboard
Compatibility with Hosted Graphite
Great project! I'd like to get this working with HostedGraphite.com
Looks like i need to prefix the metrics with my API Key. Where in the code would you recommend doing this?
Just in case you have not solved this issue or somebody else stumbles upon this. Here is a guide from hosted graphite: Hosted Graphite - statsd Integration
Basically you want to add this to the config file thats getting passed to statsd when running node stats.js path/to/config.js
You may want to add a console backend to statsd config for local development and testing so you're able to see what statsd is doing.
See my statsd config:
{
port: 8125,
flushInterval: 10000,
graphitePort: 2003,
graphiteHost: "carbon.hostedgraphite.com",
graphite: {
legacyNamespace: false,
globalPrefix: "your-api-key-goes-here"
},
backends: ["./backends/graphite", "./backends/console"]
}