Fixing this was not straightforward because we essentially had to support distributed application. Fortunately, the architecture of the agent was already gear toward this goal. Still, I had to overhaul the backend and receptor component to better support sessions. Sessions ensure that the instrumenter in the jest transformer and the rest of the agent are sending their messages to the same trace in the backend.
fixes https://github.com/getappmap/appmap-agent-js/issues/181
Fixing this was not straightforward because we essentially had to support distributed application. Fortunately, the architecture of the agent was already gear toward this goal. Still, I had to overhaul the
backend
andreceptor
component to better support sessions. Sessions ensure that the instrumenter in the jest transformer and the rest of the agent are sending their messages to the same trace in the backend.