Commit graph

27 commits

Author SHA1 Message Date
Justin Li
0361056cbf Make flattening work for MemStats 2014-07-24 20:28:07 -04:00
Justin Li
47c7faf837 Reorder stats output 2014-07-24 20:28:07 -04:00
Justin Li
ab43e6bd97 Add crazy struct flattening code 2014-07-24 20:28:07 -04:00
Justin Li
b08195aeef Rename RequestsBlocked to ClientErrors and remove special cases from tracker code 2014-07-24 18:01:26 -04:00
Justin Li
1a79bdeb6b Add RequestsBlocked stat counter 2014-07-24 17:48:03 -04:00
Justin Li
4252cd7eeb Rename mem_stats field to mem 2014-07-23 17:58:44 -04:00
Justin Li
88d68a99a2 Clean up stats configuration 2014-07-23 17:25:01 -04:00
Justin Li
cf619aa50f Add memory statistics 2014-07-23 17:08:06 -04:00
Justin Li
d47cf7d4bc Move stats buffer size to the regular config 2014-07-23 16:14:50 -04:00
Jimmy Zelinskie
bd1fa3eb24 cli flag for default stats chan size 2014-07-23 03:59:23 -04:00
Justin Li
4295ad739c Reorder peer stats to provide a more readable output 2014-07-23 02:25:35 -04:00
Justin Li
7400792cc4 Use a single goroutine for stats aggregation 2014-07-22 23:49:00 -04:00
Justin Li
ce2e335562 Remove IPv4/IPv6 stats specializations and replace with RecordPeerEvent 2014-07-22 23:41:20 -04:00
Justin Li
de69eaeafe Add current peer stats 2014-07-22 23:29:30 -04:00
Justin Li
727370fedc Set default percentile window to 256 samples 2014-07-22 23:13:59 -04:00
Justin Li
b6f0fc79cb Add log normal distributions to the percentile calculation tests 2014-07-22 23:00:12 -04:00
Justin Li
60fd62cc82 Add comments for the percentile type 2014-07-22 15:02:47 -04:00
Justin Li
7fce8c9ad4 Add response time stats 2014-07-22 14:57:36 -04:00
Justin Li
0a4c290ecb Safer and faster atomicity 2014-07-22 12:47:17 -04:00
Justin Li
ff77a29b0a Thread safe, but unsafe 2014-07-22 12:42:56 -04:00
Justin Li
a162f38281 Fast percentile implementation 2014-07-22 12:26:31 -04:00
Justin Li
2f4d0b0f9a Add base Percentile interface and tests 2014-07-22 02:41:39 -04:00
Justin Li
6fdb68d9b2 Implement OpenConnections and ConnectionsAccepted stats 2014-07-22 01:38:07 -04:00
Jimmy Zelinskie
858258f884 start json renamed 2014-07-22 01:17:08 -04:00
Jimmy Zelinskie
fa191de6d3 serve stats via /check 2014-07-22 01:12:41 -04:00
Justin Li
e17c984ec8 Fix semantics of seed stats, fix Peer.IPv6() always returning true 2014-07-22 01:06:30 -04:00
Jimmy Zelinskie
477f292371 global stats 2014-07-21 19:08:08 -04:00