linkerd2/controller/api/destination
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
..
watcher Avoid the dashboard requesting stats when not needed (#3338) 2019-08-29 05:52:44 -05:00
client.go Have `linkerd endpoints` use `Destination.Get` (#2990) 2019-07-03 09:11:03 -05:00
endpoint_translator.go Add support for stateful sets (#3113) 2019-07-24 14:09:46 -07:00
endpoint_translator_test.go Add support for stateful sets (#3113) 2019-07-24 14:09:46 -07:00
fallback_profile_listener.go Update ServiceProfile CRD to version v1alpha2 and remove validation (#3078) 2019-07-23 11:46:31 -07:00
fallback_profile_listener_test.go Update ServiceProfile CRD to version v1alpha2 and remove validation (#3078) 2019-07-23 11:46:31 -07:00
profile_translator.go Update ServiceProfile CRD to version v1alpha2 and remove validation (#3078) 2019-07-23 11:46:31 -07:00
profile_translator_test.go Update ServiceProfile CRD to version v1alpha2 and remove validation (#3078) 2019-07-23 11:46:31 -07:00
server.go Allow custom cluster domains in remaining backends (#3278) 2019-08-27 10:01:36 -07:00
server_test.go Fix invalid `l5d-require-id` for some tap requests (#3210) 2019-08-08 09:42:11 -07:00
traffic_split_adaptor.go Allow custom cluster domains in remaining backends (#3278) 2019-08-27 10:01:36 -07:00
traffic_split_adaptor_test.go Allow custom cluster domains in remaining backends (#3278) 2019-08-27 10:01:36 -07:00