{ "__inputs": [], "__requires": [ { "type": "grafana", "id": "grafana", "name": "Grafana", "version": "4.2.0" }, { "type": "panel", "id": "graph", "name": "Graph", "version": "" } ], "annotations": { "list": [] }, "editable": true, "gnetId": null, "graphTooltip": 1, "hideControls": false, "id": null, "links": [ { "asDropdown": false, "icon": "external link", "tags": [ "snmpcollector", "gvm", "pro" ], "type": "dashboards" } ], "refresh": "5m", "rows": [ { "collapse": false, "height": "250px", "panels": [ { "aliasColors": { "Memory Heap": "#EAB839" }, "bars": false, "datasource": "$datasource", "description": "Allocated heap objects", "editable": true, "error": false, "fill": 0, "grid": {}, "id": 1, "interval": ">60s", "legend": { "alignAsTable": true, "avg": true, "current": false, "max": true, "min": true, "show": true, "sort": "avg", "sortDesc": true, "total": false, "values": true }, "lines": true, "linewidth": 1, "links": [], "nullPointMode": "null", "percentage": false, "pointradius": 5, "points": false, "renderer": "flot", "seriesOverrides": [], "span": 4, "stack": false, "steppedLine": false, "targets": [ { "alias": "$tag_instance", "dsType": "influxdb", "groupBy": [ { "params": [ "1m" ], "type": "time" }, { "params": [ "instance" ], "type": "tag" }, { "params": [ "null" ], "type": "fill" } ], "measurement": "selfmon_gvm", "policy": "default", "query": "SELECT mean(\"mem.heapAlloc\") FROM \"selfmon_gvm\" WHERE \"instance\" =~ /$Instance$/ AND $timeFilter GROUP BY time(1m), \"instance\" fill(null)", "refId": "A", "resultFormat": "time_series", "select": [ [ { "params": [ "mem.heapAlloc" ], "type": "field" }, { "params": [], "type": "mean" } ] ], "tags": [ { "key": "instance", "operator": "=~", "value": "/$Instance$/" } ], "target": "" } ], "thresholds": [], "timeFrom": null, "timeShift": null, "title": "GVM Memory Heap (bytes)", "tooltip": { "shared": true, "sort": 0, "value_type": "cumulative" }, "transparent": false, "type": "graph", "xaxis": { "mode": "time", "name": null, "show": true, "values": [] }, "yaxes": [ { "format": "decbytes", "logBase": 1, "max": null, "min": 0, "show": true }, { "format": "short", "logBase": 1, "max": null, "min": null, "show": true } ] }, { "aliasColors": { "Mallocs": "#EAB839" }, "bars": false, "datasource": "$datasource", "description": "Number of Mallocs issued to the system", "editable": true, "error": false, "fill": 0, "grid": {}, "id": 2, "interval": ">60s", "legend": { "alignAsTable": true, "avg": true, "current": false, "max": true, "min": true, "show": true, "total": false, "values": true }, "lines": true, "linewidth": 1, "links": [], "nullPointMode": "null", "percentage": false, "pointradius": 5, "points": false, "renderer": "flot", "seriesOverrides": [], "span": 4, "stack": false, "steppedLine": false, "targets": [ { "alias": "$tag_instance", "dsType": "influxdb", "groupBy": [ { "params": [ "$time_interval" ], "type": "time" }, { "params": [ "instance" ], "type": "tag" }, { "params": [ "null" ], "type": "fill" } ], "measurement": "selfmon_gvm", "policy": "default", "query": "SELECT non_negative_derivative(sum(\"mem.mallocs\"), 30s) FROM \"selfmon_gvm\" WHERE \"instance\" =~ /$Instance$/ AND $timeFilter GROUP BY time(1m), \"instance\" fill(null)", "refId": "A", "resultFormat": "time_series", "select": [ [ { "params": [ "mem.mallocs" ], "type": "field" }, { "params": [], "type": "sum" }, { "params": [ "$time_interval" ], "type": "non_negative_derivative" } ] ], "tags": [ { "key": "instance", "operator": "=~", "value": "/$Instance$/" } ], "target": "" } ], "thresholds": [], "timeFrom": null, "timeShift": null, "title": "GVM Mallocs (per sec)", "tooltip": { "shared": true, "sort": 0, "value_type": "cumulative" }, "type": "graph", "xaxis": { "mode": "time", "name": null, "show": true, "values": [] }, "yaxes": [ { "format": "ops", "logBase": 1, "max": null, "min": 0, "show": true }, { "format": "short", "logBase": 1, "max": null, "min": null, "show": true } ] }, { "aliasColors": { "Frees": "#6ED0E0" }, "bars": false, "datasource": "$datasource", "description": "Number of frees issued to the system", "editable": true, "error": false, "fill": 0, "grid": {}, "id": 9, "interval": ">60s", "legend": { "alignAsTable": true, "avg": true, "current": false, "max": true, "min": true, "show": true, "total": false, "values": true }, "lines": true, "linewidth": 1, "links": [], "nullPointMode": "null", "percentage": false, "pointradius": 5, "points": false, "renderer": "flot", "seriesOverrides": [], "span": 4, "stack": false, "steppedLine": false, "targets": [ { "alias": "$tag_instance", "dsType": "influxdb", "groupBy": [ { "params": [ "$time_interval" ], "type": "time" }, { "params": [ "instance" ], "type": "tag" }, { "params": [ "null" ], "type": "fill" } ], "measurement": "selfmon_gvm", "policy": "default", "query": "SELECT non_negative_derivative(sum(\"mem.frees\"), 1m) FROM \"selfmon_gvm\" WHERE \"instance\" =~ /$Instance$/ AND $timeFilter GROUP BY time(1m), \"instance\" fill(null)", "refId": "A", "resultFormat": "time_series", "select": [ [ { "params": [ "mem.frees" ], "type": "field" }, { "params": [], "type": "mean" }, { "params": [ "$time_interval" ], "type": "non_negative_derivative" } ] ], "tags": [ { "key": "instance", "operator": "=~", "value": "/$Instance$/" } ], "target": "" } ], "thresholds": [], "timeFrom": null, "timeShift": null, "title": "GVM Frees (per sec)", "tooltip": { "shared": true, "sort": 0, "value_type": "cumulative" }, "type": "graph", "xaxis": { "mode": "time", "name": null, "show": true, "values": [] }, "yaxes": [ { "format": "ops", "logBase": 1, "max": null, "min": 0, "show": true }, { "format": "short", "logBase": 1, "max": null, "min": null, "show": true } ] } ], "repeat": null, "repeatIteration": null, "repeatRowId": null, "showTitle": false, "title": "Row", "titleSize": "h6" }, { "collapse": false, "height": "250px", "panels": [ { "aliasColors": {}, "bars": false, "datasource": "$datasource", "editable": true, "error": false, "fill": 0, "grid": {}, "id": 5, "interval": ">30s", "legend": { "alignAsTable": true, "avg": true, "current": false, "max": true, "min": true, "show": true, "total": false, "values": true }, "lines": true, "linewidth": 1, "links": [], "nullPointMode": "null", "percentage": false, "pointradius": 5, "points": false, "renderer": "flot", "seriesOverrides": [], "span": 4, "stack": false, "steppedLine": false, "targets": [ { "alias": "$tag_instance", "dsType": "influxdb", "groupBy": [ { "params": [ "$time_interval" ], "type": "time" }, { "params": [ "instance" ], "type": "tag" }, { "params": [ "null" ], "type": "fill" } ], "measurement": "selfmon_gvm", "policy": "default", "query": "SELECT mean(\"runtime_goroutines\") FROM \"selfmon_gvm\" WHERE \"instance\" =~ /$Instance$/ AND $timeFilter GROUP BY time(1m), \"instance\" fill(null)", "refId": "A", "resultFormat": "time_series", "select": [ [ { "params": [ "runtime_goroutines" ], "type": "field" }, { "params": [], "type": "mean" } ] ], "tags": [ { "key": "instance", "operator": "=~", "value": "/$Instance$/" } ], "target": "" } ], "thresholds": [], "timeFrom": null, "timeShift": null, "title": "#GVM GoRoutines", "tooltip": { "shared": true, "sort": 0, "value_type": "cumulative" }, "type": "graph", "xaxis": { "mode": "time", "name": null, "show": true, "values": [] }, "yaxes": [ { "format": "short", "logBase": 1, "max": null, "min": 0, "show": true }, { "format": "short", "logBase": 1, "max": null, "min": null, "show": true } ] }, { "aliasColors": { "Allocated (bytes)": "#EAB839" }, "bars": false, "datasource": "$datasource", "description": "Total bytes allocated", "editable": true, "error": false, "fill": 0, "grid": {}, "id": 3, "interval": ">60s", "legend": { "alignAsTable": true, "avg": true, "current": false, "max": true, "min": true, "show": true, "sort": "max", "sortDesc": true, "total": false, "values": true }, "lines": true, "linewidth": 1, "links": [], "nullPointMode": "null", "percentage": false, "pointradius": 5, "points": false, "renderer": "flot", "seriesOverrides": [], "span": 4, "stack": false, "steppedLine": false, "targets": [ { "alias": "$tag_instance", "dsType": "influxdb", "groupBy": [ { "params": [ "$time_interval" ], "type": "time" }, { "params": [ "instance" ], "type": "tag" }, { "params": [ "null" ], "type": "fill" } ], "measurement": "selfmon_gvm", "policy": "default", "query": "SELECT mean(\"mem.alloc\") FROM \"selfmon_gvm\" WHERE \"instance\" =~ /$Instance$/ AND $timeFilter GROUP BY time(1m), \"instance\" fill(null)", "refId": "A", "resultFormat": "time_series", "select": [ [ { "params": [ "mem.alloc" ], "type": "field" }, { "params": [], "type": "mean" } ] ], "tags": [ { "key": "instance", "operator": "=~", "value": "/$Instance$/" } ], "target": "" } ], "thresholds": [], "timeFrom": null, "timeShift": null, "title": "GVM Allocated (bytes)", "tooltip": { "shared": true, "sort": 0, "value_type": "cumulative" }, "type": "graph", "xaxis": { "mode": "time", "name": null, "show": true, "values": [] }, "yaxes": [ { "format": "decbytes", "logBase": 1, "max": null, "min": 0, "show": true }, { "format": "short", "logBase": 1, "max": null, "min": null, "show": true } ] }, { "aliasColors": { "Memory Stack": "#EF843C" }, "bars": false, "datasource": "$datasource", "description": "bytes in stack spans. In-use stack spans have at least one stack in them. These spans can only be used for other stacks of the same size. There is no StackIdle because unused stack spans are returned to the heap (and hence counted toward HeapIdle).", "editable": true, "error": false, "fill": 0, "grid": {}, "id": 4, "interval": ">30s", "legend": { "alignAsTable": true, "avg": true, "current": false, "max": true, "min": true, "show": true, "total": false, "values": true }, "lines": true, "linewidth": 1, "links": [], "nullPointMode": "null", "percentage": false, "pointradius": 5, "points": false, "renderer": "flot", "seriesOverrides": [], "span": 4, "stack": false, "steppedLine": false, "targets": [ { "alias": "$tag_instance", "dsType": "influxdb", "groupBy": [ { "params": [ "$time_interval" ], "type": "time" }, { "params": [ "instance" ], "type": "tag" }, { "params": [ "null" ], "type": "fill" } ], "measurement": "selfmon_gvm", "policy": "default", "query": "SELECT mean(\"mem.stackInuse\") FROM \"selfmon_gvm\" WHERE \"instance\" =~ /$Instance$/ AND $timeFilter GROUP BY time(1m), \"instance\" fill(null)", "refId": "A", "resultFormat": "time_series", "select": [ [ { "params": [ "mem.stackInuse" ], "type": "field" }, { "params": [], "type": "mean" } ] ], "tags": [ { "key": "instance", "operator": "=~", "value": "/$Instance$/" } ], "target": "" } ], "thresholds": [], "timeFrom": null, "timeShift": null, "title": "GVM Memory Stack InUse (bytes)", "tooltip": { "shared": true, "sort": 0, "value_type": "cumulative" }, "type": "graph", "xaxis": { "mode": "time", "name": null, "show": true, "values": [] }, "yaxes": [ { "format": "decbytes", "logBase": 1, "max": null, "min": 0, "show": true }, { "format": "short", "logBase": 1, "max": null, "min": null, "show": true } ] } ], "repeat": null, "repeatIteration": null, "repeatRowId": null, "showTitle": false, "title": "New row", "titleSize": "h6" }, { "collapse": false, "height": "250px", "panels": [ { "aliasColors": { "GC Total Pause": "#508642" }, "bars": false, "datasource": "$datasource", "description": "Accumulated paused in ms", "editable": true, "error": false, "fill": 0, "grid": {}, "id": 12, "interval": ">30s", "legend": { "alignAsTable": true, "avg": true, "current": false, "max": true, "min": true, "show": true, "total": false, "values": true }, "lines": true, "linewidth": 1, "links": [], "nullPointMode": "null", "percentage": false, "pointradius": 5, "points": false, "renderer": "flot", "seriesOverrides": [], "span": 4, "stack": false, "steppedLine": false, "targets": [ { "alias": "$tag_instance", "dsType": "influxdb", "groupBy": [ { "params": [ "$time_interval" ], "type": "time" }, { "params": [ "instance" ], "type": "tag" }, { "params": [ "null" ], "type": "fill" } ], "measurement": "selfmon_gvm", "policy": "default", "query": "SELECT non_negative_derivative(mean(\"gc.total_pause_ns\"), 1m) FROM \"selfmon_gvm\" WHERE \"instance\" =~ /$Instance$/ AND $timeFilter GROUP BY time(30s), \"instance\" fill(null)", "refId": "B", "resultFormat": "time_series", "select": [ [ { "params": [ "gc.total_pause_ns" ], "type": "field" }, { "params": [], "type": "mean" }, { "params": [ "$time_interval" ], "type": "non_negative_derivative" } ] ], "tags": [ { "key": "instance", "operator": "=~", "value": "/$Instance$/" } ], "target": "" } ], "thresholds": [], "timeFrom": null, "timeShift": null, "title": "GVM GC Total Pause (ms)", "tooltip": { "shared": true, "sort": 0, "value_type": "cumulative" }, "type": "graph", "xaxis": { "mode": "time", "name": null, "show": true, "values": [] }, "yaxes": [ { "format": "ms", "logBase": 1, "max": null, "min": 0, "show": true }, { "format": "short", "logBase": 1, "max": null, "min": null, "show": true } ] }, { "aliasColors": { "GC Pause": "#629E51" }, "bars": false, "datasource": "$datasource", "description": "Accumulated paused in ms since last gathered statistic", "editable": true, "error": false, "fill": 0, "grid": {}, "id": 11, "interval": ">30s", "legend": { "alignAsTable": true, "avg": true, "current": false, "max": true, "min": true, "show": true, "total": false, "values": true }, "lines": true, "linewidth": 1, "links": [], "nullPointMode": "null", "percentage": false, "pointradius": 5, "points": false, "renderer": "flot", "seriesOverrides": [], "span": 4, "stack": false, "steppedLine": false, "targets": [ { "alias": "$tag_instance", "dsType": "influxdb", "groupBy": [ { "params": [ "$time_interval" ], "type": "time" }, { "params": [ "instance" ], "type": "tag" }, { "params": [ "null" ], "type": "fill" } ], "measurement": "selfmon_gvm", "policy": "default", "query": "SELECT mean(\"gc.pause_per_interval\") FROM \"selfmon_gvm\" WHERE \"instance\" =~ /$Instance$/ AND $timeFilter GROUP BY time(1m), \"instance\" fill(null)", "refId": "B", "resultFormat": "time_series", "select": [ [ { "params": [ "gc.pause_per_interval" ], "type": "field" }, { "params": [], "type": "mean" } ] ], "tags": [ { "key": "instance", "operator": "=~", "value": "/$Instance$/" } ], "target": "" } ], "thresholds": [], "timeFrom": null, "timeShift": null, "title": "GVM GC Pause x interval", "tooltip": { "shared": true, "sort": 0, "value_type": "cumulative" }, "type": "graph", "xaxis": { "mode": "time", "name": null, "show": true, "values": [] }, "yaxes": [ { "format": "short", "logBase": 1, "max": null, "min": 0, "show": true }, { "format": "short", "logBase": 1, "max": null, "min": null, "show": true } ] }, { "aliasColors": {}, "bars": false, "datasource": "$datasource", "description": "Number of GC's since last gathered statistic", "editable": true, "error": false, "fill": 0, "grid": {}, "id": 6, "interval": ">30s", "legend": { "alignAsTable": true, "avg": true, "current": false, "max": true, "min": true, "show": true, "total": false, "values": true }, "lines": true, "linewidth": 1, "links": [], "nullPointMode": "null", "percentage": false, "pointradius": 5, "points": false, "renderer": "flot", "seriesOverrides": [], "span": 4, "stack": false, "steppedLine": false, "targets": [ { "alias": "$tag_instance", "dsType": "influxdb", "groupBy": [ { "params": [ "$time_interval" ], "type": "time" }, { "params": [ "instance" ], "type": "tag" }, { "params": [ "null" ], "type": "fill" } ], "measurement": "selfmon_gvm", "policy": "default", "query": "SELECT mean(\"gc.gc_per_interval\") FROM \"selfmon_gvm\" WHERE \"instance\" =~ /$Instance$/ AND $timeFilter GROUP BY time(1m), \"instance\" fill(null)", "refId": "A", "resultFormat": "time_series", "select": [ [ { "params": [ "gc.gc_per_interval" ], "type": "field" }, { "params": [], "type": "mean" } ] ], "tags": [ { "key": "instance", "operator": "=~", "value": "/$Instance$/" } ], "target": "" } ], "thresholds": [], "timeFrom": null, "timeShift": null, "title": "GVM GC x interval", "tooltip": { "shared": true, "sort": 0, "value_type": "cumulative" }, "type": "graph", "xaxis": { "mode": "time", "name": null, "show": true, "values": [] }, "yaxes": [ { "format": "short", "logBase": 1, "max": null, "min": 0, "show": true }, { "format": "short", "logBase": 1, "max": null, "min": null, "show": true } ] } ], "repeat": null, "repeatIteration": null, "repeatRowId": null, "showTitle": false, "title": "New row", "titleSize": "h6" } ], "schemaVersion": 14, "style": "dark", "tags": [ "control", "snmpcollector", "gvm" ], "templating": { "list": [ { "auto": true, "auto_count": 500, "auto_min": "1m", "current": { "text": "auto", "value": "$__auto_interval" }, "hide": 0, "label": "Interval", "name": "time_interval", "options": [ { "selected": true, "text": "auto", "value": "$__auto_interval" }, { "selected": false, "text": "1m", "value": "1m" }, { "selected": false, "text": "10m", "value": "10m" }, { "selected": false, "text": "30m", "value": "30m" }, { "selected": false, "text": "1h", "value": "1h" }, { "selected": false, "text": "6h", "value": "6h" }, { "selected": false, "text": "12h", "value": "12h" }, { "selected": false, "text": "1d", "value": "1d" }, { "selected": false, "text": "7d", "value": "7d" }, { "selected": false, "text": "14d", "value": "14d" }, { "selected": false, "text": "30d", "value": "30d" } ], "query": "1m,10m,30m,1h,6h,12h,1d,7d,14d,30d", "refresh": 2, "type": "interval" }, { "current": { "text": "Influx AGENT_METRICS", "value": "Influx AGENT_METRICS" }, "hide": 0, "label": "Datasource", "name": "datasource", "options": [], "query": "influxdb", "refresh": 1, "regex": "Influx.*", "type": "datasource" }, { "allFormat": "regex values", "allValue": null, "current": {}, "datasource": "$datasource", "hide": 0, "includeAll": true, "label": null, "multi": true, "multiFormat": "regex values", "name": "Instance", "options": [], "query": "SHOW TAG VALUES FROM agent_metrics.\"1y\".selfmon_gvm WITH KEY = \"instance\"", "refresh": 1, "regex": "", "sort": 0, "tagValuesQuery": "", "tags": [], "tagsQuery": "", "type": "query", "useTags": false } ] }, "time": { "from": "now-6h", "to": "now-2m" }, "timepicker": { "now": true, "nowDelay": "2m", "refresh_intervals": [ "1m", "5m", "15m", "30m", "1h", "2h", "1d" ], "time_options": [ "5m", "15m", "1h", "6h", "12h", "24h", "2d", "7d", "30d" ] }, "timezone": "browser", "title": "SNMPCOLLECTOR GVM", "version": 18 }