diff --git a/performance/dashboard/docker-compose.yml b/performance/dashboard/docker-compose.yml index bb91dee71d67..722ac3a08ac6 100644 --- a/performance/dashboard/docker-compose.yml +++ b/performance/dashboard/docker-compose.yml @@ -1,5 +1,3 @@ -version: '3.8' - volumes: prometheus_data: {} @@ -11,7 +9,7 @@ services: volumes: - /proc:/host/proc:ro - /sys:/host/sys:ro - - /:/rootfs:ro + - /:/rootfs:ro,rslave command: - '--path.procfs=/host/proc' - '--path.rootfs=/rootfs' diff --git a/performance/dashboard/provisioning/dashboards/tracee.json b/performance/dashboard/provisioning/dashboards/tracee.json index 0fd49681032d..4a9344af0665 100644 --- a/performance/dashboard/provisioning/dashboards/tracee.json +++ b/performance/dashboard/provisioning/dashboards/tracee.json @@ -18,9 +18,8 @@ "editable": true, "fiscalYearStartMonth": 0, "graphTooltip": 0, - "id": 1, + "id": 2, "links": [], - "liveNow": false, "panels": [ { "collapsed": false, @@ -46,11 +45,13 @@ "mode": "palette-classic" }, "custom": { + "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 50, "gradientMode": "opacity", @@ -108,6 +109,7 @@ "sort": "none" } }, + "pluginVersion": "11.4.0-202090", "targets": [ { "datasource": { @@ -163,6 +165,8 @@ }, "id": 35, "options": { + "minVizHeight": 75, + "minVizWidth": 75, "orientation": "auto", "reduceOptions": { "calcs": [ @@ -172,9 +176,10 @@ "values": false }, "showThresholdLabels": true, - "showThresholdMarkers": true + "showThresholdMarkers": true, + "sizing": "auto" }, - "pluginVersion": "10.1.0-124233pre", + "pluginVersion": "11.4.0-202090", "targets": [ { "datasource": { @@ -228,6 +233,7 @@ "graphMode": "area", "justifyMode": "auto", "orientation": "auto", + "percentChangeColorMode": "standard", "reduceOptions": { "calcs": [ "lastNotNull" @@ -235,9 +241,11 @@ "fields": "", "values": false }, - "textMode": "auto" + "showPercentChange": false, + "textMode": "auto", + "wideLayout": true }, - "pluginVersion": "10.1.0-124233pre", + "pluginVersion": "11.4.0-202090", "targets": [ { "datasource": { @@ -267,11 +275,13 @@ "mode": "fixed" }, "custom": { + "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 50, "gradientMode": "opacity", @@ -329,6 +339,7 @@ "sort": "none" } }, + "pluginVersion": "11.4.0-202090", "targets": [ { "datasource": { @@ -384,6 +395,8 @@ }, "id": 36, "options": { + "minVizHeight": 75, + "minVizWidth": 75, "orientation": "auto", "reduceOptions": { "calcs": [ @@ -393,9 +406,10 @@ "values": false }, "showThresholdLabels": true, - "showThresholdMarkers": true + "showThresholdMarkers": true, + "sizing": "auto" }, - "pluginVersion": "10.1.0-124233pre", + "pluginVersion": "11.4.0-202090", "targets": [ { "datasource": { @@ -449,6 +463,7 @@ "graphMode": "none", "justifyMode": "auto", "orientation": "auto", + "percentChangeColorMode": "standard", "reduceOptions": { "calcs": [ "lastNotNull" @@ -456,9 +471,11 @@ "fields": "/^C \\{instance=\"localhost:3366\", job=\"tracee\"\\}$/", "values": false }, - "textMode": "auto" + "showPercentChange": false, + "textMode": "auto", + "wideLayout": true }, - "pluginVersion": "10.1.0-124233pre", + "pluginVersion": "11.4.0-202090", "targets": [ { "datasource": { @@ -513,11 +530,13 @@ "mode": "fixed" }, "custom": { + "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 50, "gradientMode": "opacity", @@ -575,6 +594,7 @@ "sort": "none" } }, + "pluginVersion": "11.4.0-202090", "targets": [ { "datasource": { @@ -630,6 +650,8 @@ }, "id": 37, "options": { + "minVizHeight": 75, + "minVizWidth": 75, "orientation": "auto", "reduceOptions": { "calcs": [ @@ -639,9 +661,10 @@ "values": false }, "showThresholdLabels": true, - "showThresholdMarkers": true + "showThresholdMarkers": true, + "sizing": "auto" }, - "pluginVersion": "10.1.0-124233pre", + "pluginVersion": "11.4.0-202090", "targets": [ { "datasource": { @@ -695,6 +718,7 @@ "graphMode": "none", "justifyMode": "auto", "orientation": "auto", + "percentChangeColorMode": "standard", "reduceOptions": { "calcs": [ "lastNotNull" @@ -702,9 +726,11 @@ "fields": "/^C \\{instance=\"localhost:3366\", job=\"tracee\"\\}$/", "values": false }, - "textMode": "auto" + "showPercentChange": false, + "textMode": "auto", + "wideLayout": true }, - "pluginVersion": "10.1.0-124233pre", + "pluginVersion": "11.4.0-202090", "targets": [ { "datasource": { @@ -754,9 +780,9 @@ "x": 0, "y": 19 }, - "id": 12, + "id": 40, "panels": [], - "title": "Heap", + "title": "Perf Event Buffer (METRICS=1)", "type": "row" }, { @@ -767,50 +793,15 @@ "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 - }, - "insertNulls": false, - "lineInterpolation": "smooth", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "dashed" - } + "mode": "thresholds" }, "mappings": [], "thresholds": { - "mode": "percentage", + "mode": "absolute", "steps": [ { "color": "green", "value": null - }, - { - "color": "red", - "value": 80 } ] } @@ -818,40 +809,56 @@ "overrides": [] }, "gridPos": { - "h": 6, - "w": 15, + "h": 38, + "w": 8, "x": 0, "y": 20 }, - "id": 32, + "id": 39, + "interval": "10s", "options": { + "displayMode": "gradient", "legend": { "calcs": [], "displayMode": "list", "placement": "bottom", "showLegend": false }, - "tooltip": { - "mode": "single", - "sort": "none" - } + "maxVizHeight": 300, + "minVizHeight": 16, + "minVizWidth": 8, + "namePlacement": "auto", + "orientation": "horizontal", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "showUnfilled": true, + "sizing": "auto", + "valueMode": "color" }, + "pluginVersion": "11.4.0-202090", "targets": [ { - "datasource": { - "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" - }, + "disableTextWrap": false, "editorMode": "code", - "expr": "rate(go_memstats_mallocs_total{job=\"tracee\"}[$__rate_interval])", + "exemplar": false, + "expr": "tracee_ebpf_bpf_perf_event_submit_attempts", + "format": "time_series", + "fullMetaSearch": false, + "includeNullMetadata": true, "instant": false, - "legendFormat": "__auto", + "legendFormat": "{{event_name}}", "range": true, - "refId": "A" + "refId": "A", + "useBackend": false } ], - "title": "Malloc Rate", - "type": "timeseries" + "title": "Submit Attempts", + "type": "bargauge" }, { "datasource": { @@ -863,61 +870,67 @@ "color": { "mode": "thresholds" }, - "decimals": 0, "mappings": [], "thresholds": { - "mode": "percentage", + "mode": "absolute", "steps": [ - { - "color": "green", - "value": null - }, { "color": "red", - "value": 80 + "value": null } ] - }, - "unit": "locale" + } }, "overrides": [] }, "gridPos": { - "h": 6, - "w": 3, - "x": 15, + "h": 38, + "w": 8, + "x": 8, "y": 20 }, - "id": 14, + "id": 41, + "interval": "10s", "options": { - "orientation": "auto", + "displayMode": "gradient", + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": false + }, + "maxVizHeight": 300, + "minVizHeight": 16, + "minVizWidth": 8, + "namePlacement": "auto", + "orientation": "horizontal", "reduceOptions": { "calcs": [ - "mean" + "lastNotNull" ], - "fields": "/^\\{instance=\"localhost:3366\", job=\"tracee\"\\}$/", + "fields": "", "values": false }, - "showThresholdLabels": true, - "showThresholdMarkers": true + "showUnfilled": true, + "sizing": "auto", + "valueMode": "color" }, - "pluginVersion": "10.1.0-124233pre", + "pluginVersion": "11.4.0-202090", "targets": [ { - "datasource": { - "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" - }, - "editorMode": "code", - "expr": "rate(go_memstats_mallocs_total{job=\"tracee\"}[$__rate_interval])", - "instant": false, - "legendFormat": "__auto", + "disableTextWrap": false, + "editorMode": "builder", + "expr": "tracee_ebpf_bpf_perf_event_submit_failures", + "fullMetaSearch": false, + "includeNullMetadata": true, + "legendFormat": "{{event_name}}", "range": true, - "refId": "A" + "refId": "A", + "useBackend": false } ], - "title": "Malloc Rate (avg)", - "type": "gauge" + "title": "Submit Failures", + "type": "bargauge" }, { "datasource": { @@ -934,27 +947,36 @@ "mode": "absolute", "steps": [ { - "color": "orange", + "color": "red", "value": null } ] }, - "unit": "locale" + "unit": "percentunit" }, "overrides": [] }, "gridPos": { - "h": 6, - "w": 3, - "x": 18, + "h": 38, + "w": 8, + "x": 16, "y": 20 }, - "id": 15, + "id": 42, + "interval": "10s", "options": { - "colorMode": "value", - "graphMode": "area", - "justifyMode": "auto", - "orientation": "auto", + "displayMode": "gradient", + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": false + }, + "maxVizHeight": 300, + "minVizHeight": 16, + "minVizWidth": 8, + "namePlacement": "auto", + "orientation": "horizontal", "reduceOptions": { "calcs": [ "lastNotNull" @@ -962,1376 +984,1652 @@ "fields": "", "values": false }, - "textMode": "auto" + "showUnfilled": true, + "sizing": "auto", + "valueMode": "color" }, - "pluginVersion": "10.1.0-124233pre", + "pluginVersion": "11.4.0-202090", "targets": [ { - "datasource": { - "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" - }, + "disableTextWrap": false, "editorMode": "code", - "expr": "go_memstats_mallocs_total{job=\"tracee\"}", - "instant": false, - "legendFormat": "__auto", + "expr": "tracee_ebpf_bpf_perf_event_submit_failures/tracee_ebpf_bpf_perf_event_submit_attempts", + "fullMetaSearch": false, + "includeNullMetadata": true, + "legendFormat": "{{event_name}}", "range": true, - "refId": "A" + "refId": "A", + "useBackend": false } ], - "title": "Malloc Count", - "type": "stat" + "title": "Failures Ratio", + "type": "bargauge" }, { - "datasource": { - "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" + "collapsed": true, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 58 }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" + "id": 12, + "panels": [ + { + "datasource": { + "type": "prometheus", + "uid": "PDC1078F23EBDF0E5" }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "orange", - "value": null + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "barWidthFactor": 0.6, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": false, + "lineInterpolation": "smooth", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "dashed" + } + }, + "mappings": [], + "thresholds": { + "mode": "percentage", + "steps": [ + { + "color": "green" + }, + { + "color": "red", + "value": 80 + } + ] } - ] + }, + "overrides": [] + }, + "gridPos": { + "h": 6, + "w": 15, + "x": 0, + "y": 153 + }, + "id": 32, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": false + }, + "tooltip": { + "mode": "single", + "sort": "none" + } }, - "unit": "locale" - }, - "overrides": [] - }, - "gridPos": { - "h": 12, - "w": 3, - "x": 21, - "y": 20 - }, - "id": 19, - "options": { - "colorMode": "value", - "graphMode": "none", - "justifyMode": "auto", - "orientation": "auto", - "reduceOptions": { - "calcs": [ - "lastNotNull" + "pluginVersion": "11.4.0-202090", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "PDC1078F23EBDF0E5" + }, + "editorMode": "code", + "expr": "rate(go_memstats_mallocs_total{job=\"tracee\"}[$__rate_interval])", + "instant": false, + "legendFormat": "__auto", + "range": true, + "refId": "A" + } ], - "fields": "/^C$/", - "values": false + "title": "Malloc Rate", + "type": "timeseries" }, - "textMode": "auto" - }, - "pluginVersion": "10.1.0-124233pre", - "targets": [ { "datasource": { "type": "prometheus", "uid": "PDC1078F23EBDF0E5" }, - "editorMode": "code", - "expr": "go_memstats_mallocs_total{job=\"tracee\"}", - "instant": false, - "legendFormat": "__auto", - "range": true, - "refId": "A" + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "decimals": 0, + "mappings": [], + "thresholds": { + "mode": "percentage", + "steps": [ + { + "color": "green" + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "locale" + }, + "overrides": [] + }, + "gridPos": { + "h": 6, + "w": 3, + "x": 15, + "y": 153 + }, + "id": 14, + "options": { + "minVizHeight": 75, + "minVizWidth": 75, + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "mean" + ], + "fields": "/^\\{instance=\"localhost:3366\", job=\"tracee\"\\}$/", + "values": false + }, + "showThresholdLabels": true, + "showThresholdMarkers": true, + "sizing": "auto" + }, + "pluginVersion": "11.4.0-202090", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "PDC1078F23EBDF0E5" + }, + "editorMode": "code", + "expr": "rate(go_memstats_mallocs_total{job=\"tracee\"}[$__rate_interval])", + "instant": false, + "legendFormat": "__auto", + "range": true, + "refId": "A" + } + ], + "title": "Malloc Rate (avg)", + "type": "gauge" }, { "datasource": { "type": "prometheus", "uid": "PDC1078F23EBDF0E5" }, - "editorMode": "code", - "expr": "go_memstats_frees_total{job=\"tracee\"}", - "hide": false, - "instant": false, - "legendFormat": "__auto", - "range": true, - "refId": "B" + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "orange" + } + ] + }, + "unit": "locale" + }, + "overrides": [] + }, + "gridPos": { + "h": 6, + "w": 3, + "x": 18, + "y": 153 + }, + "id": 15, + "options": { + "colorMode": "value", + "graphMode": "area", + "justifyMode": "auto", + "orientation": "auto", + "percentChangeColorMode": "standard", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "showPercentChange": false, + "textMode": "auto", + "wideLayout": true + }, + "pluginVersion": "11.4.0-202090", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "PDC1078F23EBDF0E5" + }, + "editorMode": "code", + "expr": "go_memstats_mallocs_total{job=\"tracee\"}", + "instant": false, + "legendFormat": "__auto", + "range": true, + "refId": "A" + } + ], + "title": "Malloc Count", + "type": "stat" }, { "datasource": { - "name": "Expression", - "type": "__expr__", - "uid": "__expr__" - }, - "expression": "$B/$A", - "hide": false, - "refId": "C", - "type": "math" - } - ], - "title": "Free/Malloc ratio", - "type": "stat" - }, - { - "datasource": { - "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" + "type": "prometheus", + "uid": "PDC1078F23EBDF0E5" }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "orange" + } + ] + }, + "unit": "locale" }, - "insertNulls": false, - "lineInterpolation": "smooth", - "lineStyle": { - "fill": "solid" + "overrides": [] + }, + "gridPos": { + "h": 12, + "w": 3, + "x": 21, + "y": 153 + }, + "id": 19, + "options": { + "colorMode": "value", + "graphMode": "none", + "justifyMode": "auto", + "orientation": "auto", + "percentChangeColorMode": "standard", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "/^C$/", + "values": false }, - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" + "showPercentChange": false, + "textMode": "auto", + "wideLayout": true + }, + "pluginVersion": "11.4.0-202090", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "PDC1078F23EBDF0E5" + }, + "editorMode": "code", + "expr": "go_memstats_mallocs_total{job=\"tracee\"}", + "instant": false, + "legendFormat": "__auto", + "range": true, + "refId": "A" }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" + { + "datasource": { + "type": "prometheus", + "uid": "PDC1078F23EBDF0E5" + }, + "editorMode": "code", + "expr": "go_memstats_frees_total{job=\"tracee\"}", + "hide": false, + "instant": false, + "legendFormat": "__auto", + "range": true, + "refId": "B" }, - "thresholdsStyle": { - "mode": "dashed" + { + "datasource": { + "name": "Expression", + "type": "__expr__", + "uid": "__expr__" + }, + "expression": "$B/$A", + "hide": false, + "refId": "C", + "type": "math" } + ], + "title": "Free/Malloc ratio", + "type": "stat" + }, + { + "datasource": { + "type": "prometheus", + "uid": "PDC1078F23EBDF0E5" }, - "mappings": [], - "thresholds": { - "mode": "percentage", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 6, - "w": 15, - "x": 0, - "y": 26 - }, - "id": 16, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": false - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" - }, - "editorMode": "code", - "expr": "rate(go_memstats_frees_total{job=\"tracee\"}[$__rate_interval])", - "instant": false, - "legendFormat": "__auto", - "range": true, - "refId": "A" - } - ], - "title": "Free Rate", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "decimals": 0, - "mappings": [], - "thresholds": { - "mode": "percentage", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "locale" - }, - "overrides": [] - }, - "gridPos": { - "h": 6, - "w": 3, - "x": 15, - "y": 26 - }, - "id": 17, - "options": { - "orientation": "auto", - "reduceOptions": { - "calcs": [ - "mean" - ], - "fields": "/^\\{instance=\"localhost:3366\", job=\"tracee\"\\}$/", - "values": false - }, - "showThresholdLabels": true, - "showThresholdMarkers": true - }, - "pluginVersion": "10.1.0-124233pre", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" - }, - "editorMode": "code", - "expr": "rate(go_memstats_frees_total{job=\"tracee\"}[$__rate_interval])", - "instant": false, - "legendFormat": "__auto", - "range": true, - "refId": "A" - } - ], - "title": "Free Rate (avg)", - "type": "gauge" - }, - { - "datasource": { - "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "orange", - "value": null - } - ] - }, - "unit": "locale" - }, - "overrides": [] - }, - "gridPos": { - "h": 6, - "w": 3, - "x": 18, - "y": 26 - }, - "id": 18, - "options": { - "colorMode": "value", - "graphMode": "area", - "justifyMode": "auto", - "orientation": "auto", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false - }, - "textMode": "auto" - }, - "pluginVersion": "10.1.0-124233pre", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" - }, - "editorMode": "code", - "expr": "go_memstats_frees_total{job=\"tracee\"}", - "instant": false, - "legendFormat": "__auto", - "range": true, - "refId": "A" - } - ], - "title": "Free Count", - "type": "stat" - }, - { - "datasource": { - "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" - }, - "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 - }, - "insertNulls": false, - "lineInterpolation": "smooth", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "percentage", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "decbytes" - }, - "overrides": [] - }, - "gridPos": { - "h": 7, - "w": 15, - "x": 0, - "y": 32 - }, - "id": 20, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" - }, - "editorMode": "code", - "expr": "go_memstats_heap_inuse_bytes{job=\"tracee\"}", - "instant": false, - "legendFormat": "in use", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" - }, - "editorMode": "code", - "expr": "go_memstats_heap_alloc_bytes{job=\"tracee\"}", - "hide": false, - "instant": false, - "legendFormat": "alloc", - "range": true, - "refId": "B" - }, - { - "datasource": { - "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" - }, - "editorMode": "code", - "expr": "go_memstats_heap_released_bytes{job=\"tracee\"}", - "hide": false, - "instant": false, - "legendFormat": "released", - "range": true, - "refId": "C" - } - ], - "title": "Heap Data", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "decimals": 0, - "mappings": [], - "thresholds": { - "mode": "percentage", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "decbytes" - }, - "overrides": [] - }, - "gridPos": { - "h": 7, - "w": 3, - "x": 15, - "y": 32 - }, - "id": 22, - "options": { - "orientation": "auto", - "reduceOptions": { - "calcs": [ - "mean" - ], - "fields": "", - "values": false - }, - "showThresholdLabels": true, - "showThresholdMarkers": true - }, - "pluginVersion": "10.1.0-124233pre", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" - }, - "editorMode": "code", - "expr": "go_memstats_heap_inuse_bytes{job=\"tracee\"}", - "instant": false, - "legendFormat": "__auto", - "range": true, - "refId": "A" - } - ], - "title": "Heap In Use (avg)", - "type": "gauge" - }, - { - "datasource": { - "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" - }, - "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 - }, - "insertNulls": false, - "lineInterpolation": "smooth", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "percentage", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "none" - }, - "overrides": [] - }, - "gridPos": { - "h": 7, - "w": 15, - "x": 0, - "y": 39 - }, - "id": 21, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": false - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" - }, - "editorMode": "code", - "expr": "go_memstats_heap_objects{job=\"tracee\"}", - "instant": false, - "legendFormat": "__auto", - "range": true, - "refId": "A" - } - ], - "title": "Heap Objects", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "decimals": 0, - "mappings": [], - "thresholds": { - "mode": "percentage", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "locale" - }, - "overrides": [] - }, - "gridPos": { - "h": 7, - "w": 3, - "x": 15, - "y": 39 - }, - "id": 23, - "options": { - "orientation": "auto", - "reduceOptions": { - "calcs": [ - "mean" - ], - "fields": "", - "values": false - }, - "showThresholdLabels": true, - "showThresholdMarkers": true - }, - "pluginVersion": "10.1.0-124233pre", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" - }, - "editorMode": "code", - "expr": "go_memstats_heap_objects{job=\"tracee\"}", - "instant": false, - "legendFormat": "__auto", - "range": true, - "refId": "A" - } - ], - "title": "Heap Objects (avg)", - "type": "gauge" - }, - { - "collapsed": false, - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 46 - }, - "id": 24, - "panels": [], - "title": "GC", - "type": "row" - }, - { - "datasource": { - "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" - }, - "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 - }, - "insertNulls": false, - "lineInterpolation": "smooth", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "dashed" - } - }, - "mappings": [], - "thresholds": { - "mode": "percentage", - "steps": [ - { - "color": "green", - "value": null + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "decbytes" - }, - "overrides": [] - }, - "gridPos": { - "h": 7, - "w": 15, - "x": 0, - "y": 47 - }, - "id": 13, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" - }, - "editorMode": "code", - "expr": "go_memstats_next_gc_bytes{job=\"tracee\"}", - "instant": false, - "legendFormat": "__auto", - "range": true, - "refId": "A" - } - ], - "title": "GC Pressure Data", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "decimals": 0, - "mappings": [], - "thresholds": { - "mode": "percentage", - "steps": [ - { - "color": "green", - "value": null + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "barWidthFactor": 0.6, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": false, + "lineInterpolation": "smooth", + "lineStyle": { + "fill": "solid" + }, + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "dashed" + } }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "decbytes" - }, - "overrides": [] - }, - "gridPos": { - "h": 7, - "w": 3, - "x": 15, - "y": 47 - }, - "id": 26, - "options": { - "orientation": "auto", - "reduceOptions": { - "calcs": [ - "mean" + "mappings": [], + "thresholds": { + "mode": "percentage", + "steps": [ + { + "color": "green" + }, + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 6, + "w": 15, + "x": 0, + "y": 159 + }, + "id": 16, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": false + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "pluginVersion": "11.4.0-202090", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "PDC1078F23EBDF0E5" + }, + "editorMode": "code", + "expr": "rate(go_memstats_frees_total{job=\"tracee\"}[$__rate_interval])", + "instant": false, + "legendFormat": "__auto", + "range": true, + "refId": "A" + } ], - "fields": "", - "values": false + "title": "Free Rate", + "type": "timeseries" }, - "showThresholdLabels": true, - "showThresholdMarkers": true - }, - "pluginVersion": "10.1.0-124233pre", - "targets": [ { "datasource": { "type": "prometheus", "uid": "PDC1078F23EBDF0E5" }, - "editorMode": "code", - "expr": "go_memstats_next_gc_bytes{job=\"tracee\"}", - "instant": false, - "legendFormat": "__auto", - "range": true, - "refId": "A" - } - ], - "title": "GC Pressure Data (avg)", - "type": "gauge" - }, - { - "datasource": { - "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" - }, - "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 - }, - "insertNulls": false, - "lineInterpolation": "smooth", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "decimals": 0, + "mappings": [], + "thresholds": { + "mode": "percentage", + "steps": [ + { + "color": "green" + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "locale" }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" + "overrides": [] + }, + "gridPos": { + "h": 6, + "w": 3, + "x": 15, + "y": 159 + }, + "id": 17, + "options": { + "minVizHeight": 75, + "minVizWidth": 75, + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "mean" + ], + "fields": "/^\\{instance=\"localhost:3366\", job=\"tracee\"\\}$/", + "values": false }, - "thresholdsStyle": { - "mode": "dashed" - } - }, - "mappings": [], - "thresholds": { - "mode": "percentage", - "steps": [ - { - "color": "green", - "value": null + "showThresholdLabels": true, + "showThresholdMarkers": true, + "sizing": "auto" + }, + "pluginVersion": "11.4.0-202090", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "PDC1078F23EBDF0E5" }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "s" - }, - "overrides": [] - }, - "gridPos": { - "h": 7, - "w": 15, - "x": 0, - "y": 54 - }, - "id": 27, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true + "editorMode": "code", + "expr": "rate(go_memstats_frees_total{job=\"tracee\"}[$__rate_interval])", + "instant": false, + "legendFormat": "__auto", + "range": true, + "refId": "A" + } + ], + "title": "Free Rate (avg)", + "type": "gauge" }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ { "datasource": { "type": "prometheus", "uid": "PDC1078F23EBDF0E5" }, - "editorMode": "code", - "expr": "sum(rate(go_gc_duration_seconds_sum{job=\"tracee\"}[$__rate_interval]))", - "instant": false, - "legendFormat": "__auto", - "range": true, - "refId": "A" - } - ], - "title": "GC Pressure Time", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "decimals": 0, - "mappings": [], - "thresholds": { - "mode": "percentage", - "steps": [ - { - "color": "green", - "value": null + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "s" - }, - "overrides": [] - }, - "gridPos": { - "h": 7, - "w": 3, - "x": 15, - "y": 54 - }, - "id": 28, - "options": { - "orientation": "auto", - "reduceOptions": { - "calcs": [ - "mean" + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "orange" + } + ] + }, + "unit": "locale" + }, + "overrides": [] + }, + "gridPos": { + "h": 6, + "w": 3, + "x": 18, + "y": 159 + }, + "id": 18, + "options": { + "colorMode": "value", + "graphMode": "area", + "justifyMode": "auto", + "orientation": "auto", + "percentChangeColorMode": "standard", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "showPercentChange": false, + "textMode": "auto", + "wideLayout": true + }, + "pluginVersion": "11.4.0-202090", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "PDC1078F23EBDF0E5" + }, + "editorMode": "code", + "expr": "go_memstats_frees_total{job=\"tracee\"}", + "instant": false, + "legendFormat": "__auto", + "range": true, + "refId": "A" + } ], - "fields": "", - "values": false + "title": "Free Count", + "type": "stat" }, - "showThresholdLabels": true, - "showThresholdMarkers": true - }, - "pluginVersion": "10.1.0-124233pre", - "targets": [ { "datasource": { "type": "prometheus", "uid": "PDC1078F23EBDF0E5" }, - "editorMode": "code", - "expr": "sum(rate(go_gc_duration_seconds_sum{job=\"tracee\"}[$__rate_interval]))", - "instant": false, - "legendFormat": "__auto", - "range": true, - "refId": "A" - } - ], - "title": "GC Pressure Time (avg)", - "type": "gauge" - }, - { - "collapsed": false, - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 61 - }, - "id": 11, - "panels": [], - "title": "System", - "type": "row" - }, - { - "datasource": { - "type": "prometheus", - "uid": "PROMETHEUS" - }, - "description": "Each line represents ONE SPECIFIC CPU percentage, and all of them are summing ALL USER CPU TIME in a stack.", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisGridShow": true, - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 8, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "insertNulls": false, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "barWidthFactor": 0.6, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": false, + "lineInterpolation": "smooth", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "percentage", + "steps": [ + { + "color": "green" + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "decbytes" }, - "showPoints": "never", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "normal" + "overrides": [] + }, + "gridPos": { + "h": 7, + "w": 15, + "x": 0, + "y": 165 + }, + "id": 20, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true }, - "thresholdsStyle": { - "mode": "area" + "tooltip": { + "mode": "single", + "sort": "none" } }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "transparent", - "value": null - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 6, - "w": 24, - "x": 0, - "y": 62 - }, - "id": 5, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": false + "pluginVersion": "11.4.0-202090", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "PDC1078F23EBDF0E5" + }, + "editorMode": "code", + "expr": "go_memstats_heap_inuse_bytes{job=\"tracee\"}", + "instant": false, + "legendFormat": "in use", + "range": true, + "refId": "A" + }, + { + "datasource": { + "type": "prometheus", + "uid": "PDC1078F23EBDF0E5" + }, + "editorMode": "code", + "expr": "go_memstats_heap_alloc_bytes{job=\"tracee\"}", + "hide": false, + "instant": false, + "legendFormat": "alloc", + "range": true, + "refId": "B" + }, + { + "datasource": { + "type": "prometheus", + "uid": "PDC1078F23EBDF0E5" + }, + "editorMode": "code", + "expr": "go_memstats_heap_released_bytes{job=\"tracee\"}", + "hide": false, + "instant": false, + "legendFormat": "released", + "range": true, + "refId": "C" + } + ], + "title": "Heap Data", + "type": "timeseries" }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ { "datasource": { - "type": "prometheus", - "uid": "PROMETHEUS" - }, - "editorMode": "code", - "expr": "rate(node_cpu_seconds_total{mode=\"user\"}[$__rate_interval])*100", - "legendFormat": "USER", - "range": true, - "refId": "USER" - } - ], - "title": "USER PER CPU TIME STACKED", - "transparent": true, - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" - }, - "description": "Each line represents ONE SPECIFIC CPU percentage, and all of them are summing ALL SYSTEM CPU TIME in a stack.", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" + "type": "prometheus", + "uid": "PDC1078F23EBDF0E5" }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisGridShow": true, - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 8, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "decimals": 0, + "mappings": [], + "thresholds": { + "mode": "percentage", + "steps": [ + { + "color": "green" + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "decbytes" }, - "insertNulls": false, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" + "overrides": [] + }, + "gridPos": { + "h": 7, + "w": 3, + "x": 15, + "y": 165 + }, + "id": 22, + "options": { + "minVizHeight": 75, + "minVizWidth": 75, + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "mean" + ], + "fields": "", + "values": false }, - "showPoints": "never", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "normal" + "showThresholdLabels": true, + "showThresholdMarkers": true, + "sizing": "auto" + }, + "pluginVersion": "11.4.0-202090", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "PDC1078F23EBDF0E5" + }, + "editorMode": "code", + "expr": "go_memstats_heap_inuse_bytes{job=\"tracee\"}", + "instant": false, + "legendFormat": "__auto", + "range": true, + "refId": "A" + } + ], + "title": "Heap In Use (avg)", + "type": "gauge" + }, + { + "datasource": { + "type": "prometheus", + "uid": "PDC1078F23EBDF0E5" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "barWidthFactor": 0.6, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": false, + "lineInterpolation": "smooth", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "percentage", + "steps": [ + { + "color": "green" + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "none" }, - "thresholdsStyle": { - "mode": "area" + "overrides": [] + }, + "gridPos": { + "h": 7, + "w": 15, + "x": 0, + "y": 172 + }, + "id": 21, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": false + }, + "tooltip": { + "mode": "single", + "sort": "none" } }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "transparent", - "value": null - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 6, - "w": 24, - "x": 0, - "y": 68 - }, - "id": 8, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": false + "pluginVersion": "11.4.0-202090", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "PDC1078F23EBDF0E5" + }, + "editorMode": "code", + "expr": "go_memstats_heap_objects{job=\"tracee\"}", + "instant": false, + "legendFormat": "__auto", + "range": true, + "refId": "A" + } + ], + "title": "Heap Objects", + "type": "timeseries" }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ { "datasource": { "type": "prometheus", - "uid": "PROMETHEUS" + "uid": "PDC1078F23EBDF0E5" }, - "editorMode": "code", - "expr": "rate(node_cpu_seconds_total{mode=\"system\"}[$__rate_interval])*100", - "legendFormat": "SYSTEM", - "range": true, - "refId": "SYSTEM" + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "decimals": 0, + "mappings": [], + "thresholds": { + "mode": "percentage", + "steps": [ + { + "color": "green" + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "locale" + }, + "overrides": [] + }, + "gridPos": { + "h": 7, + "w": 3, + "x": 15, + "y": 172 + }, + "id": 23, + "options": { + "minVizHeight": 75, + "minVizWidth": 75, + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "mean" + ], + "fields": "", + "values": false + }, + "showThresholdLabels": true, + "showThresholdMarkers": true, + "sizing": "auto" + }, + "pluginVersion": "11.4.0-202090", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "PDC1078F23EBDF0E5" + }, + "editorMode": "code", + "expr": "go_memstats_heap_objects{job=\"tracee\"}", + "instant": false, + "legendFormat": "__auto", + "range": true, + "refId": "A" + } + ], + "title": "Heap Objects (avg)", + "type": "gauge" } ], - "title": "SYSTEM PERCPU TIME STACKED", - "transparent": true, - "type": "timeseries" + "title": "Heap", + "type": "row" }, { - "datasource": { - "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" + "collapsed": true, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 59 }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" + "id": 24, + "panels": [ + { + "datasource": { + "type": "prometheus", + "uid": "PDC1078F23EBDF0E5" }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisGridShow": true, - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 8, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "insertNulls": false, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "barWidthFactor": 0.6, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": false, + "lineInterpolation": "smooth", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "dashed" + } + }, + "mappings": [], + "thresholds": { + "mode": "percentage", + "steps": [ + { + "color": "green" + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "decbytes" }, - "showPoints": "never", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" + "overrides": [] + }, + "gridPos": { + "h": 7, + "w": 15, + "x": 0, + "y": 453 + }, + "id": 13, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true }, - "thresholdsStyle": { - "mode": "area" + "tooltip": { + "mode": "single", + "sort": "none" } }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "transparent", - "value": null - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 6, - "w": 24, - "x": 0, - "y": 74 - }, - "id": 9, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": false + "pluginVersion": "11.4.0-202090", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "PDC1078F23EBDF0E5" + }, + "editorMode": "code", + "expr": "go_memstats_next_gc_bytes{job=\"tracee\"}", + "instant": false, + "legendFormat": "__auto", + "range": true, + "refId": "A" + } + ], + "title": "GC Pressure Data", + "type": "timeseries" }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ { "datasource": { "type": "prometheus", "uid": "PDC1078F23EBDF0E5" }, - "editorMode": "code", - "expr": "node_memory_MemTotal_bytes/1024/1024/1024", - "hide": false, - "legendFormat": "TOTAL", - "range": true, - "refId": "TOTAL" + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "decimals": 0, + "mappings": [], + "thresholds": { + "mode": "percentage", + "steps": [ + { + "color": "green" + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "decbytes" + }, + "overrides": [] + }, + "gridPos": { + "h": 7, + "w": 3, + "x": 15, + "y": 453 + }, + "id": 26, + "options": { + "minVizHeight": 75, + "minVizWidth": 75, + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "mean" + ], + "fields": "", + "values": false + }, + "showThresholdLabels": true, + "showThresholdMarkers": true, + "sizing": "auto" + }, + "pluginVersion": "11.4.0-202090", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "PDC1078F23EBDF0E5" + }, + "editorMode": "code", + "expr": "go_memstats_next_gc_bytes{job=\"tracee\"}", + "instant": false, + "legendFormat": "__auto", + "range": true, + "refId": "A" + } + ], + "title": "GC Pressure Data (avg)", + "type": "gauge" }, { "datasource": { "type": "prometheus", "uid": "PDC1078F23EBDF0E5" }, - "editorMode": "code", - "expr": "node_memory_MemFree_bytes/1024/1024/1024", - "hide": false, - "legendFormat": "FREE", - "range": true, - "refId": "FREE" + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "barWidthFactor": 0.6, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": false, + "lineInterpolation": "smooth", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "dashed" + } + }, + "mappings": [], + "thresholds": { + "mode": "percentage", + "steps": [ + { + "color": "green" + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "s" + }, + "overrides": [] + }, + "gridPos": { + "h": 7, + "w": 15, + "x": 0, + "y": 460 + }, + "id": 27, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "pluginVersion": "11.4.0-202090", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "PDC1078F23EBDF0E5" + }, + "editorMode": "code", + "expr": "sum(rate(go_gc_duration_seconds_sum{job=\"tracee\"}[$__rate_interval]))", + "instant": false, + "legendFormat": "__auto", + "range": true, + "refId": "A" + } + ], + "title": "GC Pressure Time", + "type": "timeseries" }, { "datasource": { "type": "prometheus", "uid": "PDC1078F23EBDF0E5" }, - "editorMode": "code", - "expr": "(node_memory_SReclaimable_bytes+node_memory_KReclaimable_bytes)/1024/1024/1024", - "hide": false, - "legendFormat": "RECLAIMABLE", - "range": true, - "refId": "RECLAIMABLE" - }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "decimals": 0, + "mappings": [], + "thresholds": { + "mode": "percentage", + "steps": [ + { + "color": "green" + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "s" + }, + "overrides": [] + }, + "gridPos": { + "h": 7, + "w": 3, + "x": 15, + "y": 460 + }, + "id": 28, + "options": { + "minVizHeight": 75, + "minVizWidth": 75, + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "mean" + ], + "fields": "", + "values": false + }, + "showThresholdLabels": true, + "showThresholdMarkers": true, + "sizing": "auto" + }, + "pluginVersion": "11.4.0-202090", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "PDC1078F23EBDF0E5" + }, + "editorMode": "code", + "expr": "sum(rate(go_gc_duration_seconds_sum{job=\"tracee\"}[$__rate_interval]))", + "instant": false, + "legendFormat": "__auto", + "range": true, + "refId": "A" + } + ], + "title": "GC Pressure Time (avg)", + "type": "gauge" + } + ], + "title": "GC", + "type": "row" + }, + { + "collapsed": true, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 60 + }, + "id": 11, + "panels": [ { "datasource": { "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" + "uid": "PROMETHEUS" }, - "editorMode": "code", - "expr": "node_memory_Active_bytes/1024/1024/1024", - "hide": false, - "legendFormat": "ACTIVE", - "range": true, - "refId": "ACTIVE" + "description": "Each line represents ONE SPECIFIC CPU percentage, and all of them are summing ALL USER CPU TIME in a stack.", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisGridShow": true, + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "barWidthFactor": 0.6, + "drawStyle": "line", + "fillOpacity": 8, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": false, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "normal" + }, + "thresholdsStyle": { + "mode": "area" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "transparent" + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 6, + "w": 24, + "x": 0, + "y": 454 + }, + "id": 5, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": false + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "pluginVersion": "11.4.0-202090", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "PROMETHEUS" + }, + "editorMode": "code", + "expr": "rate(node_cpu_seconds_total{mode=\"user\"}[$__rate_interval])*100", + "legendFormat": "USER", + "range": true, + "refId": "USER" + } + ], + "title": "USER PER CPU TIME STACKED", + "transparent": true, + "type": "timeseries" }, { "datasource": { "type": "prometheus", "uid": "PDC1078F23EBDF0E5" }, - "editorMode": "code", - "expr": "node_memory_Inactive_bytes/1024/1024/1024", - "hide": false, - "legendFormat": "INACTIVE", - "range": true, - "refId": "INACTIVE" + "description": "Each line represents ONE SPECIFIC CPU percentage, and all of them are summing ALL SYSTEM CPU TIME in a stack.", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisGridShow": true, + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "barWidthFactor": 0.6, + "drawStyle": "line", + "fillOpacity": 8, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": false, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "normal" + }, + "thresholdsStyle": { + "mode": "area" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "transparent" + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 6, + "w": 24, + "x": 0, + "y": 460 + }, + "id": 8, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": false + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "pluginVersion": "11.4.0-202090", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "PROMETHEUS" + }, + "editorMode": "code", + "expr": "rate(node_cpu_seconds_total{mode=\"system\"}[$__rate_interval])*100", + "legendFormat": "SYSTEM", + "range": true, + "refId": "SYSTEM" + } + ], + "title": "SYSTEM PERCPU TIME STACKED", + "transparent": true, + "type": "timeseries" }, { "datasource": { "type": "prometheus", "uid": "PDC1078F23EBDF0E5" }, - "editorMode": "code", - "expr": "(node_memory_Cached_bytes+node_memory_Buffers_bytes)/1024/1024/1024", - "hide": false, - "legendFormat": "FS CACHE + BUFFERS", - "range": true, - "refId": "FS CACHE + BUFFERS" + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisGridShow": true, + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "barWidthFactor": 0.6, + "drawStyle": "line", + "fillOpacity": 8, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": false, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "area" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "transparent" + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 6, + "w": 24, + "x": 0, + "y": 466 + }, + "id": 9, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": false + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "pluginVersion": "11.4.0-202090", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "PDC1078F23EBDF0E5" + }, + "editorMode": "code", + "expr": "node_memory_MemTotal_bytes/1024/1024/1024", + "hide": false, + "legendFormat": "TOTAL", + "range": true, + "refId": "TOTAL" + }, + { + "datasource": { + "type": "prometheus", + "uid": "PDC1078F23EBDF0E5" + }, + "editorMode": "code", + "expr": "node_memory_MemFree_bytes/1024/1024/1024", + "hide": false, + "legendFormat": "FREE", + "range": true, + "refId": "FREE" + }, + { + "datasource": { + "type": "prometheus", + "uid": "PDC1078F23EBDF0E5" + }, + "editorMode": "code", + "expr": "(node_memory_SReclaimable_bytes+node_memory_KReclaimable_bytes)/1024/1024/1024", + "hide": false, + "legendFormat": "RECLAIMABLE", + "range": true, + "refId": "RECLAIMABLE" + }, + { + "datasource": { + "type": "prometheus", + "uid": "PDC1078F23EBDF0E5" + }, + "editorMode": "code", + "expr": "node_memory_Active_bytes/1024/1024/1024", + "hide": false, + "legendFormat": "ACTIVE", + "range": true, + "refId": "ACTIVE" + }, + { + "datasource": { + "type": "prometheus", + "uid": "PDC1078F23EBDF0E5" + }, + "editorMode": "code", + "expr": "node_memory_Inactive_bytes/1024/1024/1024", + "hide": false, + "legendFormat": "INACTIVE", + "range": true, + "refId": "INACTIVE" + }, + { + "datasource": { + "type": "prometheus", + "uid": "PDC1078F23EBDF0E5" + }, + "editorMode": "code", + "expr": "(node_memory_Cached_bytes+node_memory_Buffers_bytes)/1024/1024/1024", + "hide": false, + "legendFormat": "FS CACHE + BUFFERS", + "range": true, + "refId": "FS CACHE + BUFFERS" + } + ], + "title": "HOST MEMORY IN GB", + "transparent": true, + "type": "timeseries" } ], - "title": "HOST MEMORY IN GB", - "transparent": true, - "type": "timeseries" + "title": "System", + "type": "row" } ], + "preload": false, "refresh": "", - "schemaVersion": 38, - "style": "dark", + "schemaVersion": 40, "tags": [], "templating": { "list": [] @@ -2343,7 +2641,7 @@ "timepicker": {}, "timezone": "", "title": "TRACEE", - "uid": "64305268-1aa8-4b02-bb2a-c338bb747159", + "uid": "ce12w6xoczhmob", "version": 1, "weekStart": "" }