remove duplicate code from sync gateway reporter
remove duplicate code from sync gateway reporter

Change-Id: I44d6c7142cfb0a16185b2bce749d3e1d4b93002e
Reviewed-on: http://review.couchbase.org/30966
Reviewed-by: Pavel Paulau <dd88eded64e90046a680e3a6c0828ceb8fe8a0e7@gmail.com>
Tested-by: buildbot <80754af91bfb6d1073585b046fe0a474ce868509@couchbase.com>

couchbase/cbmonitor,couchbase/cbmonitor