snowflake/proxy/lib
WofWca 583178f4f2
feat(proxy): add failed connection count stats
For the summary log and for Prometheus metrics.

Log output example:

> In the last 1h0m0s, there were 7 completed successful connections. 2 connections failed. Traffic Relayed ↓ 321 KB (0.10 KB/s), ↑ 123 KB (0.05 KB/s).
2025-03-11 13:12:44 +00:00
..
metrics.go feat(proxy): add failed connection count stats 2025-03-11 13:12:44 +00:00
proxy-go_test.go improvement: use SetIPFilter for local addrs 2024-11-28 10:56:40 -05:00
pt_event_logger.go feat(proxy): add failed connection count stats 2025-03-11 13:12:44 +00:00
pt_event_metrics.go feat(proxy): add failed connection count stats 2025-03-11 13:12:44 +00:00
snowflake.go feat(proxy): add failed connection count stats 2025-03-11 13:12:44 +00:00
tokens.go Comment package and minor changes exports 2021-10-26 15:49:46 -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 proxy: webRTCconn gives the remote IP instead of the Address 2025-02-13 12:44:17 +01:00