[tor-bugs] #20380 [Metrics/CollecTor]: Expand INSTALL.md to a more complete operator's guide

Tor Bug Tracker & Wiki blackhole at torproject.org
Thu Oct 27 11:23:37 UTC 2016


#20380: Expand INSTALL.md to a more complete operator's guide
-------------------------------+---------------------------------
 Reporter:  karsten            |          Owner:
     Type:  enhancement        |         Status:  needs_review
 Priority:  Medium             |      Milestone:  CollecTor 1.1.0
Component:  Metrics/CollecTor  |        Version:
 Severity:  Normal             |     Resolution:
 Keywords:                     |  Actual Points:
Parent ID:                     |         Points:
 Reviewer:                     |        Sponsor:
-------------------------------+---------------------------------

Comment (by iwakeh):

 This looks good!  The new sections make it a lot easier to read (also
 during review :-)

 A few small things:

 * [https://gitweb.torproject.org/karsten/metrics-
 db.git/tree/INSTALL.md?h=task-20380&id=eba2e3f714f1d676ff811b60380fff36f74ad5cd#n129
 line 129]: <your-shell-script-data-dir>

 * [https://gitweb.torproject.org/karsten/metrics-
 db.git/tree/INSTALL.md?h=task-20380&id=eba2e3f714f1d676ff811b60380fff36f74ad5cd#n150
 line 150 and 155]: <your-webapp-dir>

 * [https://gitweb.torproject.org/karsten/metrics-
 db.git/tree/INSTALL.md?h=task-20380&id=eba2e3f714f1d676ff811b60380fff36f74ad5cd#n175
 line 175]: <your-log-dir>

 * [https://gitweb.torproject.org/karsten/metrics-
 db.git/tree/INSTALL.md?h=task-20380&id=eba2e3f714f1d676ff811b60380fff36f74ad5cd#n180
 line 180]: 'logback.xml' has to be available in the java classpath the
 name shouldn't change.  Maybe also mention that we use 'slf4j-api'
 throughout.  Thus, your free to use the logging framework of your choice,
 i.e. any other implementation of slf4j could be chosen and provided to
 CollecTor.

 * [https://gitweb.torproject.org/karsten/metrics-
 db.git/tree/INSTALL.md?h=task-20380&id=eba2e3f714f1d676ff811b60380fff36f74ad5cd#n188
 line 188]: Missing option `-DLOGBASE=<your-log-path>`, and maybe add 'the
 -Xmx option is based on 4g RAM here, if your machine has more feel free to
 adapt this as needed'

 * [https://gitweb.torproject.org/karsten/metrics-
 db.git/tree/INSTALL.md?h=task-20380&id=eba2e3f714f1d676ff811b60380fff36f74ad5cd#n225
 line 225]:  This is still based on the assumption everything lives below
 the workdir, which doesn't need to be the case.  Maybe, change along the
 line 'A backup of your CollecTor instance should include the <ArchivePath>
 and your configuration and other changes, which makes it possible to set-
 up this instance again.  A backup for short term recovery would also
 include the more volatile data in <StatsPath>, <RecentPath, and
 <OutputPath>.' (This suggestion can surely be phrased better.)

--
Ticket URL: <https://troodi.torproject.org/projects/tor/ticket/20380#comment:12>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list