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/cursor_manager.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/mongo/db/cursor_manager.cpp') diff --git a/src/mongo/db/cursor_manager.cpp b/src/mongo/db/cursor_manager.cpp index ac9c41accfd..34f7d7bdce0 100644 --- a/src/mongo/db/cursor_manager.cpp +++ b/src/mongo/db/cursor_manager.cpp @@ -214,10 +214,10 @@ StatusWith CursorManager::pinCursor( CurOp::get(opCtx)->debug().queryHash = cursor->_queryHash; CurOp::get(opCtx)->debug().planCacheKey = cursor->_planCacheKey; - // Pass along telemetry context so it is retrievable after query execution for storing metrics. - CurOp::get(opCtx)->debug().telemetryStoreKeyHash = cursor->_telemetryStoreKeyHash; - // TODO: SERVER-73152 remove telemetryStoreKey when RequestShapifier is used for agg. - CurOp::get(opCtx)->debug().telemetryStoreKey = cursor->_telemetryStoreKey; + // Pass along queryStats context so it is retrievable after query execution for storing metrics. + CurOp::get(opCtx)->debug().queryStatsStoreKeyHash = cursor->_queryStatsStoreKeyHash; + // TODO: SERVER-73152 remove queryStatsStoreKey when RequestShapifier is used for agg. + CurOp::get(opCtx)->debug().queryStatsStoreKey = cursor->_queryStatsStoreKey; cursor->_operationUsingCursor = opCtx; -- cgit v1.2.1