We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 083e383 commit 2331f31Copy full SHA for 2331f31
src/internal-plugins/metrics/lib/rules.js
@@ -71,7 +71,7 @@ module.exports = [
71
store: 'CollectionStats.Store',
72
resource: 'Collection Stats',
73
action: 'fetched',
74
- condition: () => true,
+ condition: (state) => (state !== undefined),
75
metadata: (state) => ({
76
'document count': state.documentCount,
77
'total document size kb': state.totalDocumentSize,
0 commit comments