summaryrefslogtreecommitdiff
path: root/src/mongo/db/query/find_request_shapifier.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/query/find_request_shapifier.h')
-rw-r--r--src/mongo/db/query/find_request_shapifier.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/mongo/db/query/find_request_shapifier.h b/src/mongo/db/query/find_request_shapifier.h
index b03f84eb1ab..79f8223052a 100644
--- a/src/mongo/db/query/find_request_shapifier.h
+++ b/src/mongo/db/query/find_request_shapifier.h
@@ -32,7 +32,7 @@
#include "mongo/db/query/find_command_gen.h"
#include "mongo/db/query/request_shapifier.h"
-namespace mongo::telemetry {
+namespace mongo::query_stats {
/**
* Handles shapification for FindCommandRequests.
@@ -49,12 +49,13 @@ public:
virtual ~FindRequestShapifier() = default;
- BSONObj makeTelemetryKey(const SerializationOptions& opts, OperationContext* opCtx) const final;
+ BSONObj makeQueryStatsKey(const SerializationOptions& opts,
+ OperationContext* opCtx) const final;
- BSONObj makeTelemetryKey(const SerializationOptions& opts,
- const boost::intrusive_ptr<ExpressionContext>& expCtx) const final;
+ BSONObj makeQueryStatsKey(const SerializationOptions& opts,
+ const boost::intrusive_ptr<ExpressionContext>& expCtx) const final;
private:
FindCommandRequest _request;
};
-} // namespace mongo::telemetry
+} // namespace mongo::query_stats