I noticed while experimenting with a metrics cardinality view dashboard that some panels fail to render https://grafana-rw.wikimedia.org/d/b0b89a23-8f37-4bfe-962a-f329a654e987/prometheus-metrics-cardinality-management?orgId=1&var-datasource=drmrs%20prometheus%2Fops&var-metric=ALERTS&var-job=All&from=now-5m&to=now
These are queries for overall for counts of metrics, etc. For example fetching a count of all metrics via {__name__!=""} on ops eqiad or matching istio.* with {__name__=~"istio.*"} on k8s eqiad. These fail to execute when run against the prometheus instance directly via prometheus web with error:
Error executing query: Unexpected token '<', " <!DOCTYPE "... is not valid JSON
Can also confirm that these queries do complete on smaller instances like ops drmrs.