Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions docs/root/operations/admin.rst
Original file line number Diff line number Diff line change
Expand Up @@ -174,3 +174,21 @@ The fields are:
.. http:get:: /runtime?format=json

Outputs /runtime in JSON format. This can be used for programmatic access of runtime values.

.. http:get:: /hystrix_event_stream

Start streaming :ref:`event stream<https://developer.mozilla.org/en-US/docs/Web/API/Server-sent_events/Using_server-sent_events>` to hystrix dashboard.

The dashboard should set the stream source to this admin endpoint.

Note on usage of Hystrix dashboard to visualize Envoy statistics:
Detalied description on Hystrix and its dashboard can be found :ref:\here<https://github.com/Netflix-Skunkworks/hystrix-dashboard>`. Not all the data presented in the Hystrix dashboard is relevant in Envoy.

* Success, Failure, Timeout, Error rate, Number of host, are shown in the dashboard.
* Hystrix's "Short circuit" is similar to Envoy's outlier detection, in that it is triggered by error responses. In Envoy the result of high error rate is the host being ejected from the load balancer pool, but it does not cause rejected requests, and therefore we set "Short circuited" to '0', and circuit breaker is set to "Forced Closed".
* "Bad request" does not exist in Envoy, and therefore is set to '0'.
* Requests rejected as a result of exceeding max number of connections or queue size (in Envoy, referred as "short circuited") are presented as "Rejected", which better suits Hystrix's terminology.
* Latency information is currently not availbale.
* Window size is set to 10sec, with 10 buckets of 1sec each. Currently, the value is not configurable.