getlantern / browsersunbounded

Interoperable browser-based P2P proxies for censorship circumvention
GNU General Public License v3.0
11 stars 0 forks source link

Add basic tracing #109

Closed myleshorton closed 1 year ago

myleshorton commented 1 year ago

We can add lots more events, attributes, etc, but this will at least tell us basic info.

noahlevenson commented 1 year ago

I deployed this branch. Seeing this in the GCP logs, not sure if it's meaningful:

2023/02/24 21:14:48 traces export: Post "https://api.honeycomb.io/v1/traces": x509: certificate signed by unknown authority

noahlevenson commented 1 year ago

I've been firing up ~500 WebSocket connections to the egress server and churning them to try to make some data appear in Honeycomb. Not sure what to expect given the sample rate.

if I'm assuming a dataset called egress-server should appear?

noahlevenson commented 1 year ago

While churning WebSocket connections, I was able to get the egress server to leak 1 connection. Probably just a coincidence and evidence of a bug in main, but I'm gonna spend a minute trying to repro it under different circumstances just to be confident.

myleshorton commented 1 year ago

You could increase the sample rate too