Skip to content

Commit

Permalink
MB-50152 Add 'xdcr_docs_failed_cr_target' to XDCR stats
Browse files Browse the repository at this point in the history
Change-Id: I4c9acad8757857395661350ff9d50b87a9ae839e
Reviewed-on: https://review.couchbase.org/c/ns_server/+/169809
Tested-by: Matthew Dawber <matthew.dawber@couchbase.com>
Reviewed-by: Pavel Blagodov <stochmail@gmail.com>
Well-Formed: Build Bot <build@couchbase.com>
  • Loading branch information
Matthew Dawber committed Feb 3, 2022
1 parent 94c6eb8 commit 0d8c276
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
10 changes: 10 additions & 0 deletions priv/public/ui/app/mn_admin/mn_statistics_description.js
Expand Up @@ -373,6 +373,7 @@ function getStatAdditionalConfig(statName) {
case "@fts-.fts_num_bytes_used_disk":
case "@fts-.fts_num_files_on_disk":
case "@xdcr-.@items.xdcr_docs_failed_cr_source_total":
case "@xdcr-.@items.xdcr_docs_failed_cr_target_total":
case "@xdcr-.@items.xdcr_docs_written_total":
case "@xdcr-.@items.xdcr_changes_left_total":
case "@xdcr-.@items.xdcr_wtavg_docs_latency_seconds":
Expand Down Expand Up @@ -811,6 +812,15 @@ function get70CompatDesc() {
}
}
},
"@xdcr-": {
"@items": {
"xdcr_docs_failed_cr_target_total": {
unit: "number",
title: "XDCR Mutations Skipped (target)",
desc: "Number of mutations that failed conflict resolution on the target side. Per-replication. (measured from per-replication stat docs_failed_cr_target)"
}
}
},
"@eventing": {
"eventing_processed_count": {
unit: "number",
Expand Down
1 change: 1 addition & 0 deletions priv/public/ui/app/mn_admin/mn_statistics_service.js
Expand Up @@ -908,6 +908,7 @@ function mnStatisticsNewServiceFactory($http, mnServersService, mnPoller, $rootS
specificStat: false
}, {
stats: {"@xdcr-.@items.docs_failed_cr_source": true,
"@xdcr-.@items.xdcr_docs_failed_cr_target_total": true,
"@xdcr-.@items.docs_filtered": true},
size: "small",
specificStat: false
Expand Down

0 comments on commit 0d8c276

Please sign in to comment.