| 1 | {application, beam_stats, |
| 2 | [ |
| 3 | {description, "Periodic VM stats production and consumption."}, |
| 4 | {vsn, "0.0.0"}, |
| 5 | {registered, []}, |
| 6 | {applications, |
| 7 | [ kernel |
| 8 | , stdlib |
| 9 | , hope |
| 10 | ]}, |
| 11 | |
| 12 | {mod, { beam_stats_app, []}}, |
| 13 | |
| 14 | {env, |
| 15 | [ {production_interval , 30000} |
| 16 | , {consumers, |
| 17 | [ {beam_stats_consumer_graphite, |
| 18 | [ {consumption_interval , 60000} |
| 19 | , {connect_options, |
| 20 | [ {host , "localhost"} |
| 21 | , {port , 2003} |
| 22 | , {timeout , 5000} |
| 23 | ]} |
| 24 | ]} |
| 25 | , {beam_stats_consumer_csv, |
| 26 | [ {consumption_interval , 60000} |
| 27 | , {path , "beam_stats.csv"} |
| 28 | ]} |
| 29 | , {beam_stats_consumer_statsd, |
| 30 | [ {consumption_interval , 60000} |
| 31 | , {dst_host , "localhost"} |
| 32 | , {dst_port , 8125} |
| 33 | , {src_port , 8124} |
| 34 | ]} |
| 35 | ]} |
| 36 | ]} |
| 37 | |
| 38 | ]}. |