Profiler window should auto zoom to sampling period and show sampling period range
Atlas documentation states that the Query Profiler shows up to 10,000 queries within the past 24 hours: https://docs.atlas.mongodb.com/tutorial/profile-database/index.html#data-display-limitations
However, it is confusing to see that the Profiler cannot show more than a couple hours of data, likely because it is hitting the 10,000 entry limit.
The plot still shows a view showing 24 hours of time, but only the past couple hours have data plotted, misleadingly indicating that there are no slow queries before a couple hours ago – here's an example: https://p-37FYgJ.b1.n0.cdn.getcloudapp.com/items/JruWZDYK/Image%202020-03-25%20at%2010.49.32%20AM.png?v=7f79362e62c8d15a9f91f8ba4d5aecaf
Atlas should make the sampling time window clear in the Query Profiler graph so that we do not automatically assume it is always sampling over the past 24 hours, and also auto-zoom to that window in the display.
As a bonus it should give an indicator in the UI if the Profiler cannot plot a full 24 hours of data explaining that it has reached the max number of data points that the Profiler can safely plot.
Thanks Marie. Aware of this issue - we are looking into ways of making this clearer to our users.