Permalink
Browse files

Merge pull request #58 from heroku/update-l2met-format

stop using obsolete l2met format
  • Loading branch information...
2 parents 1f51ba0 + 42a3b09 commit 89ad578257dcd50505fc622d844bfe925d0e601d @ferd ferd committed Sep 19, 2013
Showing with 4 additions and 2 deletions.
  1. +4 −2 src/logplex_realtime.erl
View
@@ -140,11 +140,13 @@ assemble_stat_log_msg(InstanceName, Time, Key, Val) ->
Time,
"app",
"logplex",
- "measure=logplex.~s.~s source=~s val=~B branch=~s az=~s",
+ "measure.logplex.~s.~s=~B source=~s branch=~s az=~s",
[logplex_app:config(metrics_namespace, "dev"), % Prefix metric name
atom_to_binary(Key, utf8),
+ Val,
InstanceName,
- Val, git_branch(), availability_zone()]).
+ git_branch(),
+ availability_zone()]).
availability_zone() ->
case logplex_app:config(availability_zone) of

0 comments on commit 89ad578

Please sign in to comment.