[tor-commits] [snowflake/master] Remove geoip metrics from /debug

cohosh at torproject.org cohosh at torproject.org
Wed May 15 15:08:14 UTC 2019


commit 72e54bdc2e277e7189cffffc9481bd57dfd1401d
Author: Cecylia Bocovich <cohosh at torproject.org>
Date:   Thu May 9 18:13:48 2019 -0400

    Remove geoip metrics from /debug
    
    For now we can just log the proxy geoip statistics locally
---
 broker/broker.go | 1 -
 1 file changed, 1 deletion(-)

diff --git a/broker/broker.go b/broker/broker.go
index faa6f4a..4db1511 100644
--- a/broker/broker.go
+++ b/broker/broker.go
@@ -237,7 +237,6 @@ func debugHandler(ctx *BrokerContext, w http.ResponseWriter, r *http.Request) {
 		s += fmt.Sprintf("\nsnowflake %d: %s", snowflake.index, snowflake.id)
 	}
 	s += fmt.Sprintf("\n\nroundtrip avg: %d", ctx.metrics.clientRoundtripEstimate)
-	s += fmt.Sprintf("\n\nsnowflake country stats: %s", ctx.metrics.countryStats.Display())
 	w.Write([]byte(s))
 }
 





More information about the tor-commits mailing list