[SERVER-72971] Track usage of system variables in aggregations Created: 17/Jan/23  Updated: 14/Sep/23  Resolved: 26/Apr/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Major - P3
Reporter: Varun Ravichandran Assignee: Backlog - Query Integration
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
duplicates SERVER-73324 Literal and field name redaction for ... Closed
Assigned Teams:
Query Integration
Participants:

 Description   

The server allows both system variables and user-defined variables to be utilized in aggregations, as enumerated [here|https://www.mongodb.com/docs/manual/reference/aggregation-variables/]. 

It would be useful to track usage metrics of these variables as well as part of this project.



 Comments   
Comment by Charlie Swanson [ 26/Apr/23 ]

This was done and tested in https://github.com/mongodb/mongo/commit/9355b6a325e2606e41198caa07ded85e68a5b353#diff-4d4454dd446302e9f574c485f428081d42848a6f78236506612d11ae543e1fc0R248

Generated at Thu Feb 08 06:23:17 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.