demo D213
Fleet and network
Address, data-size and rate types, latency long-tailed so p99 bites
type: ipv4 · bytes · bitrate
Loading a live grid…
The configuration
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@toclocoinc/lattice-grid@1.13.0/lattice-grid.min.css">
<script src="https://cdn.jsdelivr.net/npm/@toclocoinc/lattice-grid@1.13.0/lattice-grid.min.js"></script>
<div id="grid" style="height: 460px"></div>
<script>
const grid = LatticeGrid.createGrid(document.getElementById('grid'), {
rowKey: 'id',
toolPanel: { side: 'left', panels: ['columns', 'filters', 'statistics'] },
columnDefaults: { filter: true },
columns: [
{ field: 'host', title: 'Host', layout: { pin: 'start', width: 140 } },
{ field: 'address', title: 'Address', type: 'ipv4' },
{ field: 'disk', title: 'Disk', type: 'bytes', total: 'sum' },
{ field: 'link', title: 'Link', type: 'bitrate', total: 'sum' },
{ field: 'latency', title: 'Latency', type: 'milliseconds', total: 'p99' },
{ field: 'cpu', title: 'CPU', type: 'percentRate', total: 'avg' },
],
formatting: {
latency: [{ when: { op: 'topPercent', value: 5 }, style: { background: '#fbeceb' } }],
},
rows,
});
</script>