[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [metrics-web/release] Update CollecTor page to include bandwidth files.
commit d31b049cb1ae146a5bb4e418dcda91aabf0275d4
Author: Karsten Loesing <karsten.loesing@xxxxxxx>
Date: Wed May 15 16:53:29 2019 +0200
Update CollecTor page to include bandwidth files.
Fixes #30507.
---
src/main/resources/web/jsps/collector.jsp | 12 +++++++-----
1 file changed, 7 insertions(+), 5 deletions(-)
diff --git a/src/main/resources/web/jsps/collector.jsp b/src/main/resources/web/jsps/collector.jsp
index 1adc9b3..a05b7e0 100644
--- a/src/main/resources/web/jsps/collector.jsp
+++ b/src/main/resources/web/jsps/collector.jsp
@@ -192,8 +192,9 @@
</tr>
<tr>
<td><a href="#type-bandwidth-file">Bandwidth Files</a></td>
- <td><code>@type bandwidth-file 1.2</code></td>
- <td></td>
+ <td><code>@type bandwidth-file 1.0</code></td>
+ <td><a href="/collector/recent/relay-descriptors/bandwidths/" class="btn btn-primary btn-xs pull-left"><i class="fa fa-chevron-right" aria-hidden="true"></i> recent</a>
+ <a href="/collector/archive/relay-descriptors/bandwidths/" class="btn btn-primary btn-xs pull-right"><i class="fa fa-chevron-right" aria-hidden="true"></i> archive</a></td>
</tr>
</tbody>
</table>
@@ -778,15 +779,16 @@ detail on a separate <a href="web-server-logs.html">page</a>.
</h2>
<h3 id="type-bandwidth-file" class="hover">Bandwidth Files
-<small><code>@type bandwidth-file 1.2</code></small>
+<small><code>@type bandwidth-file 1.0</code></small>
+<a href="/collector/recent/relay-descriptors/bandwidths/" class="btn btn-primary btn-xs"><i class="fa fa-chevron-right" aria-hidden="true"></i> recent</a>
+<a href="/collector/archive/relay-descriptors/bandwidths/" class="btn btn-primary btn-xs"><i class="fa fa-chevron-right" aria-hidden="true"></i> archive</a>
<a href="#type-bandwidth-file" class="anchor">#</a>
</h3>
<p>
Bandwidth authority metrics as defined in the <a href="https://gitweb.torproject.org/torspec.git/tree/bandwidth-file-spec.txt">bandwidth-file-spec</a>.
These are available from a DirPort's
-<code>/tor/status-vote/next/bandwidth</code> url and CollecTor (both are
-<a href="https://trac.torproject.org/projects/tor/ticket/21377">pending</a>).
+<code>/tor/status-vote/next/bandwidth</code> url and CollecTor.
</p>
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits