fix(performance): Drop query tokens for metrics (#39457)
- This fixes a bug where if there was a query in the URL we'd keep it
even if the selected dataset was metrics, which meant that the query
would likely fail because of the limited tags in the metrics dataset