-
Type:
Improvement
-
Resolution: Unresolved
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
Query Integration
-
None
-
None
-
None
-
None
-
None
-
None
-
None
The Customer Observability team has been incorrectly computing and displaying the p50/p90/p99 execution time for a given query shape using the the lastExecMicros metric. These incorrect metrics are being removed from the Query Shape Insights feature as we cannot correctly and reliably calculate them on the control plane, but we should surface these metrics again once they're correct as they're extremely helpful in diagnosing issues.
To make p50/p90/p99 execution time reliable, the $queryStats command would have to emit a histogram of execution time for each query shape. This histogram can be accurately surfaced in the Atlas UI.