diff options
author | Richard Wall <richard@largo> | 2010-08-30 15:22:25 +0100 |
---|---|---|
committer | Richard Wall <richard@largo> | 2010-08-30 15:22:25 +0100 |
commit | 337882182bd0ab3e7a147159245a8d1331fbfbf0 (patch) | |
tree | 6b220d9dba150e4b002c1d6ca5313bcd4d512e65 /jarmonbuild/commands.py | |
parent | 4b7ed618664c5404c390f8e6ef8c106189eaf44c (diff) |
Add another RRA to demonstrate that jarmon is currently selecting the wrong RRA
Diffstat (limited to 'jarmonbuild/commands.py')
-rw-r--r-- | jarmonbuild/commands.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/jarmonbuild/commands.py b/jarmonbuild/commands.py index 5823042..9ababd9 100644 --- a/jarmonbuild/commands.py +++ b/jarmonbuild/commands.py @@ -230,11 +230,12 @@ class BuildTestDataCommand(BuildCommand): rras = [] filename = os.path.join(self.build_dir, 'test.rrd') - rows = 6 + rows = 12 step = 10 dss.append(DataSource(dsName='speed', dsType='GAUGE', heartbeat=2*step)) rras.append(RRA(cf='AVERAGE', xff=0.5, steps=1, rows=rows)) + rras.append(RRA(cf='AVERAGE', xff=0.5, steps=12, rows=rows)) my_rrd = RRD(filename, ds=dss, rra=rras, start=start, step=step) my_rrd.create() |