grafana-toolbox / panodata-map-panel

Map Panel for Grafana with improved convenience, robustness and features. Friendly fork of the original Grafana Worldmap Panel. Currently not maintained, but verified to work up to Grafana 9.
https://community.panodata.org/t/grafana-map-panel/121
GNU Affero General Public License v3.0
88 stars 31 forks source link

Support live streaming #38

Open amotl opened 4 years ago

amotl commented 4 years ago

Hi there,

we are looking into the direction of streaming live data to the Grafana Map Panel, along the lines of [1].

With kind regards, Andreas.

[1] https://community.panodata.org/t/streaming-sensor-data-into-the-user-interface-for-live-real-time-data/60

amotl commented 4 years ago

Carlos Magalhaes just asked on https://community.grafana.com/t/world-map-live-for-grafana/24216 about live streaming support for Worldmap. We are happy that this resonates very well with our plans for this fork.

He told us that he used Kibana the other day with the https://github.com/nbs-system/mapster plugin. However, it is no longer supported due to version incompatibilities.

amotl commented 3 years ago

We recently found Leaflet Realtime by @perliedman, which could bring us closer to this shared goal.

By default, Leaflet Realtime reads and displays GeoJSON from a provided source. A "source" is usually a URL, and data can be fetched using AJAX (XHR), JSONP. This means Leaflet Realtime will poll for data, pulling it from the source. Alternatively, you can write your own source, to provide data in just about any way you want. Leaflet Realtime can also be made work with push data, for example data pushed from the server using socket.io or similar.

amotl commented 3 years ago

Philump (@pbegg) also asked about the same thing at [1] and [2].

[1] https://community.grafana.com/t/worldmap-panel-how-to-display-the-live-position-of-vehicles-in-a-fleet/29239 [2] https://community.grafana.com/t/fleet-tracking-live-position/30460