summaryrefslogtreecommitdiff
path: root/src/mongo/db/ftdc/util.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/ftdc/util.h')
-rw-r--r--src/mongo/db/ftdc/util.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mongo/db/ftdc/util.h b/src/mongo/db/ftdc/util.h
index 4816c534f96..04d453139ce 100644
--- a/src/mongo/db/ftdc/util.h
+++ b/src/mongo/db/ftdc/util.h
@@ -168,6 +168,11 @@ StatusWith<BSONObj> getBSONDocumentFromMetadataDoc(const BSONObj& obj);
*/
StatusWith<std::vector<BSONObj>> getMetricsFromMetricDoc(const BSONObj& obj,
FTDCDecompressor* decompressor);
+
+/**
+ * Is this a type that FTDC find's interesting? I.e. is this a numeric or container type?
+ */
+bool isFTDCType(BSONType type);
} // namespace FTDCBSONUtil