Source

tw2.rrd / tw2 / rrd / samples.py

Full commit
1
2
3
4
5
6
7
8
9
import tw2.rrd

data_directory = '/'.join(__file__.split('/')[:-1]) + '/data'
class DemoRRDFlotWidget(tw2.rrd.RRDFlotWidget):
    rrd_filenames = [
        data_directory + '/cpu_user.rrd',
        data_directory + '/cpu_system.rrd',
        data_directory + '/cpu_wio.rrd',
    ]