STEllAR-GROUP / JetLag

Repo for the integrated Phylanx Jupyter Notebook Solution
0 stars 3 forks source link

Adapt uploading data to new traveler API #7

Closed alex-r-bigelow closed 3 years ago

alex-r-bigelow commented 3 years ago

This:

  1. Fixes the streaming issues for the new traveler branch.

  2. Adds support for a TRAVELER_IP environment variable that can be used to point JetLag to a different traveler instance (e.g. outside the docker container for debugging, a different machine, etc)

You can test this directly with:

docker run --rm -it -p 8789:8789 -p 8000:8000 alexrbigelow/jetlag

Or to ignore the traveler instance running inside the docker container, and redirect elsewhere (in this case, the host machine):

export TRAVELER_IP=`hostname -I | xargs`
docker run --rm -it -p 8789:8789 -e TRAVELER_IP alexrbigelow/jetlag

Notes / TODOs before merging:

I think I now know what I'd need to do now to get this to work with the traveler's older main branch if we need that in the mean time; please let me know if that's a priority. Note that the older one still will bundle mildly large traces very slowly, and the interface will lock up / crash while something is still loading.