Skip to content

Commit 4efb069

Browse files
MB-47422: Phonehome: capture stat for SyncWrites
Change-Id: I980e61d641fbc52791c6fc47e0d5c7c24694f385 Reviewed-on: https://review.couchbase.org/c/ns_server/+/176019 Well-Formed: Build Bot <[email protected]> Well-Formed: Restriction Checker Tested-by: Pavel Blagodov <[email protected]> Reviewed-by: Pavel Blagodov <[email protected]>
1 parent 26d2f30 commit 4efb069

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

priv/public/ui/app/mn_admin/mn_settings_notifications_service.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,8 @@ angular.module('mnSettingsNotificationsService', [
234234
"total_avg_view_accesses",
235235
"total_avg_index_num_rows_returned",
236236
"vb_active_sync_write_committed_count",
237-
"total_curr_items_tot"
237+
"total_curr_items_tot",
238+
"kv_vb_sync_write_accepted_count"
238239
]).map(function (stat, index) {
239240
let day = dayStats[index].data[0];
240241
let hour = hourStats[index].data[0];
@@ -393,6 +394,10 @@ angular.module('mnSettingsNotificationsService', [
393394
}, {
394395
applyFunctions: ["sum"],
395396
metric: [{label: "name", value: "kv_curr_items_tot"}]//kv_curr_items_tot
397+
}, {
398+
applyFunctions: ["sum"],
399+
metric: [{label: "name", value: "kv_vb_sync_write_accepted_count"},
400+
{label: "state", value: "active"}]//kv_vb_sync_write_accepted_count
396401
}];
397402
let dayStatsConfigs = interestingStats.map(metric => {
398403
return Object.assign({}, avgCommonSettingsDay, metric);

0 commit comments

Comments
 (0)