[metrics-bugs] #34191 [Metrics/Onionperf]: Combine multiple analysis files into single data set

Tor Bug Tracker & Wiki blackhole at torproject.org
Tue May 12 13:26:57 UTC 2020


#34191: Combine multiple analysis files into single data set
-----------------------------------+--------------------------
     Reporter:  karsten            |      Owner:  metrics-team
         Type:  enhancement        |     Status:  new
     Priority:  Medium             |  Milestone:
    Component:  Metrics/Onionperf  |    Version:
     Severity:  Normal             |   Keywords:
Actual Points:                     |  Parent ID:
       Points:  0.5                |   Reviewer:
      Sponsor:  Sponsor59-must     |
-----------------------------------+--------------------------
 OnionPerf's visualize mode currently supports specifying multiple data
 sets to be graphed with different labels for each data set. However, for
 each data set it's only possible to specify exactly one analysis results
 file. If we ever want to graph a data set covering more than a single day
 and compare that to another data set, we cannot do that at the moment.

 Here's a possible user interface extension to allow specifying one or more
 analysis results files for each data set:

 {{{
 diff --git a/onionperf/onionperf b/onionperf/onionperf
 index cb1899c..957c6df 100755
 --- a/onionperf/onionperf
 +++ b/onionperf/onionperf
 @@ -326,8 +326,9 @@ files generated by this script will be written""",
      visualize_parser.set_defaults(func=visualize,
 formatter_class=my_formatter_class)

      visualize_parser.add_argument('-d', '--data',
 -        help="""Append a PATH to a onionperf.analysis.json analysis
 results file, and a LABEL that we
 -        should use for the graph legend for this dataset""",
 +        help="""Append a file or directory PATH to an
 onionperf.analysis.json
 +                analysis results file or directory of such files, and a
 LABEL
 +                that we should use for the graph legend for this
 dataset""",
          metavar=("PATH", "LABEL"),
          nargs=2,
          required="True",
 }}}

 I didn't write any other code for this yet.

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


More information about the metrics-bugs mailing list