[erlang-questions] abstracting folsom, estatsd, exometer & co

Motiejus Jakštys desired.mta@REDACTED
Fri May 9 15:18:22 CEST 2014


2014.05.09 14:00, Ulf Wiger rašė:
> exometer is already an abstraction layer on top of e.g. folsom,
> allowing you to use folsom metrics, native exometer metrics, or plug
> in your own.
> 
> I’d be happy to hear what specific functionality you need that cannot
> currently be provided via exometer.

By instrumenting using Exometer, this library would:
1. Assume the application is using Exometer.
2. Pull in 10 dependencies (look at Exometer's rebar.config!) for the
application.

I understand Exometer is superior over all these in the subject line,
but I don't want to force users (and us) to use it (or change to it)
just because. I want to provide easy hooks to log in their way, most
likely estatsd directly (our current projects) or Exometer (our new
projects).

It's now standard to log to lager these days, but in libraries that do
one thing well I still prefer error_logger. For the same reason of choice.

Motiejus



More information about the erlang-questions mailing list