Commit graph

40 commits

Author SHA1 Message Date
Justin Li
87c68f1973 2015 2015-01-01 12:02:25 -05:00
Justin Li
7b7e7fce6b Use signed ints for current counts 2014-09-25 15:25:02 -04:00
Cooper Lees
17a6fefc3b Go routine stat 2014-09-25 11:47:50 -07:00
Paul Saab
47613d4bbd Track the total size of the of the torrents map 2014-09-24 16:24:14 -07:00
Justin Li
d610b4ebb0 Address easy golint comments 2014-08-01 16:16:38 -04:00
Justin Li
b628b934ac Only keep one IP in the Peer type 2014-08-01 12:37:35 -04:00
Justin Li
dfeda26c16 Extract percentile implementation 2014-08-01 11:52:45 -04:00
Justin Li
dda56c4357 Add missing copyright headers 2014-08-01 11:52:45 -04:00
Jimmy Zelinskie
e52e4d5f1d Introduce PeerKey
PeerKeys are used to prevent overwriting of peers which want to announce
for both IPv4 and IPv6.
2014-08-01 11:21:57 -04:00
Justin Li
38209e2301 Update references to FlatMap
[ci skip]
2014-07-25 00:47:29 -04:00
Justin Li
b4757e5aa8 Extract flatjson package 2014-07-24 20:41:12 -04:00
Justin Li
d3bb52f204 Correct reference to flattenPointer 2014-07-24 20:30:59 -04:00
Justin Li
8685028771 Formatting 2014-07-24 20:30:11 -04:00
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