Re:Show HN: Subtrace – Wireshark for Docker Containers
by adtac on Thursday February 20, 2025 @01:24PM
(#43118227)
re self-hosting: yep! Use the -devtools flag to get a stripped down version of Subtrace running entirely locally:
This starts a Python server on localhost:8000 but with Subtrace. Everything except /subtrace is forwarded to the Python server like usual, but if you go to http://localhost:8000/subtrace you should see the Chrome DevTools network tab running in the browser like a regular app. Any request you send to localhost:8000 + all outgoing requests made from inside the Python app will automatically appear in that dashboard!
[ Parent
| on HN ]
Re:Show HN: Subtrace – Wireshark for Docker Containers
by gerwim on Friday February 21, 2025 @08:13AM
(#43127034)
That would work for a single instance, but when running multiple (e.g., you are horizontally scaled) it would not be ideal.
Is it possible to mimic "subtrace.dev"? There's the 'SUBTRACE_ENDPOINT' environment variable which can be used to set the target endpoint, but is the server side open source too? And does the license permission for self hosting the full stack?