[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



commit 72e54bdc2e277e7189cffffc9481bd57dfd1401d
Author: Cecylia Bocovich <cohosh@xxxxxxxxxxxxxx>
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))
 }
 



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits