Domanda

I used a java client(available in statsd examples) to fire my test app stats. First I experienced this error:

[22/Jan/2013 06:14:38] code 400, message Bad request version ('1358856879')
[22/Jan/2013 06:14:38] "stats.statsd.bad_lines_seen 0 1358856879" 400 -

Then I wrote a small Java program to confirm whether my application was able to connect to the StatsD server properly. Yes, the packets were also served correctly.

Then I turned debug=true for statsd. This is the console output:

22 Jan 21:32:33 - debug: Counters:
{ 'statsd.bad_lines_seen': 0,
  'statsd.packets_received': 0,
  stat1: 0,
  stat2: 0,
  stat3: 0 }
Timers:
{}
Gauges:
{}

This is the code I wrote:

graph.increment("stat1");
graph.increment("stat1", 10);
graph.increment("stat1", 10, .1);
graph.increment(10, .1, "stat3", "stat2", "stat2");

Please help...

È stato utile?

Soluzione

It was an issue with StatsD. They have closed the issue.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top