From: Siraaj Khandkar Date: Wed, 19 Aug 2015 15:24:46 +0000 (-0400) Subject: Standardize on defining consumption_interval first. X-Git-Tag: 0.0.0~14 X-Git-Url: https://git.xandkar.net/?a=commitdiff_plain;h=b2f78fc6fd026053e95fe2bf35278295f1f15609;p=beam_stats.git Standardize on defining consumption_interval first. --- diff --git a/src/beam_stats_consumer_csv.erl b/src/beam_stats_consumer_csv.erl index b50183e..bfa61cd 100644 --- a/src/beam_stats_consumer_csv.erl +++ b/src/beam_stats_consumer_csv.erl @@ -15,8 +15,8 @@ ]). -type option() :: - {path , file:filename()} - | {consumption_interval , non_neg_integer()} + {consumption_interval , non_neg_integer()} + | {path , file:filename()} . -record(state, diff --git a/src/beam_stats_consumer_graphite.erl b/src/beam_stats_consumer_graphite.erl index c2847f0..85c002d 100644 --- a/src/beam_stats_consumer_graphite.erl +++ b/src/beam_stats_consumer_graphite.erl @@ -22,8 +22,8 @@ . -type option() :: - {connect_options , [connect_option()]} - | {consumption_interval , non_neg_integer()} + {consumption_interval , non_neg_integer()} + | {connect_options , [connect_option()]} . -record(state,