▲ | gerwim 2 days ago | |||||||
Looks great! Reading through the docs it seems the subtrace process sends all data to your server. I'm reluctant to do that on a production environment, where API keys and personal data are being handled. Is there any way to run it completely self hosted? If not, are there plans? And how will you monitize self hosted options (if it's possible)? | ||||||||
▲ | ddelnano 2 days ago | parent | next [-] | |||||||
Disclaimer: I'm a maintainer of the project Pixie [1] is a similar project and offers the self hosted model you are looking for. We also support 11 application protocols [2] with TLS handshake tracing and MQTT support coming soon (encrypted traffic tracing has been supported for a long time). [1] https://px.dev | ||||||||
| ||||||||
▲ | adtac 2 days ago | parent | prev [-] | |||||||
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! | ||||||||
|