Streaming
Version
Streaming is supported by the Apache ECharts visualization panel starting from version 4.1.0.
Streaming allows real-time data updates using streaming Data Sources and Grafana Live.
Grafana Live
Grafana Live is a real-time messaging engine introduced in Grafana v8.0. With Grafana Live, you can push event data to a frontend as soon as an event occurs.

Example
docs/volkovlabs-echarts-panel/live.js
loading...
WebSocket API
To stream real-time data, we used the WebSocket Data Source for Grafana.

Server
Example of Node.js WebSocket Server implementation.
websocket/server.js
loading...
Provisioning
WebSocket API Data Source can be provisioned using configuration files or in the Grafana UI.
docs/volkovlabs-echarts-panel/websocket.yml
loading...
Example
docs/volkovlabs-echarts-panel/streaming.js
loading...