#23169: Explain why metrics are important and what we do to make sure they're safe -----------------------------+-------------------------- Reporter: arma | Owner: irl Type: defect | Status: accepted Priority: Medium | Milestone: Component: Metrics/Website | Version: Severity: Normal | Resolution: Keywords: metrics-2017 | Actual Points: Parent ID: | Points: Reviewer: | Sponsor: -----------------------------+--------------------------
Comment (by karsten): Replying to [comment:8 irl]: > For the relay/bridge count, I'm just taking the last line of servers.csv. For the users count, this is more complex as it's necessary to search backwards through the file until you get a line where it's the one that matches. I guess really I should do this for servers.csv too, to make sure that it's getting the right line. Agreed on the last part. Relying on the last line to contain the correct number seems too fragile. Maybe we'll also want to use the number from 2 or 3 days ago, or whatever the graph shows as last data point. > Is there already Java code for parsing the CSVs? No. We're not using CSVs as input anywhere other than in R scripts. An important part when writing this code is making sure it doesn't run too often. Like, a few times per day at most. And ideally the first run would happen when the server starts, not when the first request comes in. Thanks! -- Ticket URL: <https://trac.torproject.org/projects/tor/ticket/23169#comment:9> Tor Bug Tracker & Wiki <https://trac.torproject.org/> The Tor Project: anonymity online
_______________________________________________ tor-bugs mailing list tor-bugs@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs