Changes_left metrics/alerts

Is there a way to enable or gather “changes_left” metric? We want to start tracking (graphing) this, to see if there are any trends. We also want to create an alert (Sensu) if the changes_left value gets too high. Does anyone have any ideas how to do this?

Thank you
Devon

If there is another way to track changes between two CB clusters, please let me know.

Another way I’m trying to get the data is using the REST API, but its coming back as “Not Found”. Not sure what I’m doing wrong.

curl http://localhost:8091/pools/default/buckets/east_bucket_name/stats/replications/UUID/east_bucket_name/west_bucket_name/changes_left