Currently the Monitoring extension generates statistics and logs them using the provided loggin facilities. It would be better to have a dedicated producer of statistics that regularly sends statistics to the message bus.
Different types of consumers can then hook into the bus and transport statistics either to console, log or a websocket connection.