aboutsummaryrefslogtreecommitdiff
path: root/bandwidth-file-spec.txt
diff options
context:
space:
mode:
authorjuga0 <juga@riseup.net>2018-05-26 20:09:36 +0000
committerjuga0 <juga@riseup.net>2018-05-26 20:21:40 +0000
commit161b66f49abeabad6e2c9d008ce51d54f904094e (patch)
treed224c8dda3e972cc7a07e9fc1d5c23dc07c3eb21 /bandwidth-file-spec.txt
parent9465f9c0713b2185643a976ef14e0959d3885e80 (diff)
downloadtorspec-161b66f49abeabad6e2c9d008ce51d54f904094e.tar.gz
torspec-161b66f49abeabad6e2c9d008ce51d54f904094e.zip
Add bw lines KeyValues counting failures
also, update sbws examples
Diffstat (limited to 'bandwidth-file-spec.txt')
-rw-r--r--bandwidth-file-spec.txt25
1 files changed, 23 insertions, 2 deletions
diff --git a/bandwidth-file-spec.txt b/bandwidth-file-spec.txt
index 0755329..6768d41 100644
--- a/bandwidth-file-spec.txt
+++ b/bandwidth-file-spec.txt
@@ -325,6 +325,27 @@ Every RelayLine in sbws version 0.1.0 consists of:
The date and time timestamp in ISO 8601 format and UTC time zone
when the last bandwidth was obtained.
+ "success=" Int NL
+
+ [Exactly once.]
+
+ The number of times that the bandwidth measurements for this relay were
+ successful.
+
+ "error_circ=" Int NL
+
+ [Exactly once.]
+
+ The number of times that the bandwidth measurement for this relay
+ failed because of circuit failures.
+
+ "error_stream=" Int NL
+
+ [Exactly once.]
+
+ The number of times that the bandwidth measurement for this relay
+ failed because of stream failures.
+
2.4.2. Torflow
Torflow RelayLines include node_id and bw, and other KeyValue pairs [2].
@@ -359,8 +380,8 @@ software_version=0.1.0
generator_started=2018-05-08T16:13:25
earliest_bandwidth=2018-05-08T16:13:26
====
-node_id=$68A483E05A2ABDCA6DA5A3EF8DB5177638A27F80 master_key_ed25519=YaqV4vbvPYKucElk297eVdNArDz9HtIwUoIeo0+cVIpQ bw=760 nick=Test rtt=380 time=2018-05-08T16:13:26
-node_id=$96C15995F30895689291F455587BD94CA427B6FC master_key_ed25519=a6a+dZadrQBtfSbmQkP7j2ardCmLnm5NJ4ZzkvDxbo0I bw=189 nick=Test2 rtt=378 time=2018-05-08T16:13:36
+bw=380 error_circ=0 error_misc=0 error_stream=1 master_key_ed25519=YaqV4vbvPYKucElk297eVdNArDz9HtIwUoIeo0+cVIpQ nick=Test node_id=$68A483E05A2ABDCA6DA5A3EF8DB5177638A27F80 rtt=380 success=1 time=2018-05-08T16:13:26
+bw=189 error_circ=0 error_misc=0 error_stream=0 master_key_ed25519=a6a+dZadrQBtfSbmQkP7j2ardCmLnm5NJ4ZzkvDxbo0I nick=Test2 node_id=$96C15995F30895689291F455587BD94CA427B6FC rtt=378 success=1 time=2018-05-08T16:13:36
B. Scaling bandwidths