Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add XDCR Remote Cluster Stats #38

Open
marzlarz opened this issue Oct 30, 2019 · 2 comments
Open

Add XDCR Remote Cluster Stats #38

marzlarz opened this issue Oct 30, 2019 · 2 comments
Labels
enhancement New feature or request

Comments

@marzlarz
Copy link

Based on the Couchbase REST API documentation, you can retrieve some metrics regarding the health of your remote data center replication:

https://docs.couchbase.com/server/6.0/rest-api/rest-xdcr-statistics.html

The most important of these being:

wtavg_docs_latency
wtavg_meta_latency

This will allow you to track the replication time between clusters. If this could be added to couchbase-exporter that would be awesome

@amalucelli amalucelli added the enhancement New feature or request label Oct 30, 2019
@metonymic-smokey
Copy link
Contributor

metonymic-smokey commented Jun 28, 2020

@amalucelli if the XDCR metrics are to be added, we will add to collector/bucket.go and also to the following location, right(after the existing XDCR metrics)?

EpDcpXdcrItemsRemaining []float64 `json:"ep_dcp_xdcr_items_remaining"`

Just wanted to see if I could try to add this feature.
Thanks!

@amalucelli
Copy link
Contributor

@metonymic-smokey feel free to fork and propose a PR if you want, you can also run your own version with your changes if you want, this isn’t something that we will tackle now, sorry.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants