diff --git a/canned/procstat.json b/canned/procstat.json new file mode 100644 index 0000000000..75708b80be --- /dev/null +++ b/canned/procstat.json @@ -0,0 +1,40 @@ +{ + "id": "44644fae-21e7-4897-81e6-b11d2643cd61", + "measurement": "procstat", + "app": "system", + "autoflow": true, + "cells": [ + { + "x": 0, + "y": 0, + "w": 4, + "h": 4, + "i": "e75a6baa-9938-4ade-b83f-55a239039964", + "name": "Processes – Resident Memory (MB)", + "queries": [ + { + "query": "SELECT max(\"memory_rss\") / 1000000 AS \"max_mb_memory_rss\" FROM \"procstat\"", + "groupbys": ["\"exe\""], + "wheres": [], + "label": "MB" + } + ] + }, + { + "x": 0, + "y": 0, + "w": 4, + "h": 4, + "i": "2bfae447-47c6-4f85-9fec-494301d29a04", + "name": "Processes – CPU Usage %", + "queries": [ + { + "query": "SELECT max(\"cpu_usage\") AS \"cpu_usage\" FROM \"procstat\"", + "groupbys": ["\"exe\""], + "wheres": [], + "label": "%" + } + ] + } + ] +} \ No newline at end of file