home
/
code
/
beam_stats.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a37cd03
)
refactor: re-use graphite_msg cons/3
author
Siraaj Khandkar
<siraaj@khandkar.net>
Wed, 23 Sep 2015 13:54:52 +0000
(09:54 -0400)
committer
Siraaj Khandkar
<siraaj@khandkar.net>
Thu, 24 Sep 2015 01:50:31 +0000
(21:50 -0400)
src/beam_stats_msg_graphite.erl
patch
|
blob
|
blame
|
history
diff --git
a/src/beam_stats_msg_graphite.erl
b/src/beam_stats_msg_graphite.erl
index
8c13d60
..
b423e63
100644
(file)
--- a/
src/beam_stats_msg_graphite.erl
+++ b/
src/beam_stats_msg_graphite.erl
@@
-56,11
+56,7
@@
of_memory(Memory, <<NodeID/binary>>, Timestamp) ->
ComponentToMessage =
fun ({Key, Value}) ->
KeyBin = atom_to_binary(Key, latin1),
- ?T
- { path = [NodeID, <<"memory">>, KeyBin]
- , value = Value
- , timestamp = Timestamp
- }
+ cons([NodeID, <<"memory">>, KeyBin], Value, Timestamp)
end,
lists:map(ComponentToMessage, Memory).
This page took
0.0273949999999999 seconds
and
4
git commands to generate.