linkerd2/web/app
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
..
__mocks__ Use jest instead of karma for running tests (#1768) 2018-10-15 17:06:35 -07:00
css Update web server to use tap APIService (#3208) 2019-08-08 10:18:32 -07:00
img Add grafana icon to links, refactor svgs, link to ResourceDetail component (#1482) 2018-08-17 15:12:33 -07:00
integration Adding local and cloud integration testing for dashboard (#2586) 2019-03-29 15:48:00 -07:00
js Avoid the dashboard requesting stats when not needed (#3338) 2019-08-29 05:52:44 -05:00
test Removing TLS columns from tables in dashboard (#2611) 2019-04-02 16:54:39 -07:00
.babelrc Fixing bin/web test (#2621) 2019-04-02 17:02:15 -07:00
.eslintrc 2817 enable shorthands for lodash (#2818) 2019-05-30 17:30:58 +02:00
index_bundle.js.lodash.tmpl Hash JS bundle to expire cache (#2058) 2019-01-16 12:59:30 -08:00
package.json Update web server to use tap APIService (#3208) 2019-08-08 10:18:32 -07:00
webpack-mv-plugin.js Hash JS bundle to expire cache (#2058) 2019-01-16 12:59:30 -08:00
webpack.config.js Upgrade packages and fix package security vulnerability (#2903) 2019-06-10 16:45:51 -07:00
yarn.lock Update web server to use tap APIService (#3208) 2019-08-08 10:18:32 -07:00