We have ported several dashboards from graphite to prometheus, including Aggregate Client Status Code. While the graphite version loads quickly and feels snappy, the prometheus one is quite slow.
While inspecting the situation using chrome developer tools, I've noticed that certain query_range requests to the prometheus API have a TTFB between 7 and 11 seconds.
See for example this query.
My initial thought was to write some aggregation rules to speed things up, but the dashboard is already using job_method_status:varnish_requests:rate5m.