summaryrefslogtreecommitdiff
path: root/src/mongo/db/ftdc/util.h
diff options
context:
space:
mode:
authorMark Benvenuto <mark.benvenuto@mongodb.com>2018-08-23 15:16:56 -0400
committerMark Benvenuto <mark.benvenuto@mongodb.com>2018-08-23 15:16:56 -0400
commit078d6b49548d90880556af6f55e3baf8b4709917 (patch)
treea727de5a0ab3fb20efc6758712354b79a7b0986c /src/mongo/db/ftdc/util.h
parent4695b6b675a4c8dd217635afb8f8e907da5fd7be (diff)
downloadmongo-078d6b49548d90880556af6f55e3baf8b4709917.tar.gz
SERVER-34864 FTDC should ignore irrelevant schema changes
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