Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
Trac
Trac
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 246
    • Issues 246
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Operations
    • Operations
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Create a new issue
  • Issue Boards

GitLab is used only for code review, issue tracking and project management. Canonical locations for source code are still https://gitweb.torproject.org/ https://git.torproject.org/ and git-rw.torproject.org.

  • Legacy
  • TracTrac
  • Issues
  • #31291

Closed (moved)
Open
Opened Jul 30, 2019 by nusenu@nusenu

non-public relay health metrics for operators

https://lists.torproject.org/pipermail/tor-dev/2019-February/013655.html

Compared to other server daemons (webserver, DNS server, ..) tor provides little data for operators to detect operational issues and anomalies.

I'd suggest to provide the following stats via an prometheus compatible HTTP endpoint with authentication support (most of the data is already written to logfiles by default)

  • total amount of memory used by the tor process
  • amount of currently open circuits
  • circuit handshake stats (TAP / NTor)

DoS mitigation stats

  • amount of circuits killed with too many cells

  • amount of circuits rejected

  • marked addresses

  • amount of connections closed

  • amount of single hop clients refused

  • amount of closed/failed circuits broken down by their reason value https://gitweb.torproject.org/torspec.git/tree/tor-spec.txt#n1402 https://gitweb.torproject.org/torspec.git/tree/control-spec.txt#n1994

  • amount of closed/failed OR connections broken down by their reason value https://gitweb.torproject.org/torspec.git/tree/control-spec.txt#n2205

If this causes a significant performance impact this feature should be disabled by default.

cell stats

  • extra info cell stats as defined in: https://gitweb.torproject.org/torspec.git/tree/dir-spec.txt#n1072
To upload designs, you'll need to enable LFS and have admin enable hashed storage. More information
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: legacy/trac#31291