fix: Minor collab adjusts

This commit is contained in:
Tom Moor
2021-10-13 22:01:30 -07:00
parent 18572cf9de
commit b9346fe6ea
4 changed files with 8 additions and 4 deletions

View File

@ -50,7 +50,8 @@ export default class Tracing {
Metrics.gaugePerInstance(
"collaboration.documents_count",
instance.getDocumentsCount()
// -1 adjustment because hook is called before document is removed
instance.getDocumentsCount() - 1
);
}