consul/ui-v2/app/templates/dc/services
John Cowen 2838f7a2e9
ui: Reduce discovery-chain log errors (#8065)
* ui: Reduce discovery-chain log spam

Currently the only way that the UI can know whether connect is enabled
or not is whether we get 500 errors from certain endpoints.

One of these endpoints we already use, so aswell as recovering from a
500 error, we also remember that connect is disabled for the rest of the
page 'session' (so until the page is refreshed), and make no further
http requests to the endpoint for that specific datacenter.

This means that log spam is reduced to only 1 log per page refresh/dc
instead of 1 log per service navigation.

Longer term we'll need some way to dynamically discover whether connect
is enabled per datacenter without relying on something that will add
error logs to consul.
2020-06-10 16:07:06 +01:00
..
instance ui: Reorder items in the Proxy Info tab (#8061) 2020-06-09 11:36:04 -04:00
show ui: Customize link for an Upstream in a different namespace as the ingress gateway (#8006) 2020-06-03 16:46:56 +00:00
-notifications.hbs ui: Adds blocking query support to the service detail page (#5479) 2019-05-01 18:22:22 +00:00
index.hbs ui: Reorder the tabs for Ingress/Terminating Gateway Service Detail page (#8060) 2020-06-09 11:02:13 -04:00
instance.hbs ui: ConsulKind explanatory tooltip panels (#8048) 2020-06-09 11:10:14 +01:00
show.hbs ui: Reduce discovery-chain log errors (#8065) 2020-06-10 16:07:06 +01:00