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

Ulf Wiger ulf@REDACTED
Fri May 9 15:34:26 CEST 2014


On 09 May 2014, at 15:18, Motiejus Jakštys <desired.mta@REDACTED> wrote:

> 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.

Yes, well, it would be nice if rebar could introduce some good support for conditional dependencies.

For example, you don’t need:
- afunix, if you don’t plan to use the collectd reporter
- bear and folsom, if you don’t want to use folsom
- exo, if you don’t use the graphite reporter
- netlink, if you don’t plan to use the experimental netlink probe

edown and meck are only used for docs and testing.

That’s of course the problem with trying to make a generic abstraction layer that’s still complete enough and broad enough to attract a community: you eventually have to tie yourself to some libraries (like lager), and simply accept that it will not be the preferred flavor for everyone.

BR,
Ulf W

Ulf Wiger, Co-founder & Developer Advocate, Feuerlabs Inc.
http://feuerlabs.com






More information about the erlang-questions mailing list