This would be really nice. In the mean time, you can use this image https://hub.docker.com/r/mikelorant/jaeger-hotrod/ it accepts AGENT_HOST and AGENT_PORT environment variables.
@pavelnikolov would you like to submit a PR to add a hotrod image to the travis step that builds the other images?
I was about to submit a PR for that, but then I noticed the hotrod code needed some changes as @jkandasa has pointed out above. I didn't have time to do it and @mikelorant created the image I liked above (repo here). Although it works, it's a little hacky workaround and needs to be done properly.
I'll try to submit a PR soon and fix the hotrod code. Then creating a proper image would be a trivial task.
I assume you mean this issue in the client: https://github.com/jaegertracing/jaeger-client-go/issues/197
No, it's different issue. I think that the hotrod app (from memory) is hardcoded to send tracing only to localhost. This is the reason Mike has forwarded traffic from port 6831/udp to external host and port in his Docker image, suing socat:
socat UDP4-RECVFROM:6831,fork UDP4-SENDTO:${AGENT_HOST}:${AGENT_PORT} &
The fix is to allow hotrod to be configurable and to send data to custom host and port.
@pavelnikolov #663 added a flag to configure agent address
This will save me some time. I'll try to create Docker file using it and will send a PR.
Partially implemented in https://github.com/jaegertracing/jaeger/pull/694
Most helpful comment
Partially implemented in https://github.com/jaegertracing/jaeger/pull/694