Add leak metrics data
This commit is contained in:
parent
2644adebbd
commit
c72bef0553
@ -4,18 +4,25 @@ import {
|
||||
MetricGraph,
|
||||
MetricView,
|
||||
MiniMetricMeta,
|
||||
MiniMetricTitle,
|
||||
MiniMetricSubtitle
|
||||
MiniMetricTitle/*,
|
||||
MiniMetricSubtitle*/
|
||||
} from '@ui/components/metric';
|
||||
|
||||
const MetricItem = ({
|
||||
uuid,
|
||||
data
|
||||
}) => (
|
||||
data,
|
||||
type
|
||||
}) => {
|
||||
const values = data.values;
|
||||
const median = values[values.length-1].median;
|
||||
const percentage = Math.round((median-data.min)*100/(data.max-data.min));
|
||||
// TODO this value needs to be normalised
|
||||
// also needs a measurement
|
||||
return (
|
||||
<MetricView borderless mini>
|
||||
<MiniMetricMeta>
|
||||
<MiniMetricTitle>Memory: 54%</MiniMetricTitle>
|
||||
<MiniMetricSubtitle>(1280/3000 MB)</MiniMetricSubtitle>
|
||||
<MiniMetricTitle>{`${type.name}: ${percentage}%`}</MiniMetricTitle>
|
||||
{/*<MiniMetricSubtitle>(1280/3000 MB)</MiniMetricSubtitle>*/}
|
||||
</MiniMetricMeta>
|
||||
<MetricGraph
|
||||
data={data}
|
||||
@ -23,11 +30,13 @@ const MetricItem = ({
|
||||
height={72}
|
||||
/>
|
||||
</MetricView>
|
||||
);
|
||||
);
|
||||
};
|
||||
|
||||
MetricItem.propTypes = {
|
||||
uuid: React.PropTypes.string,
|
||||
data: React.PropTypes.data
|
||||
data: React.PropTypes.data,
|
||||
type: React.PropTypes.object
|
||||
};
|
||||
|
||||
export default MetricItem;
|
||||
|
128636
frontend/src/dataset-leak.json
Normal file
128636
frontend/src/dataset-leak.json
Normal file
File diff suppressed because it is too large
Load Diff
128636
frontend/src/dataset-normal.json
Normal file
128636
frontend/src/dataset-normal.json
Normal file
File diff suppressed because it is too large
Load Diff
@ -8,7 +8,9 @@ import React from 'react';
|
||||
import App from '@containers/app';
|
||||
// import MockState from './mock-state.json';
|
||||
import MockStateTesting from './mock-state-testing.json';
|
||||
import Datasets from './datasets.json';
|
||||
import MockState from './mock-state.json';
|
||||
import NormalDatasets from './dataset-leak.json';
|
||||
import LeakDatasets from './dataset-normal.json';
|
||||
import Store from '@state/store';
|
||||
|
||||
if (process.env.NODE_ENV !== 'production') {
|
||||
@ -20,19 +22,70 @@ if (process.env.NODE_ENV !== 'production') {
|
||||
// TODO want ot be able to switch whic mock state to use
|
||||
// based on a query string
|
||||
const mockState = MockStateTesting;
|
||||
// node_memory_rss_bytes
|
||||
// node_memory_heap_total_bytes
|
||||
// node_memory_heap_used_bytes
|
||||
// process_heap_bytes
|
||||
// process_resident_memory_bytes
|
||||
// process_virtual_memory_bytes
|
||||
// process_cpu_seconds_total
|
||||
// process_cpu_system_seconds_total
|
||||
// process_cpu_user_seconds_total
|
||||
// node_lag_duration_milliseconds
|
||||
// http_request_duration_milliseconds
|
||||
|
||||
// node_memory_rss_bytes
|
||||
// node_memory_heap_total_bytes
|
||||
// node_memory_heap_used_bytes
|
||||
// process_heap_bytes
|
||||
// process_resident_memory_bytes
|
||||
// process_virtual_memory_bytes
|
||||
// process_cpu_seconds_total
|
||||
// process_cpu_system_seconds_total
|
||||
// process_cpu_user_seconds_total
|
||||
// node_lag_duration_milliseconds
|
||||
// http_request_duration_milliseconds
|
||||
|
||||
// TMP - ensure datasets are at least 2 hrs long - START
|
||||
import getTwoHourDatasets from './utils/two-hour-metric-datasets';
|
||||
const twoHourLongDatasets = getTwoHourDatasets(Datasets);
|
||||
const leakTwoHourLongDatasets = getTwoHourDatasets(LeakDatasets);
|
||||
const normalTwoHourLongDatasets = getTwoHourDatasets(NormalDatasets);
|
||||
// TMP - ensure datasets are at least 2 hrs long - END
|
||||
|
||||
// TMP - plug fake metric data - START
|
||||
const datasets = mockState.metrics.data.datasets.map((dataset, index) => {
|
||||
const keyIndex = index%2 ? 0 : 1;
|
||||
const key = Object.keys(twoHourLongDatasets)[keyIndex];
|
||||
const isCrazy = (uuid) => uuid === 'crazy-cpu' ||
|
||||
uuid === 'crazy-disk' || uuid === 'crazy-memory';
|
||||
|
||||
const isCPU = (uuid) => uuid === 'crazy-cpu'
|
||||
|| uuid === '3e6ee79a-7453-4fc6-b9da-7ae1e41138ec';
|
||||
|
||||
const isDisk = (uuid) => uuid === 'crazy-disk'
|
||||
|| uuid === '4e6ee79a-7453-4fc6-b9da-7ae1e41138ed';
|
||||
|
||||
const isMemory = (uuid) => uuid === 'crazy-memory'
|
||||
|| uuid === '6e6ee79a-7453-4fc6-b9da-7ae1e41138ed';
|
||||
|
||||
const getDataset = (twoHourLongDatasets, uuid) => {
|
||||
if(isCPU(uuid)) {
|
||||
return twoHourLongDatasets.process_cpu_seconds_total;
|
||||
}
|
||||
if(isDisk(uuid)) {
|
||||
return twoHourLongDatasets.process_heap_bytes;
|
||||
}
|
||||
if(isMemory(uuid)) {
|
||||
return twoHourLongDatasets.node_memory_heap_used_bytes;
|
||||
}
|
||||
};
|
||||
|
||||
const datasets = MockState.metrics.data.datasets.map((dataset, index) => {
|
||||
|
||||
const data = isCrazy(dataset.uuid) ?
|
||||
getDataset(leakTwoHourLongDatasets, dataset.uuid) :
|
||||
getDataset(normalTwoHourLongDatasets, dataset.uuid);
|
||||
|
||||
return {
|
||||
...dataset,
|
||||
data: twoHourLongDatasets[key]
|
||||
data: data
|
||||
};
|
||||
});
|
||||
|
||||
|
@ -64,56 +64,56 @@
|
||||
"data": {
|
||||
"types": [{
|
||||
"uuid": "2aaa237d-42b3-442f-9094-a17aa470014b",
|
||||
"name": "Aggregated CPU usage",
|
||||
"name": "CPU",
|
||||
"id": "cpu-agg-usage",
|
||||
"min": 0,
|
||||
"max": 100,
|
||||
"measurement": "%"
|
||||
}, {
|
||||
"uuid": "dca08514-72e5-46ce-ad91-e68b3b0914d6",
|
||||
"name": "Aggregated CPU usage",
|
||||
"name": "CPU",
|
||||
"id": "cpu-wait-time",
|
||||
"min": 0,
|
||||
"max": 100,
|
||||
"measurement": "%"
|
||||
}, {
|
||||
"uuid": "dca08514-72e5-46ce-ad91-e68b3b0914d7",
|
||||
"name": "Aggregated CPU usage",
|
||||
"name": "Zfs used",
|
||||
"id": "zfs-used",
|
||||
"min": 1,
|
||||
"max": 2,
|
||||
"measurement": "kb"
|
||||
}, {
|
||||
"uuid": "dca08514-72e5-46ce-ad91-e68b3b0914d8",
|
||||
"name": "Aggregated CPU usage",
|
||||
"name": "Zfs",
|
||||
"id": "zfs-available",
|
||||
"min": 0,
|
||||
"max": 100,
|
||||
"measurement": "%"
|
||||
}, {
|
||||
"uuid": "dca08514-72e5-46ce-ad91-e68b3b0914d9",
|
||||
"name": "Aggregated CPU usage",
|
||||
"name": "Disk",
|
||||
"id": "load-average",
|
||||
"min": 0,
|
||||
"max": 20,
|
||||
"measurement": "kb"
|
||||
}, {
|
||||
"uuid": "dca08514-72e5-46ce-ad92-e68b3b0914d4",
|
||||
"name": "Aggregated CPU usage",
|
||||
"name": "Memory",
|
||||
"id": "mem-agg-usage",
|
||||
"min": 0,
|
||||
"max": 100,
|
||||
"measurement": "%"
|
||||
}, {
|
||||
"uuid": "dca08514-72e5-46ce-ad93-e68b3b0914d4",
|
||||
"name": "Aggregated CPU usage",
|
||||
"name": "Memory limit",
|
||||
"id": "mem-limit",
|
||||
"min": 0,
|
||||
"max": 100,
|
||||
"measurement": "%"
|
||||
}, {
|
||||
"uuid": "dca08514-72e5-46ce-ad94-e68b3b0914d4",
|
||||
"name": "Aggregated CPU usage",
|
||||
"name": "Memory swap",
|
||||
"id": "mem-swap",
|
||||
"min": 0,
|
||||
"max": 100,
|
||||
@ -165,10 +165,26 @@
|
||||
"type": "2aaa237d-42b3-442f-9094-a17aa470014b",
|
||||
"uuid": "3e6ee79a-7453-4fc6-b9da-7ae1e41138ec",
|
||||
"data": []
|
||||
},{
|
||||
"type": "dca08514-72e5-46ce-ad92-e68b3b0914d4",
|
||||
}, {
|
||||
"type": "dca08514-72e5-46ce-ad91-e68b3b0914d9",
|
||||
"uuid": "4e6ee79a-7453-4fc6-b9da-7ae1e41138ed",
|
||||
"data": []
|
||||
}, {
|
||||
"type": "dca08514-72e5-46ce-ad92-e68b3b0914d4",
|
||||
"uuid": "6e6ee79a-7453-4fc6-b9da-7ae1e41138ed",
|
||||
"data": []
|
||||
}, {
|
||||
"type": "2aaa237d-42b3-442f-9094-a17aa470014b",
|
||||
"uuid": "crazy-cpu",
|
||||
"data": []
|
||||
}, {
|
||||
"type": "dca08514-72e5-46ce-ad91-e68b3b0914d9",
|
||||
"uuid": "crazy-disk",
|
||||
"data": []
|
||||
}, {
|
||||
"type": "dca08514-72e5-46ce-ad92-e68b3b0914d4",
|
||||
"uuid": "crazy-memory",
|
||||
"data": []
|
||||
}]
|
||||
}
|
||||
},
|
||||
@ -314,11 +330,11 @@
|
||||
"type": "2aaa237d-42b3-442f-9094-a17aa470014b",
|
||||
"dataset": "3e6ee79a-7453-4fc6-b9da-7ae1e41138ec"
|
||||
}, {
|
||||
"type": "dca08514-72e5-46ce-ad91-e68b3b0914d7",
|
||||
"type": "dca08514-72e5-46ce-ad91-e68b3b0914d9",
|
||||
"dataset": "4e6ee79a-7453-4fc6-b9da-7ae1e41138ed"
|
||||
}, {
|
||||
"type": "dca08514-72e5-46ce-ad92-e68b3b0914d4",
|
||||
"dataset": "3e6ee79a-7453-4fc6-b9da-7ae1e41138ec"
|
||||
"dataset": "6e6ee79a-7453-4fc6-b9da-7ae1e41138ed"
|
||||
}],
|
||||
"connections": [
|
||||
"be227788-74f1-4e5b-a85f-b5c71cbae8d8"
|
||||
@ -331,13 +347,13 @@
|
||||
"instances": 1,
|
||||
"metrics": [{
|
||||
"type": "2aaa237d-42b3-442f-9094-a17aa470014b",
|
||||
"dataset": "3e6ee79a-7453-4fc6-b9da-7ae1e41138ec"
|
||||
"dataset": "crazy-cpu"
|
||||
}, {
|
||||
"type": "dca08514-72e5-46ce-ad91-e68b3b0914d7",
|
||||
"dataset": "4e6ee79a-7453-4fc6-b9da-7ae1e41138ed"
|
||||
"type": "dca08514-72e5-46ce-ad91-e68b3b0914d9",
|
||||
"dataset": "crazy-disk"
|
||||
}, {
|
||||
"type": "dca08514-72e5-46ce-ad92-e68b3b0914d4",
|
||||
"dataset": "3e6ee79a-7453-4fc6-b9da-7ae1e41138ec"
|
||||
"dataset": "crazy-memory"
|
||||
}],
|
||||
"connections": [
|
||||
"6a0eee76-c019-413b-9d5f-44712b55b993",
|
||||
@ -354,43 +370,43 @@
|
||||
"type": "2aaa237d-42b3-442f-9094-a17aa470014b",
|
||||
"dataset": "3e6ee79a-7453-4fc6-b9da-7ae1e41138ec"
|
||||
}, {
|
||||
"type": "dca08514-72e5-46ce-ad91-e68b3b0914d7",
|
||||
"type": "dca08514-72e5-46ce-ad91-e68b3b0914d9",
|
||||
"dataset": "4e6ee79a-7453-4fc6-b9da-7ae1e41138ed"
|
||||
}, {
|
||||
"type": "dca08514-72e5-46ce-ad92-e68b3b0914d4",
|
||||
"dataset": "3e6ee79a-7453-4fc6-b9da-7ae1e41138ec"
|
||||
"dataset": "6e6ee79a-7453-4fc6-b9da-7ae1e41138ed"
|
||||
}]
|
||||
}, {
|
||||
"uuid": "6d31aff4-de1e-4042-a983-fbd23d5c530c",
|
||||
"id": "memcached",
|
||||
"name": "Memcached",
|
||||
"project": "e0ea0c02-55cc-45fe-8064-3e5176a59401",
|
||||
"instances": 1,
|
||||
"instances": 5,
|
||||
"metrics": [{
|
||||
"type": "2aaa237d-42b3-442f-9094-a17aa470014b",
|
||||
"dataset": "3e6ee79a-7453-4fc6-b9da-7ae1e41138ec"
|
||||
}, {
|
||||
"type": "dca08514-72e5-46ce-ad91-e68b3b0914d7",
|
||||
"type": "dca08514-72e5-46ce-ad91-e68b3b0914d9",
|
||||
"dataset": "4e6ee79a-7453-4fc6-b9da-7ae1e41138ed"
|
||||
}, {
|
||||
"type": "dca08514-72e5-46ce-ad92-e68b3b0914d4",
|
||||
"dataset": "3e6ee79a-7453-4fc6-b9da-7ae1e41138ec"
|
||||
"dataset": "6e6ee79a-7453-4fc6-b9da-7ae1e41138ed"
|
||||
}]
|
||||
}, {
|
||||
"uuid": "4ee4103e-1a52-4099-a48e-01588f597c70",
|
||||
"id": "percona",
|
||||
"name": "Percona",
|
||||
"project": "e0ea0c02-55cc-45fe-8064-3e5176a59401",
|
||||
"instances": 4,
|
||||
"instances": 5,
|
||||
"metrics": [{
|
||||
"type": "2aaa237d-42b3-442f-9094-a17aa470014b",
|
||||
"dataset": "3e6ee79a-7453-4fc6-b9da-7ae1e41138ec"
|
||||
}, {
|
||||
"type": "dca08514-72e5-46ce-ad91-e68b3b0914d7",
|
||||
"type": "dca08514-72e5-46ce-ad91-e68b3b0914d9",
|
||||
"dataset": "4e6ee79a-7453-4fc6-b9da-7ae1e41138ed"
|
||||
}, {
|
||||
"type": "dca08514-72e5-46ce-ad92-e68b3b0914d4",
|
||||
"dataset": "3e6ee79a-7453-4fc6-b9da-7ae1e41138ec"
|
||||
"dataset": "6e6ee79a-7453-4fc6-b9da-7ae1e41138ed"
|
||||
}]
|
||||
}, {
|
||||
"uuid": "9572d367-c4ae-4fb1-8ad5-f5e3830e7034",
|
||||
@ -403,11 +419,11 @@
|
||||
"type": "2aaa237d-42b3-442f-9094-a17aa470014b",
|
||||
"dataset": "3e6ee79a-7453-4fc6-b9da-7ae1e41138ec"
|
||||
}, {
|
||||
"type": "dca08514-72e5-46ce-ad91-e68b3b0914d7",
|
||||
"type": "dca08514-72e5-46ce-ad91-e68b3b0914d9",
|
||||
"dataset": "4e6ee79a-7453-4fc6-b9da-7ae1e41138ed"
|
||||
}, {
|
||||
"type": "dca08514-72e5-46ce-ad92-e68b3b0914d4",
|
||||
"dataset": "3e6ee79a-7453-4fc6-b9da-7ae1e41138ec"
|
||||
"dataset": "6e6ee79a-7453-4fc6-b9da-7ae1e41138ed"
|
||||
}]
|
||||
}, {
|
||||
"uuid": "c8411ef0-ab39-42cb-a704-d20b170eff31",
|
||||
@ -415,32 +431,32 @@
|
||||
"name": "Secondaries",
|
||||
"parent": "4ee4103e-1a52-4099-a48e-01588f597c70",
|
||||
"project": "e0ea0c02-55cc-45fe-8064-3e5176a59401",
|
||||
"instances": 3,
|
||||
"instances": 4,
|
||||
"metrics": [{
|
||||
"type": "2aaa237d-42b3-442f-9094-a17aa470014b",
|
||||
"dataset": "3e6ee79a-7453-4fc6-b9da-7ae1e41138ec"
|
||||
}, {
|
||||
"type": "dca08514-72e5-46ce-ad91-e68b3b0914d7",
|
||||
"type": "dca08514-72e5-46ce-ad91-e68b3b0914d9",
|
||||
"dataset": "4e6ee79a-7453-4fc6-b9da-7ae1e41138ed"
|
||||
}, {
|
||||
"type": "dca08514-72e5-46ce-ad92-e68b3b0914d4",
|
||||
"dataset": "3e6ee79a-7453-4fc6-b9da-7ae1e41138ec"
|
||||
"dataset": "6e6ee79a-7453-4fc6-b9da-7ae1e41138ed"
|
||||
}]
|
||||
}, {
|
||||
"uuid": "97c68055-db88-45c9-ad49-f26da4264777",
|
||||
"id": "consul",
|
||||
"name": "Consul",
|
||||
"project": "e0ea0c02-55cc-45fe-8064-3e5176a59401",
|
||||
"instances": 3,
|
||||
"instances": 1,
|
||||
"metrics": [{
|
||||
"type": "2aaa237d-42b3-442f-9094-a17aa470014b",
|
||||
"dataset": "3e6ee79a-7453-4fc6-b9da-7ae1e41138ec"
|
||||
}, {
|
||||
"type": "dca08514-72e5-46ce-ad91-e68b3b0914d7",
|
||||
"type": "dca08514-72e5-46ce-ad91-e68b3b0914d9",
|
||||
"dataset": "4e6ee79a-7453-4fc6-b9da-7ae1e41138ed"
|
||||
}, {
|
||||
"type": "dca08514-72e5-46ce-ad92-e68b3b0914d4",
|
||||
"dataset": "3e6ee79a-7453-4fc6-b9da-7ae1e41138ec"
|
||||
"dataset": "6e6ee79a-7453-4fc6-b9da-7ae1e41138ed"
|
||||
}]
|
||||
}]
|
||||
},
|
||||
@ -458,7 +474,7 @@
|
||||
"type": "2aaa237d-42b3-442f-9094-a17aa470014b",
|
||||
"dataset": "3e6ee79a-7453-4fc6-b9da-7ae1e41138ec"
|
||||
}, {
|
||||
"type": "dca08514-72e5-46ce-ad91-e68b3b0914d7",
|
||||
"type": "dca08514-72e5-46ce-ad91-e68b3b0914d9",
|
||||
"dataset": "4e6ee79a-7453-4fc6-b9da-7ae1e41138ed"
|
||||
}, {
|
||||
"type": "dca08514-72e5-46ce-ad92-e68b3b0914d4",
|
||||
@ -474,7 +490,7 @@
|
||||
"type": "2aaa237d-42b3-442f-9094-a17aa470014b",
|
||||
"dataset": "3e6ee79a-7453-4fc6-b9da-7ae1e41138ec"
|
||||
}, {
|
||||
"type": "dca08514-72e5-46ce-ad91-e68b3b0914d7",
|
||||
"type": "dca08514-72e5-46ce-ad91-e68b3b0914d9",
|
||||
"dataset": "4e6ee79a-7453-4fc6-b9da-7ae1e41138ed"
|
||||
}, {
|
||||
"type": "dca08514-72e5-46ce-ad92-e68b3b0914d4",
|
||||
@ -490,7 +506,7 @@
|
||||
"type": "2aaa237d-42b3-442f-9094-a17aa470014b",
|
||||
"dataset": "3e6ee79a-7453-4fc6-b9da-7ae1e41138ec"
|
||||
}, {
|
||||
"type": "dca08514-72e5-46ce-ad91-e68b3b0914d7",
|
||||
"type": "dca08514-72e5-46ce-ad91-e68b3b0914d9",
|
||||
"dataset": "4e6ee79a-7453-4fc6-b9da-7ae1e41138ed"
|
||||
}, {
|
||||
"type": "dca08514-72e5-46ce-ad92-e68b3b0914d4",
|
||||
@ -506,7 +522,7 @@
|
||||
"type": "2aaa237d-42b3-442f-9094-a17aa470014b",
|
||||
"dataset": "3e6ee79a-7453-4fc6-b9da-7ae1e41138ec"
|
||||
}, {
|
||||
"type": "dca08514-72e5-46ce-ad91-e68b3b0914d7",
|
||||
"type": "dca08514-72e5-46ce-ad91-e68b3b0914d9",
|
||||
"dataset": "4e6ee79a-7453-4fc6-b9da-7ae1e41138ed"
|
||||
}, {
|
||||
"type": "dca08514-72e5-46ce-ad92-e68b3b0914d4",
|
||||
@ -522,7 +538,7 @@
|
||||
"type": "2aaa237d-42b3-442f-9094-a17aa470014b",
|
||||
"dataset": "3e6ee79a-7453-4fc6-b9da-7ae1e41138ec"
|
||||
}, {
|
||||
"type": "dca08514-72e5-46ce-ad91-e68b3b0914d7",
|
||||
"type": "dca08514-72e5-46ce-ad91-e68b3b0914d9",
|
||||
"dataset": "4e6ee79a-7453-4fc6-b9da-7ae1e41138ed"
|
||||
}, {
|
||||
"type": "dca08514-72e5-46ce-ad92-e68b3b0914d4",
|
||||
@ -538,7 +554,7 @@
|
||||
"type": "2aaa237d-42b3-442f-9094-a17aa470014b",
|
||||
"dataset": "3e6ee79a-7453-4fc6-b9da-7ae1e41138ec"
|
||||
}, {
|
||||
"type": "dca08514-72e5-46ce-ad91-e68b3b0914d7",
|
||||
"type": "dca08514-72e5-46ce-ad91-e68b3b0914d9",
|
||||
"dataset": "4e6ee79a-7453-4fc6-b9da-7ae1e41138ed"
|
||||
}, {
|
||||
"type": "dca08514-72e5-46ce-ad92-e68b3b0914d4",
|
||||
@ -554,7 +570,7 @@
|
||||
"type": "2aaa237d-42b3-442f-9094-a17aa470014b",
|
||||
"dataset": "3e6ee79a-7453-4fc6-b9da-7ae1e41138ec"
|
||||
}, {
|
||||
"type": "dca08514-72e5-46ce-ad91-e68b3b0914d7",
|
||||
"type": "dca08514-72e5-46ce-ad91-e68b3b0914d9",
|
||||
"dataset": "4e6ee79a-7453-4fc6-b9da-7ae1e41138ed"
|
||||
}, {
|
||||
"type": "dca08514-72e5-46ce-ad92-e68b3b0914d4",
|
||||
@ -570,7 +586,7 @@
|
||||
"type": "2aaa237d-42b3-442f-9094-a17aa470014b",
|
||||
"dataset": "3e6ee79a-7453-4fc6-b9da-7ae1e41138ec"
|
||||
}, {
|
||||
"type": "dca08514-72e5-46ce-ad91-e68b3b0914d7",
|
||||
"type": "dca08514-72e5-46ce-ad91-e68b3b0914d9",
|
||||
"dataset": "4e6ee79a-7453-4fc6-b9da-7ae1e41138ed"
|
||||
}, {
|
||||
"type": "dca08514-72e5-46ce-ad92-e68b3b0914d4",
|
||||
@ -586,7 +602,7 @@
|
||||
"type": "2aaa237d-42b3-442f-9094-a17aa470014b",
|
||||
"dataset": "3e6ee79a-7453-4fc6-b9da-7ae1e41138ec"
|
||||
}, {
|
||||
"type": "dca08514-72e5-46ce-ad91-e68b3b0914d7",
|
||||
"type": "dca08514-72e5-46ce-ad91-e68b3b0914d9",
|
||||
"dataset": "4e6ee79a-7453-4fc6-b9da-7ae1e41138ed"
|
||||
}, {
|
||||
"type": "dca08514-72e5-46ce-ad92-e68b3b0914d4",
|
||||
@ -602,7 +618,7 @@
|
||||
"type": "2aaa237d-42b3-442f-9094-a17aa470014b",
|
||||
"dataset": "3e6ee79a-7453-4fc6-b9da-7ae1e41138ec"
|
||||
}, {
|
||||
"type": "dca08514-72e5-46ce-ad91-e68b3b0914d7",
|
||||
"type": "dca08514-72e5-46ce-ad91-e68b3b0914d9",
|
||||
"dataset": "4e6ee79a-7453-4fc6-b9da-7ae1e41138ed"
|
||||
}, {
|
||||
"type": "dca08514-72e5-46ce-ad92-e68b3b0914d4",
|
||||
@ -618,7 +634,7 @@
|
||||
"type": "2aaa237d-42b3-442f-9094-a17aa470014b",
|
||||
"dataset": "3e6ee79a-7453-4fc6-b9da-7ae1e41138ec"
|
||||
}, {
|
||||
"type": "dca08514-72e5-46ce-ad91-e68b3b0914d7",
|
||||
"type": "dca08514-72e5-46ce-ad91-e68b3b0914d9",
|
||||
"dataset": "4e6ee79a-7453-4fc6-b9da-7ae1e41138ed"
|
||||
}, {
|
||||
"type": "dca08514-72e5-46ce-ad92-e68b3b0914d4",
|
||||
|
@ -64,56 +64,56 @@
|
||||
"data": {
|
||||
"types": [{
|
||||
"uuid": "2aaa237d-42b3-442f-9094-a17aa470014b",
|
||||
"name": "Aggregated CPU usage",
|
||||
"name": "CPU",
|
||||
"id": "cpu-agg-usage",
|
||||
"min": 0,
|
||||
"max": 100,
|
||||
"measurement": "%"
|
||||
}, {
|
||||
"uuid": "dca08514-72e5-46ce-ad91-e68b3b0914d6",
|
||||
"name": "Aggregated CPU usage",
|
||||
"name": "CPU",
|
||||
"id": "cpu-wait-time",
|
||||
"min": 0,
|
||||
"max": 100,
|
||||
"measurement": "%"
|
||||
}, {
|
||||
"uuid": "dca08514-72e5-46ce-ad91-e68b3b0914d7",
|
||||
"name": "Aggregated CPU usage",
|
||||
"name": "Zfs used",
|
||||
"id": "zfs-used",
|
||||
"min": 1,
|
||||
"max": 2,
|
||||
"measurement": "kb"
|
||||
}, {
|
||||
"uuid": "dca08514-72e5-46ce-ad91-e68b3b0914d8",
|
||||
"name": "Aggregated CPU usage",
|
||||
"name": "Zfs",
|
||||
"id": "zfs-available",
|
||||
"min": 0,
|
||||
"max": 100,
|
||||
"measurement": "%"
|
||||
}, {
|
||||
"uuid": "dca08514-72e5-46ce-ad91-e68b3b0914d9",
|
||||
"name": "Aggregated CPU usage",
|
||||
"name": "Disk",
|
||||
"id": "load-average",
|
||||
"min": 0,
|
||||
"max": 20,
|
||||
"measurement": "kb"
|
||||
}, {
|
||||
"uuid": "dca08514-72e5-46ce-ad92-e68b3b0914d4",
|
||||
"name": "Aggregated CPU usage",
|
||||
"name": "Memory",
|
||||
"id": "mem-agg-usage",
|
||||
"min": 0,
|
||||
"max": 100,
|
||||
"measurement": "%"
|
||||
}, {
|
||||
"uuid": "dca08514-72e5-46ce-ad93-e68b3b0914d4",
|
||||
"name": "Aggregated CPU usage",
|
||||
"name": "Memory limit",
|
||||
"id": "mem-limit",
|
||||
"min": 0,
|
||||
"max": 100,
|
||||
"measurement": "%"
|
||||
}, {
|
||||
"uuid": "dca08514-72e5-46ce-ad94-e68b3b0914d4",
|
||||
"name": "Aggregated CPU usage",
|
||||
"name": "Memory swap",
|
||||
"id": "mem-swap",
|
||||
"min": 0,
|
||||
"max": 100,
|
||||
@ -165,10 +165,26 @@
|
||||
"type": "2aaa237d-42b3-442f-9094-a17aa470014b",
|
||||
"uuid": "3e6ee79a-7453-4fc6-b9da-7ae1e41138ec",
|
||||
"data": []
|
||||
},{
|
||||
"type": "dca08514-72e5-46ce-ad92-e68b3b0914d4",
|
||||
}, {
|
||||
"type": "dca08514-72e5-46ce-ad91-e68b3b0914d9",
|
||||
"uuid": "4e6ee79a-7453-4fc6-b9da-7ae1e41138ed",
|
||||
"data": []
|
||||
}, {
|
||||
"type": "dca08514-72e5-46ce-ad92-e68b3b0914d4",
|
||||
"uuid": "6e6ee79a-7453-4fc6-b9da-7ae1e41138ed",
|
||||
"data": []
|
||||
}, {
|
||||
"type": "2aaa237d-42b3-442f-9094-a17aa470014b",
|
||||
"uuid": "crazy-cpu",
|
||||
"data": []
|
||||
}, {
|
||||
"type": "dca08514-72e5-46ce-ad91-e68b3b0914d9",
|
||||
"uuid": "crazy-disk",
|
||||
"data": []
|
||||
}, {
|
||||
"type": "dca08514-72e5-46ce-ad92-e68b3b0914d4",
|
||||
"uuid": "crazy-memory",
|
||||
"data": []
|
||||
}]
|
||||
}
|
||||
},
|
||||
@ -337,11 +353,11 @@
|
||||
"type": "2aaa237d-42b3-442f-9094-a17aa470014b",
|
||||
"dataset": "3e6ee79a-7453-4fc6-b9da-7ae1e41138ec"
|
||||
}, {
|
||||
"type": "dca08514-72e5-46ce-ad91-e68b3b0914d7",
|
||||
"type": "dca08514-72e5-46ce-ad91-e68b3b0914d9",
|
||||
"dataset": "4e6ee79a-7453-4fc6-b9da-7ae1e41138ed"
|
||||
}, {
|
||||
"type": "dca08514-72e5-46ce-ad92-e68b3b0914d4",
|
||||
"dataset": "3e6ee79a-7453-4fc6-b9da-7ae1e41138ec"
|
||||
"dataset": "6e6ee79a-7453-4fc6-b9da-7ae1e41138ed"
|
||||
}],
|
||||
"connections": [
|
||||
"be227788-74f1-4e5b-a85f-b5c71cbae8d8"
|
||||
@ -354,13 +370,13 @@
|
||||
"instances": 1,
|
||||
"metrics": [{
|
||||
"type": "2aaa237d-42b3-442f-9094-a17aa470014b",
|
||||
"dataset": "3e6ee79a-7453-4fc6-b9da-7ae1e41138ec"
|
||||
"dataset": "crazy-cpu"
|
||||
}, {
|
||||
"type": "dca08514-72e5-46ce-ad91-e68b3b0914d7",
|
||||
"dataset": "4e6ee79a-7453-4fc6-b9da-7ae1e41138ed"
|
||||
"type": "dca08514-72e5-46ce-ad91-e68b3b0914d9",
|
||||
"dataset": "crazy-disk"
|
||||
}, {
|
||||
"type": "dca08514-72e5-46ce-ad92-e68b3b0914d4",
|
||||
"dataset": "3e6ee79a-7453-4fc6-b9da-7ae1e41138ec"
|
||||
"dataset": "crazy-memory"
|
||||
}],
|
||||
"connections": [
|
||||
"6a0eee76-c019-413b-9d5f-44712b55b993",
|
||||
@ -377,11 +393,11 @@
|
||||
"type": "2aaa237d-42b3-442f-9094-a17aa470014b",
|
||||
"dataset": "3e6ee79a-7453-4fc6-b9da-7ae1e41138ec"
|
||||
}, {
|
||||
"type": "dca08514-72e5-46ce-ad91-e68b3b0914d7",
|
||||
"type": "dca08514-72e5-46ce-ad91-e68b3b0914d9",
|
||||
"dataset": "4e6ee79a-7453-4fc6-b9da-7ae1e41138ed"
|
||||
}, {
|
||||
"type": "dca08514-72e5-46ce-ad92-e68b3b0914d4",
|
||||
"dataset": "3e6ee79a-7453-4fc6-b9da-7ae1e41138ec"
|
||||
"dataset": "6e6ee79a-7453-4fc6-b9da-7ae1e41138ed"
|
||||
}]
|
||||
}, {
|
||||
"uuid": "6d31aff4-de1e-4042-a983-fbd23d5c530c",
|
||||
@ -393,11 +409,11 @@
|
||||
"type": "2aaa237d-42b3-442f-9094-a17aa470014b",
|
||||
"dataset": "3e6ee79a-7453-4fc6-b9da-7ae1e41138ec"
|
||||
}, {
|
||||
"type": "dca08514-72e5-46ce-ad91-e68b3b0914d7",
|
||||
"type": "dca08514-72e5-46ce-ad91-e68b3b0914d9",
|
||||
"dataset": "4e6ee79a-7453-4fc6-b9da-7ae1e41138ed"
|
||||
}, {
|
||||
"type": "dca08514-72e5-46ce-ad92-e68b3b0914d4",
|
||||
"dataset": "3e6ee79a-7453-4fc6-b9da-7ae1e41138ec"
|
||||
"dataset": "6e6ee79a-7453-4fc6-b9da-7ae1e41138ed"
|
||||
}]
|
||||
}, {
|
||||
"uuid": "4ee4103e-1a52-4099-a48e-01588f597c70",
|
||||
@ -409,11 +425,11 @@
|
||||
"type": "2aaa237d-42b3-442f-9094-a17aa470014b",
|
||||
"dataset": "3e6ee79a-7453-4fc6-b9da-7ae1e41138ec"
|
||||
}, {
|
||||
"type": "dca08514-72e5-46ce-ad91-e68b3b0914d7",
|
||||
"type": "dca08514-72e5-46ce-ad91-e68b3b0914d9",
|
||||
"dataset": "4e6ee79a-7453-4fc6-b9da-7ae1e41138ed"
|
||||
}, {
|
||||
"type": "dca08514-72e5-46ce-ad92-e68b3b0914d4",
|
||||
"dataset": "3e6ee79a-7453-4fc6-b9da-7ae1e41138ec"
|
||||
"dataset": "6e6ee79a-7453-4fc6-b9da-7ae1e41138ed"
|
||||
}]
|
||||
}, {
|
||||
"uuid": "9572d367-c4ae-4fb1-8ad5-f5e3830e7034",
|
||||
@ -426,11 +442,11 @@
|
||||
"type": "2aaa237d-42b3-442f-9094-a17aa470014b",
|
||||
"dataset": "3e6ee79a-7453-4fc6-b9da-7ae1e41138ec"
|
||||
}, {
|
||||
"type": "dca08514-72e5-46ce-ad91-e68b3b0914d7",
|
||||
"type": "dca08514-72e5-46ce-ad91-e68b3b0914d9",
|
||||
"dataset": "4e6ee79a-7453-4fc6-b9da-7ae1e41138ed"
|
||||
}, {
|
||||
"type": "dca08514-72e5-46ce-ad92-e68b3b0914d4",
|
||||
"dataset": "3e6ee79a-7453-4fc6-b9da-7ae1e41138ec"
|
||||
"dataset": "6e6ee79a-7453-4fc6-b9da-7ae1e41138ed"
|
||||
}]
|
||||
}, {
|
||||
"uuid": "c8411ef0-ab39-42cb-a704-d20b170eff31",
|
||||
@ -443,11 +459,11 @@
|
||||
"type": "2aaa237d-42b3-442f-9094-a17aa470014b",
|
||||
"dataset": "3e6ee79a-7453-4fc6-b9da-7ae1e41138ec"
|
||||
}, {
|
||||
"type": "dca08514-72e5-46ce-ad91-e68b3b0914d7",
|
||||
"type": "dca08514-72e5-46ce-ad91-e68b3b0914d9",
|
||||
"dataset": "4e6ee79a-7453-4fc6-b9da-7ae1e41138ed"
|
||||
}, {
|
||||
"type": "dca08514-72e5-46ce-ad92-e68b3b0914d4",
|
||||
"dataset": "3e6ee79a-7453-4fc6-b9da-7ae1e41138ec"
|
||||
"dataset": "6e6ee79a-7453-4fc6-b9da-7ae1e41138ed"
|
||||
}]
|
||||
}, {
|
||||
"uuid": "97c68055-db88-45c9-ad49-f26da4264777",
|
||||
@ -459,11 +475,11 @@
|
||||
"type": "2aaa237d-42b3-442f-9094-a17aa470014b",
|
||||
"dataset": "3e6ee79a-7453-4fc6-b9da-7ae1e41138ec"
|
||||
}, {
|
||||
"type": "dca08514-72e5-46ce-ad91-e68b3b0914d7",
|
||||
"type": "dca08514-72e5-46ce-ad91-e68b3b0914d9",
|
||||
"dataset": "4e6ee79a-7453-4fc6-b9da-7ae1e41138ed"
|
||||
}, {
|
||||
"type": "dca08514-72e5-46ce-ad92-e68b3b0914d4",
|
||||
"dataset": "3e6ee79a-7453-4fc6-b9da-7ae1e41138ec"
|
||||
"dataset": "6e6ee79a-7453-4fc6-b9da-7ae1e41138ed"
|
||||
}]
|
||||
}]
|
||||
},
|
||||
@ -481,7 +497,7 @@
|
||||
"type": "2aaa237d-42b3-442f-9094-a17aa470014b",
|
||||
"dataset": "3e6ee79a-7453-4fc6-b9da-7ae1e41138ec"
|
||||
}, {
|
||||
"type": "dca08514-72e5-46ce-ad91-e68b3b0914d7",
|
||||
"type": "dca08514-72e5-46ce-ad91-e68b3b0914d9",
|
||||
"dataset": "4e6ee79a-7453-4fc6-b9da-7ae1e41138ed"
|
||||
}, {
|
||||
"type": "dca08514-72e5-46ce-ad92-e68b3b0914d4",
|
||||
@ -497,7 +513,7 @@
|
||||
"type": "2aaa237d-42b3-442f-9094-a17aa470014b",
|
||||
"dataset": "3e6ee79a-7453-4fc6-b9da-7ae1e41138ec"
|
||||
}, {
|
||||
"type": "dca08514-72e5-46ce-ad91-e68b3b0914d7",
|
||||
"type": "dca08514-72e5-46ce-ad91-e68b3b0914d9",
|
||||
"dataset": "4e6ee79a-7453-4fc6-b9da-7ae1e41138ed"
|
||||
}, {
|
||||
"type": "dca08514-72e5-46ce-ad92-e68b3b0914d4",
|
||||
@ -513,7 +529,7 @@
|
||||
"type": "2aaa237d-42b3-442f-9094-a17aa470014b",
|
||||
"dataset": "3e6ee79a-7453-4fc6-b9da-7ae1e41138ec"
|
||||
}, {
|
||||
"type": "dca08514-72e5-46ce-ad91-e68b3b0914d7",
|
||||
"type": "dca08514-72e5-46ce-ad91-e68b3b0914d9",
|
||||
"dataset": "4e6ee79a-7453-4fc6-b9da-7ae1e41138ed"
|
||||
}, {
|
||||
"type": "dca08514-72e5-46ce-ad92-e68b3b0914d4",
|
||||
@ -529,7 +545,7 @@
|
||||
"type": "2aaa237d-42b3-442f-9094-a17aa470014b",
|
||||
"dataset": "3e6ee79a-7453-4fc6-b9da-7ae1e41138ec"
|
||||
}, {
|
||||
"type": "dca08514-72e5-46ce-ad91-e68b3b0914d7",
|
||||
"type": "dca08514-72e5-46ce-ad91-e68b3b0914d9",
|
||||
"dataset": "4e6ee79a-7453-4fc6-b9da-7ae1e41138ed"
|
||||
}, {
|
||||
"type": "dca08514-72e5-46ce-ad92-e68b3b0914d4",
|
||||
@ -545,7 +561,7 @@
|
||||
"type": "2aaa237d-42b3-442f-9094-a17aa470014b",
|
||||
"dataset": "3e6ee79a-7453-4fc6-b9da-7ae1e41138ec"
|
||||
}, {
|
||||
"type": "dca08514-72e5-46ce-ad91-e68b3b0914d7",
|
||||
"type": "dca08514-72e5-46ce-ad91-e68b3b0914d9",
|
||||
"dataset": "4e6ee79a-7453-4fc6-b9da-7ae1e41138ed"
|
||||
}, {
|
||||
"type": "dca08514-72e5-46ce-ad92-e68b3b0914d4",
|
||||
@ -561,7 +577,7 @@
|
||||
"type": "2aaa237d-42b3-442f-9094-a17aa470014b",
|
||||
"dataset": "3e6ee79a-7453-4fc6-b9da-7ae1e41138ec"
|
||||
}, {
|
||||
"type": "dca08514-72e5-46ce-ad91-e68b3b0914d7",
|
||||
"type": "dca08514-72e5-46ce-ad91-e68b3b0914d9",
|
||||
"dataset": "4e6ee79a-7453-4fc6-b9da-7ae1e41138ed"
|
||||
}, {
|
||||
"type": "dca08514-72e5-46ce-ad92-e68b3b0914d4",
|
||||
@ -577,7 +593,7 @@
|
||||
"type": "2aaa237d-42b3-442f-9094-a17aa470014b",
|
||||
"dataset": "3e6ee79a-7453-4fc6-b9da-7ae1e41138ec"
|
||||
}, {
|
||||
"type": "dca08514-72e5-46ce-ad91-e68b3b0914d7",
|
||||
"type": "dca08514-72e5-46ce-ad91-e68b3b0914d9",
|
||||
"dataset": "4e6ee79a-7453-4fc6-b9da-7ae1e41138ed"
|
||||
}, {
|
||||
"type": "dca08514-72e5-46ce-ad92-e68b3b0914d4",
|
||||
@ -593,7 +609,7 @@
|
||||
"type": "2aaa237d-42b3-442f-9094-a17aa470014b",
|
||||
"dataset": "3e6ee79a-7453-4fc6-b9da-7ae1e41138ec"
|
||||
}, {
|
||||
"type": "dca08514-72e5-46ce-ad91-e68b3b0914d7",
|
||||
"type": "dca08514-72e5-46ce-ad91-e68b3b0914d9",
|
||||
"dataset": "4e6ee79a-7453-4fc6-b9da-7ae1e41138ed"
|
||||
}, {
|
||||
"type": "dca08514-72e5-46ce-ad92-e68b3b0914d4",
|
||||
@ -609,7 +625,7 @@
|
||||
"type": "2aaa237d-42b3-442f-9094-a17aa470014b",
|
||||
"dataset": "3e6ee79a-7453-4fc6-b9da-7ae1e41138ec"
|
||||
}, {
|
||||
"type": "dca08514-72e5-46ce-ad91-e68b3b0914d7",
|
||||
"type": "dca08514-72e5-46ce-ad91-e68b3b0914d9",
|
||||
"dataset": "4e6ee79a-7453-4fc6-b9da-7ae1e41138ed"
|
||||
}, {
|
||||
"type": "dca08514-72e5-46ce-ad92-e68b3b0914d4",
|
||||
@ -625,7 +641,7 @@
|
||||
"type": "2aaa237d-42b3-442f-9094-a17aa470014b",
|
||||
"dataset": "3e6ee79a-7453-4fc6-b9da-7ae1e41138ec"
|
||||
}, {
|
||||
"type": "dca08514-72e5-46ce-ad91-e68b3b0914d7",
|
||||
"type": "dca08514-72e5-46ce-ad91-e68b3b0914d9",
|
||||
"dataset": "4e6ee79a-7453-4fc6-b9da-7ae1e41138ed"
|
||||
}, {
|
||||
"type": "dca08514-72e5-46ce-ad92-e68b3b0914d4",
|
||||
@ -641,7 +657,7 @@
|
||||
"type": "2aaa237d-42b3-442f-9094-a17aa470014b",
|
||||
"dataset": "3e6ee79a-7453-4fc6-b9da-7ae1e41138ec"
|
||||
}, {
|
||||
"type": "dca08514-72e5-46ce-ad91-e68b3b0914d7",
|
||||
"type": "dca08514-72e5-46ce-ad91-e68b3b0914d9",
|
||||
"dataset": "4e6ee79a-7453-4fc6-b9da-7ae1e41138ed"
|
||||
}, {
|
||||
"type": "dca08514-72e5-46ce-ad92-e68b3b0914d4",
|
||||
|
Loading…
Reference in New Issue
Block a user