The code itself looks good, but:
- when the engine crashes, the engine connection icon is not shown at all and the Elasticsearch icon still indicates that it is connected. Expected: both should be red as the status is coming from the engine and we do not know if Elasticsearch is still up. -> Sebastian and I talked about it and decided that this case is very unlikely to ever occur. So we decided to omit that issue for now
- also the ticket description could contain some acceptance tests to know what is the expected behavior. -> Sebastian promised to adjust that the next time
sebastian.stamm: You can now start with the ticket. The endpoint is documented here: https://github.com/camunda/camunda-optimize/wiki/WebSockets-API-documentation