summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/spec/dir-spec.txt24
1 files changed, 24 insertions, 0 deletions
diff --git a/doc/spec/dir-spec.txt b/doc/spec/dir-spec.txt
index 04e73c4676..4c22771882 100644
--- a/doc/spec/dir-spec.txt
+++ b/doc/spec/dir-spec.txt
@@ -848,6 +848,30 @@
Mean number of circuits that are included in any of the deciles,
rounded up to the next integer.
+ "conn-stats-end" YYYY-MM-DD HH:MM:SS (NSEC s) NL
+ [At most once]
+
+ YYYY-MM-DD HH:MM:SS defines the end of the included connection
+ statistics measurement interval of length NSEC seconds (86400
+ seconds by default).
+
+ A "conn-stats-end" line, as well as any other "conn-*" line,
+ is first added after the relay has been running for at least 24
+ hours.
+
+ "conn-bi-direct" BELOW,READ,WRITE,BOTH NL
+ [At most once]
+
+ Number of connections, split into 10-second intervals, that are
+ used uni-directionally or bi-directionally. Every 10 seconds,
+ we determine for every connection whether we read and wrote less
+ than a threshold of 20 KiB (BELOW), read at least 10 times more
+ than we wrote (READ), wrote at least 10 times more than we read
+ (WRITE), or read and wrote more than the threshold, but not 10
+ times more in either direction (BOTH). After classifying a
+ connection, read and write counters are reset for the next
+ 10-second interval.
+
"exit-stats-end" YYYY-MM-DD HH:MM:SS (NSEC s) NL
[At most once.]