[SERVER-75912] Telemetry on view queries should store the query shape without view resolution Created: 10/Apr/23 Updated: 14/Sep/23 Resolved: 22/May/23 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Will Buerger | Assignee: | Backlog - Query Integration |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | read-only-views | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||||||||||||||||||||||
| Assigned Teams: |
Query Integration
|
||||||||||||||||||||||||||||||||||||||||
| Participants: | |||||||||||||||||||||||||||||||||||||||||
| Description |
|
In the case we're running a query against a view, telemetry should be collected with a telemetry key that reflects the unresolved view query shape, not with the resolved pipeline on the underlying collection. We should add tests to make sure that's happening properly in each of the mongod and mongos find and agg cases. |
| Comments |
| Comment by Charlie Swanson [ 22/May/23 ] |
|
Spoke with jess.balint@mongodb.com and we will solve this in |
| Comment by Charlie Swanson [ 26/Apr/23 ] |
|
jbalint@gmail.com was this done/tested as part of |