← Back to team overview

graphite-dev team mailing list archive

Re: [Question #404315]: Could not send data using Synthesize with Vagrant

 

Question #404315 on Graphite changed:
https://answers.launchpad.net/graphite/+question/404315

    Status: Solved => Open

Agustina is still having a problem:
Sorry, I need another answer...

Is Vagrant configure to can send UDP messages?

I'm trying to user this graphite client for nodejs:
https://www.npmjs.com/package/graphite-udp and I don't see the metrics I
send.

Here is my code:

var graphite = require('graphite-udp')
var metric = graphite.createClient({
  prefix: '',
  interval: 5000,
  port: 22003,
  verbose: true,
  callback: function(error, metrics) {
    console.log('Metrics sent\n'+ metrics);
    console.log('Errors\n'+ error);
  }
})
 
metric.add('my.test.metric1', 10) // add 10 
metric.add('my.test.metric1', 20) // add 20 (previous 10 + 20 = 30) 

Any help would be much appreciated.

Thanks!

-- 
You received this question notification because your team graphite-dev
is an answer contact for Graphite.