Skip to content
This repository has been archived by the owner on Oct 9, 2019. It is now read-only.

Commit

Permalink
Send metrics in JSON format. Fixes #6
Browse files Browse the repository at this point in the history
  • Loading branch information
aw committed Sep 2, 2015
1 parent 940e419 commit dd75a13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion statsd-amqp-backend/index.js
Expand Up @@ -156,7 +156,7 @@ var flush_stats = function (ts, metrics) {

payload.push({
metric: 'json_payload',
result: JSON.stringify(data)
result: JSON.stringify(metrics)
});
post_stats(payload, function () {
return ch.close();
Expand Down

0 comments on commit dd75a13

Please sign in to comment.