From ae65ecae5514adc99d60b7396137a1acf2b44335 Mon Sep 17 00:00:00 2001 From: Will Buerger Date: Wed, 17 May 2023 11:49:47 +0000 Subject: SERVER-76427 Rename $telemetry to $queryStats --- src/mongo/db/clientcursor.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'src/mongo/db/clientcursor.h') diff --git a/src/mongo/db/clientcursor.h b/src/mongo/db/clientcursor.h index 9e7d35ade9a..8ae75473496 100644 --- a/src/mongo/db/clientcursor.h +++ b/src/mongo/db/clientcursor.h @@ -448,15 +448,15 @@ private: boost::optional _queryHash; // If boost::none, telemetry should not be collected for this cursor. - boost::optional _telemetryStoreKeyHash; + boost::optional _queryStatsStoreKeyHash; // TODO: SERVER-73152 remove telemetryStoreKey when RequestShapifier is used for agg. - boost::optional _telemetryStoreKey; + boost::optional _queryStatsStoreKey; // Metrics that are accumulated over the lifetime of the cursor, incremented with each getMore. - // Useful for diagnostics like telemetry. + // Useful for diagnostics like queryStats. OpDebug::AdditiveMetrics _metrics; // The RequestShapifier used by telemetry to shapify the request payload into the telemetry // store key. - std::unique_ptr _telemetryRequestShapifier; + std::unique_ptr _queryStatsRequestShapifier; // Flag to decide if diagnostic information should be omitted. bool _shouldOmitDiagnosticInformation{false}; @@ -598,7 +598,7 @@ void startClientCursorMonitor(); * Currently, telemetry is only collected for find and aggregate requests (and their subsequent * getMore requests), so these should only be called from those request paths. */ -void collectTelemetryMongod(OperationContext* opCtx, ClientCursorPin& cursor); -void collectTelemetryMongod(OperationContext* opCtx, - std::unique_ptr requestShapifier); +void collectQueryStatsMongod(OperationContext* opCtx, ClientCursorPin& cursor); +void collectQueryStatsMongod(OperationContext* opCtx, + std::unique_ptr requestShapifier); } // namespace mongo -- cgit v1.2.1