Skip to content

Commit

Permalink
Render each daily size instead of averaging.
Browse files Browse the repository at this point in the history
  • Loading branch information
Thynix committed Jan 2, 2013
1 parent 36a7968 commit af3840c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
4 changes: 3 additions & 1 deletion analyze.py
Original file line number Diff line number Diff line change
Expand Up @@ -455,8 +455,10 @@ def binarySearch(distinctSamples, samples):
rrdtool.graph( '{0}_{1}x{2}_{3}'.format(period[0], dimension[0], dimension[1], args.sizeGraph),
'--start', str(period[1]),
'--end', str(lastResult),
# Each data source has a new value each shortPeriod,
# even if it involves data over a longer period.
'DEF:instantaneous-size={0}:instantaneous-size:AVERAGE:step={1}'.format(args.rrd, int(totalSeconds(shortPeriod))),
'DEF:daily-size={0}:effective-size:AVERAGE:step={1}'.format(args.rrd, int(totalSeconds(mediumPeriod))),
'DEF:daily-size={0}:effective-size:AVERAGE:step={1}'.format(args.rrd, int(totalSeconds(shortPeriod))),
'DEF:effective-size={0}:effective-size:AVERAGE:step={1}'.format(args.rrd, int(totalSeconds(shortPeriod))),
'LINE2:instantaneous-size#FF0000:Hourly Instantaneous',
'LINE2:daily-size#0099FF:Daily Effective',
Expand Down
6 changes: 5 additions & 1 deletion index.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,10 @@ Link length, peer count, and uptime are from the past 7 days of results. All pee

## Changelog

### January 1st, 2013

Plot each hourly daily size estimate instead of averaging them over 24 hours. (Thanks TheSeeker!)

### December 23rd, 2012

Add 7-day uptime plot.
Expand Down Expand Up @@ -121,4 +125,4 @@ Initial release.
* A download of the network and usable store size estimate RRD.
* Plots of the past 7 days of link length and peer count distribution.

_Generated [GENERATED-DATE] by [operhiem1](/USK@pxtehd-TmfJwyNUAW2Clk4pwv7Nshyg21NNfXcqzFv4,LTjcTWqvsq3ju6pMGe9Cqb3scvQgECG81hRdgj5WO4s,AQACAAE/blog/12/). [RRD](size.xml). Made with [pyProbe](/USK@pxtehd-TmfJwyNUAW2Clk4pwv7Nshyg21NNfXcqzFv4,LTjcTWqvsq3ju6pMGe9Cqb3scvQgECG81hRdgj5WO4s,AQACAAE/pyProbe.R1/3)._
_Generated [GENERATED-DATE] by [operhiem1](/USK@pxtehd-TmfJwyNUAW2Clk4pwv7Nshyg21NNfXcqzFv4,LTjcTWqvsq3ju6pMGe9Cqb3scvQgECG81hRdgj5WO4s,AQACAAE/blog/12/). [RRD](size.xml). Made with [pyProbe](/USK@pxtehd-TmfJwyNUAW2Clk4pwv7Nshyg21NNfXcqzFv4,LTjcTWqvsq3ju6pMGe9Cqb3scvQgECG81hRdgj5WO4s,AQACAAE/pyProbe.R1/4)._

0 comments on commit af3840c

Please sign in to comment.