diff --git a/services/document-updater/app/js/DocumentManager.js b/services/document-updater/app/js/DocumentManager.js index 9975877d05..5c0798fdfd 100644 --- a/services/document-updater/app/js/DocumentManager.js +++ b/services/document-updater/app/js/DocumentManager.js @@ -296,6 +296,9 @@ module.exports = DocumentManager = { callback(null) } else { logger.debug({ projectId, docId, version }, 'flushing doc') + Metrics.inc('flush-doc-if-loaded', { + status: unflushedTime != null ? 'modified' : 'unmodified', + }) PersistenceManager.setDoc( projectId, docId,