From: Siraaj Khandkar Date: Thu, 24 Sep 2015 00:54:05 +0000 (-0400) Subject: fix: list append when cons was intended. X-Git-Tag: 0.10.0^2~4 X-Git-Url: https://git.xandkar.net/?a=commitdiff_plain;h=8dd2cb56d2a0baabacfbab3795e8c7bffb5c06b5;p=beam_stats.git fix: list append when cons was intended. --- diff --git a/src/beam_stats_msg_graphite.erl b/src/beam_stats_msg_graphite.erl index 62028b1..6883ff1 100644 --- a/src/beam_stats_msg_graphite.erl +++ b/src/beam_stats_msg_graphite.erl @@ -185,10 +185,10 @@ of_process( OriginAndPid = [OriginBin, PidBin], Ts = Timestamp, N = NodeID, - [ cons([N, <<"process_memory">> , OriginAndPid], Memory , Ts) - , cons([N, <<"process_total_heap_size">> , OriginAndPid], TotalHeapSize , Ts) - , cons([N, <<"process_stack_size">> , OriginAndPid], StackSize , Ts) - , cons([N, <<"process_message_queue_len">> , OriginAndPid], MsgQueueLen , Ts) + [ cons([N, <<"process_memory">> | OriginAndPid], Memory , Ts) + , cons([N, <<"process_total_heap_size">> | OriginAndPid], TotalHeapSize , Ts) + , cons([N, <<"process_stack_size">> | OriginAndPid], StackSize , Ts) + , cons([N, <<"process_message_queue_len">> | OriginAndPid], MsgQueueLen , Ts) ]. -spec proc_origin_to_bin(beam_stats_process:best_known_origin()) ->