boundary / folsom

Expose Erlang Events and Metrics
Apache License 2.0
586 stars 166 forks source link

Return result of safely_notify/1 from safely_histogram_timed_notify/1 #87

Closed puzza007 closed 9 years ago

puzza007 commented 9 years ago

This allows us to lazy create metrics based on {error, Name, nonexistent_metric}

1> application:ensure_all_started (folsom). {ok,[bear,folsom]} 2> Timer = folsom_metrics:histogram_timed_begin(foo_hist). {foo_hist,{1416,136479,976526}} 3> folsom_metrics:safely_histogram_timed_notify(Timer). {error,foo_hist,nonexistent_metric} 4>

puzza007 commented 9 years ago

Thanks Joe!

On Sun, 16 Nov 2014 5:23 pm Joe Williams notifications@github.com wrote:

Merged #87 https://github.com/boundary/folsom/pull/87.

— Reply to this email directly or view it on GitHub https://github.com/boundary/folsom/pull/87#event-193911195.