thanks to @mcesaro in https://github.com/xandkar/beam_stats/pull/27
{application, beam_stats,
[
{description, "Periodic VM stats production and consumption."},
{application, beam_stats,
[
{description, "Periodic VM stats production and consumption."},
{registered, []},
{applications,
[ kernel
{registered, []},
{applications,
[ kernel
ValueBin = integer_to_binary(Value),
TimestampInt = timestamp_to_integer(Timestamp),
TimestampBin = integer_to_binary(TimestampInt),
ValueBin = integer_to_binary(Value),
TimestampInt = timestamp_to_integer(Timestamp),
TimestampBin = integer_to_binary(TimestampInt),
- [PathIOList, <<" ">>, ValueBin, <<" ">>, TimestampBin].
+ [PathIOList, <<" ">>, ValueBin, <<" ">>, TimestampBin, <<"\n">>].
-spec path_to_iolist([binary()]) ->
iolist().
-spec path_to_iolist([binary()]) ->
iolist().