RybaFish Charts

[home] [about] [config] [tips] [todo] [changelog] [faq]

Single KPI selected in the example below:

demo screen

The “component” column used to split values into several lines on the chart. It is not really docummented, but come on, it is quite obious:

kpis: [
    {type: 'service',
        subtype: 'multiline',
        name: 'allocator',
        group: 'mem',
        sUnit: 'Byte',
        dUnit: 'MB',
        color: '#084',
        multicolor: True,
        stacked: True,
        sqlname: 'component_size',
        splitby: 'component',
        orderby: 'max',
        desc: True,
        legendCount: 6,
        nofilter: False,
        label: 'Component Memory Used',
        description: 'Component Memory Used'}
]

sql: >
    select
        server_timestamp time,
        host,
        port,
        component,
        sum(exclusive_size_in_use) component_size
    from _sys_statistics.host_heap_allocators
    group by
        host,
        port,
        server_timestamp,
        component
    order by server_timestamp desc, component_size desc

Possible orderby values: “avg”, “max”, “deviation” and “name”.