{ "annotations": { "list": [ { "builtIn": 1, "datasource": { "type": "datasource", "uid": "grafana" }, "enable": true, "hide": true, "iconColor": "rgba(0, 211, 255, 1)", "name": "Annotations & Alerts", "target": { "limit": 100, "matchAny": false, "tags": [], "type": "dashboard" }, "type": "dashboard" } ] }, "description": "https://bitbucket.org/mnellemann/sysmon/ - Metrics from within host / guest / partition.", "editable": true, "fiscalYearStartMonth": 0, "graphTooltip": 0, "id": 1, "links": [], "liveNow": false, "panels": [ { "datasource": { "type": "influxdb", "uid": "jzYL6mnVk" }, "gridPos": { "h": 3, "w": 24, "x": 0, "y": 0 }, "id": 30, "options": { "content": "## Metrics are collected by an agent running inside of each LPAR / VM / Host.\n \n For more information: [bitbucket.org/mnellemann/sysmon](https://bitbucket.org/mnellemann/sysmon)\n ", "mode": "markdown" }, "pluginVersion": "9.1.6", "targets": [ { "datasource": { "type": "influxdb", "uid": "jzYL6mnVk" }, "refId": "A" } ], "transparent": true, "type": "text" }, { "collapsed": false, "datasource": { "type": "influxdb", "uid": "5KYZifB7z" }, "gridPos": { "h": 1, "w": 24, "x": 0, "y": 3 }, "id": 4, "panels": [], "repeat": "hostname", "targets": [ { "datasource": { "type": "influxdb", "uid": "5KYZifB7z" }, "refId": "A" } ], "title": "${hostname}", "type": "row" }, { "datasource": { "type": "influxdb", "uid": "jzYL6mnVk" }, "description": "", "fieldConfig": { "defaults": { "color": { "mode": "fixed" }, "custom": { "align": "left", "displayMode": "auto", "inspect": false }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null } ] }, "unit": "string" }, "overrides": [] }, "gridPos": { "h": 6, "w": 12, "x": 0, "y": 4 }, "id": 16, "options": { "footer": { "fields": "", "reducer": [ "sum" ], "show": false }, "showHeader": true, "sortBy": [] }, "pluginVersion": "9.1.6", "targets": [ { "datasource": { "type": "influxdb", "uid": "jzYL6mnVk" }, "groupBy": [ { "params": [ "pid" ], "type": "tag" } ], "measurement": "base_process", "orderByTime": "ASC", "policy": "default", "refId": "A", "resultFormat": "table", "select": [ [ { "params": [ "user" ], "type": "field" }, { "params": [], "type": "last" }, { "params": [ "user" ], "type": "alias" } ], [ { "params": [ "group" ], "type": "field" }, { "params": [], "type": "last" }, { "params": [ "group" ], "type": "alias" } ], [ { "params": [ "prio" ], "type": "field" }, { "params": [], "type": "last" }, { "params": [ "priority" ], "type": "alias" } ] ], "tags": [ { "key": "hostname", "operator": "=~", "value": "/^$hostname$/" }, { "condition": "AND", "key": "name", "operator": "=~", "value": "/^$process$/" }, { "condition": "AND", "key": "pid", "operator": "=~", "value": "/^$pid$/" } ] } ], "title": "Details", "type": "table" }, { "datasource": { "type": "influxdb", "uid": "jzYL6mnVk" }, "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null } ] }, "unit": "bytes" }, "overrides": [ { "matcher": { "id": "byName", "options": "base_process.rss" }, "properties": [ { "id": "displayName", "value": "Resident" } ] }, { "matcher": { "id": "byName", "options": "base_process.vsz" }, "properties": [ { "id": "displayName", "value": "Virtual" } ] } ] }, "gridPos": { "h": 6, "w": 7, "x": 12, "y": 4 }, "id": 19, "options": { "colorMode": "value", "graphMode": "area", "justifyMode": "auto", "orientation": "auto", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "text": {}, "textMode": "auto" }, "pluginVersion": "9.1.6", "targets": [ { "datasource": { "type": "influxdb", "uid": "jzYL6mnVk" }, "groupBy": [ { "params": [ "$__interval" ], "type": "time" }, { "params": [ "null" ], "type": "fill" } ], "measurement": "base_process", "orderByTime": "ASC", "policy": "default", "refId": "A", "resultFormat": "time_series", "select": [ [ { "params": [ "mem_rss" ], "type": "field" }, { "params": [], "type": "sum" }, { "params": [ "rss" ], "type": "alias" } ], [ { "params": [ "mem_vsz" ], "type": "field" }, { "params": [], "type": "sum" }, { "params": [ "vsz" ], "type": "alias" } ] ], "tags": [ { "key": "hostname", "operator": "=~", "value": "/^$hostname$/" }, { "condition": "AND", "key": "name", "operator": "=~", "value": "/^$process$/" }, { "condition": "AND", "key": "pid", "operator": "=~", "value": "/^$pid$/" } ] } ], "title": "Memory Metrics", "type": "stat" }, { "datasource": { "type": "influxdb", "uid": "jzYL6mnVk" }, "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null } ] }, "unit": "bytes" }, "overrides": [ { "matcher": { "id": "byName", "options": "base_process.read" }, "properties": [ { "id": "displayName", "value": "Read Bytes" } ] }, { "matcher": { "id": "byName", "options": "base_process.write" }, "properties": [ { "id": "displayName", "value": "Write Bytes" } ] } ] }, "gridPos": { "h": 6, "w": 5, "x": 19, "y": 4 }, "id": 26, "options": { "colorMode": "value", "graphMode": "area", "justifyMode": "auto", "orientation": "auto", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "text": {}, "textMode": "auto" }, "pluginVersion": "9.1.6", "targets": [ { "datasource": { "type": "influxdb", "uid": "jzYL6mnVk" }, "groupBy": [ { "params": [ "$__interval" ], "type": "time" }, { "params": [ "null" ], "type": "fill" } ], "measurement": "base_process", "orderByTime": "ASC", "policy": "default", "refId": "A", "resultFormat": "time_series", "select": [ [ { "params": [ "read_bytes" ], "type": "field" }, { "params": [], "type": "sum" }, { "params": [ "read" ], "type": "alias" } ], [ { "params": [ "write_bytes" ], "type": "field" }, { "params": [], "type": "sum" }, { "params": [ "write" ], "type": "alias" } ] ], "tags": [ { "key": "hostname", "operator": "=~", "value": "/^$hostname$/" }, { "condition": "AND", "key": "name", "operator": "=~", "value": "/^$process$/" }, { "condition": "AND", "key": "pid", "operator": "=~", "value": "/^$pid$/" } ] } ], "title": "Disk Metrics", "type": "stat" }, { "datasource": { "type": "influxdb", "uid": "jzYL6mnVk" }, "description": "", "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "drawStyle": "line", "fillOpacity": 0, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, "scaleDistribution": { "type": "linear" }, "showPoints": "auto", "spanNulls": true, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null } ] }, "unit": "dtdurationms" }, "overrides": [] }, "gridPos": { "h": 11, "w": 12, "x": 0, "y": 10 }, "id": 24, "options": { "legend": { "calcs": [], "displayMode": "list", "placement": "bottom", "showLegend": true }, "tooltip": { "mode": "multi", "sort": "none" } }, "pluginVersion": "8.0.6", "targets": [ { "alias": "$col", "datasource": { "type": "influxdb", "uid": "jzYL6mnVk" }, "groupBy": [ { "params": [ "$__interval" ], "type": "time" }, { "params": [ "name" ], "type": "tag" }, { "params": [ "null" ], "type": "fill" } ], "measurement": "base_process", "orderByTime": "ASC", "policy": "default", "query": "SELECT non_negative_difference(sum(last(\"user_time\"),last(\"kernel_time\"))) FROM \"base_process\" WHERE (\"hostname\" =~ /^$hostname$/) AND $timeFilter GROUP BY time($__interval), \"pid\", \"name\" fill(null)", "rawQuery": false, "refId": "A", "resultFormat": "time_series", "select": [ [ { "params": [ "user_time" ], "type": "field" }, { "params": [], "type": "sum" }, { "params": [], "type": "non_negative_difference" }, { "params": [ "user" ], "type": "alias" } ], [ { "params": [ "kernel_time" ], "type": "field" }, { "params": [], "type": "sum" }, { "params": [], "type": "non_negative_difference" }, { "params": [ "kernel" ], "type": "alias" } ] ], "tags": [ { "key": "hostname", "operator": "=~", "value": "/^$hostname$/" }, { "condition": "AND", "key": "name", "operator": "=~", "value": "/^$process$/" }, { "condition": "AND", "key": "pid", "operator": "=~", "value": "/^$pid$/" } ] } ], "title": "Processor Time", "type": "timeseries" }, { "datasource": { "type": "influxdb", "uid": "jzYL6mnVk" }, "description": "", "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "drawStyle": "line", "fillOpacity": 0, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "lineInterpolation": "linear", "lineStyle": { "fill": "solid" }, "lineWidth": 1, "pointSize": 5, "scaleDistribution": { "type": "linear" }, "showPoints": "auto", "spanNulls": true, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "red", "value": 80 } ] }, "unit": "short" }, "overrides": [] }, "gridPos": { "h": 11, "w": 12, "x": 12, "y": 10 }, "id": 25, "options": { "legend": { "calcs": [], "displayMode": "list", "placement": "bottom", "showLegend": true }, "tooltip": { "mode": "multi", "sort": "none" } }, "pluginVersion": "8.0.6", "targets": [ { "alias": "$col", "datasource": { "type": "influxdb", "uid": "jzYL6mnVk" }, "groupBy": [ { "params": [ "$__interval" ], "type": "time" }, { "params": [ "name" ], "type": "tag" }, { "params": [ "null" ], "type": "fill" } ], "measurement": "base_process", "orderByTime": "ASC", "policy": "default", "query": "SELECT sum(non_negative_derivative(mean(\"user_time\"), 30s), non_negative_derivative(mean(\"user_time\"), 30s)) FROM \"base_process\" WHERE (\"hostname\" =~ /^$hostname$/) AND $timeFilter GROUP BY time($__interval), \"pid\", \"name\" fill(null)", "rawQuery": false, "refId": "A", "resultFormat": "time_series", "select": [ [ { "params": [ "files" ], "type": "field" }, { "params": [], "type": "sum" }, { "params": [ "files" ], "type": "alias" } ], [ { "params": [ "threads" ], "type": "field" }, { "params": [], "type": "sum" }, { "params": [ "threads" ], "type": "alias" } ] ], "tags": [ { "key": "hostname", "operator": "=~", "value": "/^$hostname$/" }, { "condition": "AND", "key": "name", "operator": "=~", "value": "/^$process$/" }, { "condition": "AND", "key": "pid", "operator": "=~", "value": "/^$pid$/" } ] } ], "title": "Threads & Open Files", "type": "timeseries" } ], "refresh": "1m", "schemaVersion": 37, "style": "dark", "tags": [], "templating": { "list": [ { "current": { "selected": true, "text": "mini", "value": "mini" }, "datasource": { "type": "influxdb", "uid": "jzYL6mnVk" }, "definition": "SHOW TAG VALUES FROM \"base_memory\" WITH KEY = \"hostname\" WHERE time > now() - 60m", "hide": 0, "includeAll": false, "label": "Host", "multi": false, "name": "hostname", "options": [], "query": "SHOW TAG VALUES FROM \"base_memory\" WITH KEY = \"hostname\" WHERE time > now() - 60m", "refresh": 2, "regex": "", "skipUrlSync": false, "sort": 5, "tagValuesQuery": "", "tagsQuery": "", "type": "query", "useTags": false }, { "current": { "selected": false, "text": "java", "value": "java" }, "datasource": { "type": "influxdb", "uid": "jzYL6mnVk" }, "definition": "SHOW TAG VALUES FROM \"base_process\" WITH KEY = \"name\" WHERE hostname =~ /$hostname/AND time > now() - 60m", "hide": 0, "includeAll": false, "label": "Process", "multi": false, "name": "process", "options": [], "query": "SHOW TAG VALUES FROM \"base_process\" WITH KEY = \"name\" WHERE hostname =~ /$hostname/AND time > now() - 60m", "refresh": 1, "regex": "", "skipUrlSync": false, "sort": 5, "type": "query" }, { "current": { "selected": false, "text": "All", "value": "$__all" }, "datasource": { "type": "influxdb", "uid": "jzYL6mnVk" }, "definition": "SELECT DISTINCT(\"pid\") FROM (SELECT * FROM \"base_process\" WHERE time > now() - 60m AND \"hostname\" =~ /$hostname/ AND \"name\" =~ /$process/)", "hide": 0, "includeAll": true, "label": "PID", "multi": false, "name": "pid", "options": [], "query": "SELECT DISTINCT(\"pid\") FROM (SELECT * FROM \"base_process\" WHERE time > now() - 60m AND \"hostname\" =~ /$hostname/ AND \"name\" =~ /$process/)", "refresh": 2, "regex": "", "skipUrlSync": false, "sort": 3, "type": "query" } ] }, "time": { "from": "now-6h", "to": "now-30s" }, "timepicker": { "nowDelay": "30s", "refresh_intervals": [ "30s", "1m", "5m", "15m", "30m", "1h", "2h", "1d" ] }, "timezone": "", "title": "Sysmon - Process Explorer", "uid": "Vjut5mS7k", "version": 2, "weekStart": "" }