Skip to content

Latest commit

 

History

History
47 lines (37 loc) · 1.23 KB

README.md

File metadata and controls

47 lines (37 loc) · 1.23 KB

Folsomite

Hex pm

Folsom is an Erlang based metrics system inspired by Coda Hale's metrics (https://github.com/codahale/metrics/).

Graphite is a realtime graphing system.

Folsomite runs in your Erlang virtual machine, periodically aggregates all present Folsom metrics and forwards them to Graphite.

Building and running

Any version of erlang suitable to run Folsom should be supported. Use rebar to build like:

    rebar3 compile

Example config

    {application, my_app,
     [{description, "my_app"},
      {vsn, git},
      {registered, []},
      {applications, [kernel,
                      stdlib,
                      folsomite]},
      {mod, []},
      {env,
       [{folsom, [{counter, [{my_app, my_counter}, {my_app, my_counter2}]},
                  {gauge, [my_gauge]},
                  {histogram, [{my_app, my_histo}, slide_uniform, {60, 1028}]}
                 ]}
        {folsomite,
         [{graphite_host, "graphite.example.com"},
          {node_key, "billing-prod-us-east-1"}
         ]}
       ]}
     ]}.