Skip to content

Commit

Permalink
Metrics regrouping
Browse files Browse the repository at this point in the history
  • Loading branch information
blinkov committed May 24, 2012
1 parent 718515a commit 14eb2a3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/estatsd_server.erl
Expand Up @@ -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"
],
Expand Down

0 comments on commit 14eb2a3

Please sign in to comment.