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
  • #25176

Closed (moved)
Open
Opened Feb 08, 2018 by Karsten Loesing@karsten

Combine fixed-time history objects into a single object with an x axis for time

This idea came up when working on #16513 (moved) and #24729 (moved), though it's not strictly related to those.

We could stop giving out history data for fixed intervals and instead provide all data in a single history object along with a normalized x axis with timestamps. For example, we could remove the static "interval" field and add an array "intervals" and a factor "interval_factor" as follows:

  "first": "2018-01-13 12:00:00",
  "last": "2018-02-06 12:00:00",
  "intervals": [4, 4, 2, 2, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1],
  "interval_factor": 86400,
  "factor": 5152.109783914505,
  "count": 15,
  "values": [461, 468, 515, 475, 452, 605, 572, 419, 564, 579, 502, 472, 555, 542, 553]

If we do this, we'll have to teach Relay Search to draw different graphs based on this single history object. Basically, it will need to learn how to downsample data points that are too detailed for a graph showing a long period of time.

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#25176