summaryrefslogtreecommitdiff
path: root/src/mongo/db/pipeline/aggregate_request_shapifier.h
diff options
context:
space:
mode:
authorWill Buerger <will.buerger@mongodb.com>2023-05-17 11:49:47 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2023-05-17 12:58:52 +0000
commitae65ecae5514adc99d60b7396137a1acf2b44335 (patch)
tree24169f9a640321bfbbec649e869fe51b273b35e3 /src/mongo/db/pipeline/aggregate_request_shapifier.h
parent1b4a551a6b8c85611e26857217ce1a1e1363e716 (diff)
downloadmongo-ae65ecae5514adc99d60b7396137a1acf2b44335.tar.gz
SERVER-76427 Rename $telemetry to $queryStats
Diffstat (limited to 'src/mongo/db/pipeline/aggregate_request_shapifier.h')
-rw-r--r--src/mongo/db/pipeline/aggregate_request_shapifier.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/mongo/db/pipeline/aggregate_request_shapifier.h b/src/mongo/db/pipeline/aggregate_request_shapifier.h
index 3a0c41f8dd9..d78dae31be7 100644
--- a/src/mongo/db/pipeline/aggregate_request_shapifier.h
+++ b/src/mongo/db/pipeline/aggregate_request_shapifier.h
@@ -33,7 +33,7 @@
#include "mongo/db/pipeline/pipeline.h"
#include "mongo/db/query/request_shapifier.h"
-namespace mongo::telemetry {
+namespace mongo::query_stats {
/**
* Handles shapification for AggregateCommandRequests. Requires a pre-parsed pipeline in order to
@@ -50,13 +50,14 @@ public:
virtual ~AggregateRequestShapifier() = 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:
const AggregateCommandRequest& _request;
const Pipeline& _pipeline;
};
-} // namespace mongo::telemetry
+} // namespace mongo::query_stats