From: Siraaj Khandkar Date: Sun, 23 Aug 2015 17:00:08 +0000 (-0400) Subject: Expand consumer config description. X-Git-Tag: 0.1.0~2 X-Git-Url: https://git.xandkar.net/?p=beam_stats.git;a=commitdiff_plain;h=199b5f71d309d52487278496c1d2e078a7ce5ca6 Expand consumer config description. --- diff --git a/README.md b/README.md index aba81ed..593d6a6 100644 --- a/README.md +++ b/README.md @@ -22,7 +22,9 @@ Essentially like `folsomite`, but different. Different in the following ways: nearly-arbitrary term-to-string conversions used in `folsomite` + Spec'd, tested and Dialyzed -#### Configure consumers +### Adding consumers + +#### At app config time ```erlang {env, @@ -52,3 +54,13 @@ Essentially like `folsomite`, but different. Different in the following ways: ]} ]} ``` + +#### Dynamically + +```erlang +beam_stats_consumer:add(consumer_module, ConsumerOptions). +``` + +### Removing consumers + +Not yet implemented.