Manage global reductions delta ourselves
authorSiraaj Khandkar <siraaj@khandkar.net>
Sun, 27 Sep 2015 21:07:30 +0000 (17:07 -0400)
committerSiraaj Khandkar <siraaj@khandkar.net>
Sun, 27 Sep 2015 21:07:30 +0000 (17:07 -0400)
commit11e1cb97537476ce805262952a5c615000a6cf78
tree3b93f255d0705473e96ec0b415d3767a750df92f
parentb2c364fd163d74df4914b6d4d5da42dec28368af
Manage global reductions delta ourselves

We can get between-calls-delta directly from erlang:statistics(reductions),
but then if some other process also calls it - we'll get incorrect data on
the next call.
Managing deltas ourselves here, will at least reduce the possible callers to
only those with knowledge of our table ID.
src/beam_stats.app.src
src/beam_stats.erl
src/beam_stats_delta.erl
test/beam_stats_consumer_statsd_SUITE.erl
This page took 0.02843 seconds and 4 git commands to generate.