Monitor XDCR Traffic Amount


Hi together,
I would like to monitor the traffic amount produced by Couchbase XDCR feature.

In our case, every 30 minutes we update the entire database (if entries actually change). We do have multiple remote installations and use the XDCR feature to sync these databases from one main cluster to remote data centers.

As we do have to pay for traffic, I am interested in the total amount of traffic (per second/per minute/per hour/per day) the replication per remote installation will need.

Ideally I would like to embed this kind of stats to some scripts which will send the data to collectd/graphite.

Is there any idea how to do this?



you can use the XDCR stats in the admin console;
data replication rate on the outbound stats, give you the bytes replicated per sec.