Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • C Collector
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 21
    • Issues 21
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • The Tor Project
  • Network Health
  • Metrics
  • Collector
  • Issues
  • #31695
Closed
Open
Created Sep 11, 2019 by irl@irl⌨Owner

Allow pushing Metrics to CollecTor from trusted endpoints

Switch from pull to push model for archiving OnionPerf data: Another aspect related to collecting data is that, right now, data collection works by periodically pulling new .tpf files from known OnionPerf instances. This has at least two problems: there's a delay between OnionPerfs producing new files and CollecTor pulling them, and adding new instances requires editing a config file on the CollecTor host. Maybe we can switch to a push model where CollecTor accepts measurements from any OnionPerf instance, and CollecTor clients like the Tor Metrics website decide which measurements to aggregate and visualize. Note that switching to a push model requires installing some basic authentication mechanisms like cryptographic identities and signatures, in order to prevent anyone from pushing wrong data, overwriting correct data, or even storing arbitrary data.

Assignee
Assign to
Time tracking