mirror of
https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/snowflake.git
synced 2025-10-13 20:11:19 -04:00
Document setting the proxyType for metrics
Trac: 32499
This commit is contained in:
parent
af4cc52dc2
commit
1e45d48a3c
6 changed files with 16 additions and 8 deletions
|
@ -122,7 +122,7 @@ var log = function(msg) {
|
|||
};
|
||||
var dbg = log;
|
||||
|
||||
var config = new Config();
|
||||
var config = new Config("myui"); // NOTE: Set a unique proxy type for metrics
|
||||
var ui = new MyUI(); // NOTE: Using the class defined above
|
||||
var broker = new Broker(config.brokerUrl);
|
||||
|
||||
|
@ -134,4 +134,10 @@ snowflake.beginWebRTC();
|
|||
|
||||
This minimal setup is pretty much what's currently in `init-node.js`.
|
||||
|
||||
When configuring the snowflake, set a unique `proxyType` (first argument
|
||||
to `Config`) that will be used when recording metrics at the broker. Also,
|
||||
it would be helpful to get in touch with the [Anti-Censorship Team][2] at the
|
||||
Tor Project to let them know about your tool.
|
||||
|
||||
[1]: https://chrome.google.com/webstore/detail/cupcake/dajjbehmbnbppjkcnpdkaniapgdppdnc
|
||||
[2]: https://trac.torproject.org/projects/tor/wiki/org/teams/AntiCensorshipTeam
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue