linkerd2/web
Alejandro Pedraza 5d7499dc84
Avoid the dashboard requesting stats when not needed (#3338)
* Avoid the dashboard requesting stats when not needed

Create an alternative to `urlsForResource` called
`urlsForResourceNoStats` that makes use of the `skip_stats` parameter in
the stats API (created in #1871) that doesn't query Prometheus when not needed.

When testing using the dashboard looking at the linkerd namespace,
queries per second went down from 2874 to 2756, a 4% decrease.

Signed-off-by: Alejandro Pedraza <alejandro@buoyant.io>
2019-08-29 05:52:44 -05:00
..
app Avoid the dashboard requesting stats when not needed (#3338) 2019-08-29 05:52:44 -05:00
srv Remove redundant `HTTPError` cast check in web server (#3222) 2019-08-09 11:06:50 -07:00
templates Remove single namespace functionality (#2474) 2019-03-12 00:17:22 -07:00
Dockerfile Require go 1.12.9 for controller builds (#3297) 2019-08-21 10:03:29 -07:00
main.go Update web server to use tap APIService (#3208) 2019-08-08 10:18:32 -07:00