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;
3
3
var newdata_url = "https://api.v2.sondehub.org/amateur/telemetry" ;
4
4
var receivers_url = "https://api.v2.sondehub.org/amateur/listeners/telemetry" ;
5
5
var predictions_url = "https://api.v2.sondehub.org/amateur/predictions?vehicles=" ;
6
+ var grafana_url = "https://grafana.v2.sondehub.org/d/HJgOZLq7k/basic?" ;
6
7
7
8
var livedata = "wss://ws-reader.v2.sondehub.org/" ;
8
9
var clientID = "SondeHub-Tracker-" + Math . floor ( Math . random ( ) * 10000000000 ) ;
@@ -1460,6 +1461,8 @@ function updateVehicleInfo(vcallsign, newPosition) {
1460
1461
timeChosen = timeSent ;
1461
1462
}
1462
1463
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" ;
1463
1466
1464
1467
//desktop
1465
1468
var a = '<div class="header">' +
You can’t perform that action at this time.
0 commit comments