Skip to content
Browse files

Metrics regrouping

  • Loading branch information...
1 parent 718515a commit 14eb2a3436bada39499919ebaf9435b74a899c00 @blinkov blinkov committed May 24, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/estatsd_server.erl
View
4 src/estatsd_server.erl
@@ -161,11 +161,11 @@ do_report_counters(All, TsStr, State) ->
KeyS = key2str(Key),
Val = Val0 / (State#state.flush_interval/1000),
%% Build stats string for graphite
- Fragment = [ "stats.", KeyS, " ",
+ Fragment = [ "stats.counters.", KeyS, " ",
io_lib:format("~w", [Val]), " ",
TsStr, "\n",
- "counts.", KeyS, " ",
+ "stats.counters.counts.", KeyS, " ",
io_lib:format("~w",[NumVals]), " ",
TsStr, "\n"
],

0 comments on commit 14eb2a3

Please sign in to comment.
Something went wrong with that request. Please try again.