File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ var position_id = 0;
33var newdata_url = "https://api.v2.sondehub.org/amateur/telemetry" ;
44var receivers_url = "https://api.v2.sondehub.org/amateur/listeners/telemetry" ;
55var predictions_url = "https://api.v2.sondehub.org/amateur/predictions?vehicles=" ;
6+ var grafana_url = "https://grafana.v2.sondehub.org/d/HJgOZLq7k/basic?" ;
67
78var livedata = "wss://ws-reader.v2.sondehub.org/" ;
89var clientID = "SondeHub-Tracker-" + Math . floor ( Math . random ( ) * 10000000000 ) ;
@@ -1460,6 +1461,8 @@ function updateVehicleInfo(vcallsign, newPosition) {
14601461 timeChosen = timeSent ;
14611462 }
14621463
1464+ // Generate Grafana Link
1465+ var grafana_dashboard_url = grafana_url + "var-Payload=" + vcallsign + "&from=" + vehicle . positions_ts [ 0 ] + "&to=" + vehicle . positions_ts [ vehicle . positions_ts . length - 1 ] + "&orgId=1" ;
14631466
14641467 //desktop
14651468 var a = '<div class="header">' +
You can’t perform that action at this time.
0 commit comments