Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • S Snowflake
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 93
    • Issues 93
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 7
    • Merge requests 7
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • The Tor Project
  • Anti-censorship
  • Pluggable Transports
  • Snowflake
  • Merge requests
  • !72

Privacy preserving stats in Snowflake standalone proxy (Fix #40079)

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged shelikhoo requested to merge shelikhoo/snowflake:dev-proxystat into main Jan 26, 2022
  • Overview 4
  • Commits 10
  • Pipelines 2
  • Changes 7

This is a merge request aimed at adding additional log output to snowflake proxy in order to show aggregated result of traffic and user metrics. This is designed to allow users to get a positive feedback about their contribution to the Tor network.

The data collector reused the existing events interface designed for snowflake client. However, currently the client and server emits a disjoint set of events.

Things to look at:

  • The summary interval is 1 hour by default(adjustable by user), this output will be easily shadowed by other outputs.
  • There is no historic record by design. This is because there is no persistent storage, and it is expected that the proxy process being restarted from time to time. This ensure the data output is accurate and comparable. This also comes with the defensive design that prevent users from calculating resource consumption based on this data.
Edited Jan 26, 2022 by shelikhoo
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: dev-proxystat