Always show shard name on cluster's profiler page
On a cluster’s detail page, there is the Profiler tab. If you click on that, you are brought to the slow query profiler page. What’s not apparent from this view is that this page is not scoped to be cluster wide, but instead is scoped just to the primary mongo node. If you go back to the Overview tab, click on a specific shard on the left and then go to the profiler tab, you see how now, the title is shard specific and truly shows what you’re looking at? Please always display this shard name regardless of the breadcrumb to get there, e.g. if going from the cluster view, display the primary shard name.
I know this title thing seems small, but it caused me to open a support ticket because I didn’t see any of my slow queries show up as they were set to all run on secondary shards. I'm assuming this is probably true for other people.
![](https://secure.gravatar.com/avatar/e4d9c1a88e443ad4d14f28f306c4ba67?size=40&default=https%3A%2F%2Fassets.uvcdn.com%2Fpkg%2Fadmin%2Ficons%2Fuser_70-6bcf9e08938533adb9bac95c3e487cb2a6d4a32f890ca6fdc82e3072e0ea0368.png)