snowflake/proxy/lib
WofWca f3e040bbd8
improvement: less scary failed conn logs & metrics
...and adjust the `totalFailedConnections` metric name
and description.

This commit should make the periodic stats log messages
and the relevant metric look less scary to users:
P2P connection failures are relatively frequent and are usually
not indicative of the proxy operator having done something wrong.
So let's tone the wording down.

See the discussion: https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/snowflake/-/merge_requests/516#note_3173677.
2025-03-15 11:15:22 -04:00
..
metrics.go improvement: less scary failed conn logs & metrics 2025-03-15 11:15:22 -04:00
proxy-go_test.go improvement: use SetIPFilter for local addrs 2024-11-28 10:56:40 -05:00
pt_event_logger.go fix: periodicProxyStats.connectionCount race 2025-03-12 00:47:22 +04:00
pt_event_metrics.go feat(proxy): add failed connection count stats 2025-03-11 13:12:44 +00:00
snowflake.go fix: potential race conditions with non-local err 2025-03-12 00:47:07 +04:00
tokens.go fix: data race warnings of tokens_t 2025-03-12 09:53:40 -04:00
tokens_test.go Comment package and minor changes exports 2021-10-26 15:49:46 -04:00
util.go Zero bytesSyncLogger stats after reading them 2023-10-30 12:42:45 -04:00
webrtcconn.go fix(proxy): race condition warning for isClosing 2025-03-11 15:50:53 -04:00