{ "__inputs": [ { "description": "", "label": "Prometheus", "name": "DS_PROMETHEUS", "pluginId": "prometheus", "pluginName": "Prometheus", "type": "datasource" } ], "annotations": { "list": [ { "builtIn": 1, "datasource": "-- Grafana --", "enable": true, "hide": true, "iconColor": "rgba(0, 211, 255, 1)", "name": "Annotations & Alerts", "type": "dashboard" } ] }, "editable": true, "gnetId": null, "graphTooltip": 0, "hideControls": false, "id": 10, "links": [], "refresh": "5s", "rows": [ { "collapse": false, "height": "250px", "panels": [ { "aliasColors": { "ETS Limit": "#508642" }, "bars": false, "dashLength": 10, "dashes": false, "datasource": "${DS_PROMETHEUS}", "fill": 1, "id": 12, "legend": { "avg": false, "current": false, "max": false, "min": false, "show": true, "total": false, "values": false }, "lines": true, "linewidth": 1, "links": [], "nullPointMode": "null", "percentage": false, "pointradius": 5, "points": false, "renderer": "flot", "seriesOverrides": [ { "alias": "DETS Tables", "yaxis": 1 } ], "spaceLength": 10, "span": 3, "stack": false, "steppedLine": false, "targets": [ { "expr": "erlang_vm_ets_limit{instance=\"$node\"}", "format": "time_series", "intervalFactor": 2, "legendFormat": "ETS Limit", "refId": "A", "step": 2 }, { "expr": "erlang_vm_ets_tables{instance=\"$node\"}", "format": "time_series", "intervalFactor": 2, "legendFormat": "ETS Tables", "refId": "B", "step": 2 }, { "expr": "erlang_vm_dets_tables{instance=\"$node\"}", "format": "time_series", "intervalFactor": 2, "legendFormat": "DETS Tables", "refId": "C", "step": 2 } ], "thresholds": [], "timeFrom": null, "timeShift": null, "title": "ETS/DETS", "tooltip": { "shared": true, "sort": 0, "value_type": "individual" }, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": true, "values": [] }, "yaxes": [ { "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": true }, { "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": true } ] }, { "aliasColors": {}, "bars": false, "dashLength": 10, "dashes": false, "datasource": "${DS_PROMETHEUS}", "fill": 1, "id": 14, "legend": { "avg": false, "current": false, "max": false, "min": false, "show": true, "total": false, "values": false }, "lines": true, "linewidth": 1, "links": [], "nullPointMode": "null", "percentage": false, "pointradius": 5, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "span": 3, "stack": false, "steppedLine": false, "targets": [ { "expr": "erlang_vm_process_limit{instance=\"$node\"}", "format": "time_series", "hide": true, "intervalFactor": 2, "legendFormat": "Process Limit", "refId": "A", "step": 2 }, { "expr": "erlang_vm_process_count{instance=\"$node\"}", "format": "time_series", "intervalFactor": 2, "legendFormat": "Processes", "refId": "B", "step": 2 }, { "expr": "erlang_vm_statistics_run_queues_length_total{instance=\"$node\"}", "format": "time_series", "intervalFactor": 2, "legendFormat": "Run Queues Length", "refId": "C", "step": 2 } ], "thresholds": [], "timeFrom": null, "timeShift": null, "title": "Processes", "tooltip": { "shared": true, "sort": 0, "value_type": "individual" }, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": true, "values": [] }, "yaxes": [ { "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": true }, { "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": true } ] }, { "aliasColors": {}, "bars": false, "dashLength": 10, "dashes": false, "datasource": "${DS_PROMETHEUS}", "fill": 1, "id": 15, "legend": { "avg": false, "current": false, "max": false, "min": false, "show": true, "total": false, "values": false }, "lines": true, "linewidth": 1, "links": [], "nullPointMode": "null", "percentage": false, "pointradius": 5, "points": false, "renderer": "flot", "seriesOverrides": [ { "alias": "Reductions", "yaxis": 2 } ], "spaceLength": 10, "span": 3, "stack": false, "steppedLine": false, "targets": [ { "expr": "irate(erlang_vm_statistics_context_switches{instance=\"$node\"}[$interval])", "format": "time_series", "intervalFactor": 2, "legendFormat": "Context Switches", "refId": "B", "step": 2 }, { "expr": "irate(erlang_vm_statistics_reductions_total{instance=\"$node\"}[$interval])", "format": "time_series", "intervalFactor": 2, "legendFormat": "Reductions", "refId": "C", "step": 2 }, { "expr": "irate(erlang_vm_statistics_runtime_milliseconds{instance=\"$node\"}[$interval])", "format": "time_series", "intervalFactor": 2, "legendFormat": "Runtime", "refId": "D", "step": 2 } ], "thresholds": [], "timeFrom": null, "timeShift": null, "title": "Load", "tooltip": { "shared": true, "sort": 0, "value_type": "individual" }, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": true, "values": [] }, "yaxes": [ { "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": true }, { "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": true } ] }, { "cacheTimeout": null, "colorBackground": false, "colorValue": false, "colors": [ "rgba(245, 54, 54, 0.9)", "rgba(237, 129, 40, 0.89)", "rgba(50, 172, 45, 0.97)" ], "datasource": "${DS_PROMETHEUS}", "decimals": 1, "format": "dtdurations", "gauge": { "maxValue": 100, "minValue": 0, "show": false, "thresholdLabels": false, "thresholdMarkers": true }, "id": 16, "interval": null, "links": [], "mappingType": 1, "mappingTypes": [ { "name": "value to text", "value": 1 }, { "name": "range to text", "value": 2 } ], "maxDataPoints": 100, "nullPointMode": "connected", "nullText": null, "postfix": "", "postfixFontSize": "50%", "prefix": "", "prefixFontSize": "50%", "rangeMaps": [ { "from": "null", "text": "N/A", "to": "null" } ], "span": 3, "sparkline": { "fillColor": "rgba(31, 118, 189, 0.18)", "full": false, "lineColor": "rgb(31, 120, 193)", "show": false }, "tableColumn": "", "targets": [ { "expr": "process_uptime_seconds{instance=\"$node\"}", "intervalFactor": 2, "legendFormat": "", "refId": "A", "step": 4 } ], "thresholds": "", "title": "Uptime", "type": "singlestat", "valueFontSize": "80%", "valueMaps": [ { "op": "=", "text": "N/A", "value": "null" } ], "valueName": "avg" } ], "repeat": null, "repeatIteration": null, "repeatRowId": null, "showTitle": false, "title": "New row", "titleSize": "h6" }, { "collapse": false, "height": "250px", "panels": [ { "aliasColors": {}, "bars": false, "dashLength": 10, "dashes": false, "datasource": "${DS_PROMETHEUS}", "editable": true, "error": false, "fill": 1, "grid": {}, "id": 6, "legend": { "avg": false, "current": false, "max": false, "min": false, "show": true, "total": false, "values": false }, "lines": true, "linewidth": 2, "links": [], "nullPointMode": "connected", "percentage": false, "pointradius": 5, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "span": 4, "stack": false, "steppedLine": false, "targets": [ { "expr": "irate(erlang_vm_statistics_bytes_output_total{instance=\"$node\"}[$interval])", "format": "time_series", "intervalFactor": 2, "legendFormat": "Output Bytes", "metric": "erlang_vm_statistics_bytes_output_total", "refId": "A", "step": 2 }, { "expr": "irate(erlang_vm_statistics_bytes_received_total{instance=\"$node\"}[$interval])", "format": "time_series", "intervalFactor": 2, "legendFormat": "Received Bytes", "metric": "erlang_vm_statistics_bytes_received_total", "refId": "B", "step": 2 } ], "thresholds": [], "timeFrom": null, "timeShift": null, "title": "VM IO", "tooltip": { "msResolution": false, "shared": true, "sort": 0, "value_type": "cumulative" }, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": true, "values": [] }, "yaxes": [ { "format": "decbytes", "logBase": 1, "max": null, "min": null, "show": true }, { "format": "GBs", "logBase": 1, "max": null, "min": null, "show": false } ] }, { "aliasColors": {}, "bars": false, "dashLength": 10, "dashes": false, "datasource": "${DS_PROMETHEUS}", "editable": true, "error": false, "fill": 1, "grid": {}, "id": 7, "legend": { "alignAsTable": false, "avg": false, "current": false, "max": false, "min": false, "rightSide": false, "show": true, "total": false, "values": false }, "lines": true, "linewidth": 2, "links": [], "nullPointMode": "connected", "percentage": false, "pointradius": 5, "points": false, "renderer": "flot", "seriesOverrides": [ { "alias": "Words Reclaimed", "yaxis": 2 }, { "alias": "Bytes Reclaimed", "yaxis": 2 } ], "spaceLength": 10, "span": 4, "stack": false, "steppedLine": false, "targets": [ { "expr": "irate(erlang_vm_statistics_garbage_collection_number_of_gcs{instance=\"$node\"}[$interval])", "format": "time_series", "intervalFactor": 2, "legendFormat": "Number of GCs", "metric": "erlang_vm_statistics_garbage_collection_number_of_gcs", "refId": "A", "step": 2 }, { "expr": "irate(erlang_vm_statistics_garbage_collection_bytes_reclaimed{instance=\"$node\"}[$interval])", "format": "time_series", "intervalFactor": 2, "legendFormat": "Bytes Reclaimed", "metric": "erlang_vm_statistics_garbage_collection_words_reclaimed", "refId": "B", "step": 2 } ], "thresholds": [], "timeFrom": null, "timeShift": null, "title": "VM GC", "tooltip": { "msResolution": false, "shared": true, "sort": 0, "value_type": "cumulative" }, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": true, "values": [] }, "yaxes": [ { "format": "short", "logBase": 1, "max": null, "min": null, "show": true }, { "format": "decbytes", "logBase": 1, "max": null, "min": null, "show": true } ] }, { "aliasColors": {}, "bars": false, "dashLength": 10, "dashes": false, "datasource": "${DS_PROMETHEUS}", "editable": true, "error": false, "fill": 1, "grid": {}, "id": 3, "legend": { "avg": false, "current": false, "max": false, "min": false, "show": true, "total": false, "values": false }, "lines": true, "linewidth": 2, "links": [], "nullPointMode": "connected", "percentage": false, "pointradius": 5, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "span": 4, "stack": true, "steppedLine": false, "targets": [ { "expr": "erlang_vm_memory_bytes_total{instance=\"$node\", kind=\"processes\"}", "format": "time_series", "intervalFactor": 2, "legendFormat": "Processes Memory", "refId": "B", "step": 2 }, { "expr": "erlang_vm_memory_system_bytes_total{instance=\"$node\", usage=\"atom\"}", "format": "time_series", "intervalFactor": 2, "legendFormat": "Atoms", "refId": "C", "step": 2 }, { "expr": "erlang_vm_memory_system_bytes_total{instance=\"$node\", usage=\"binary\"}", "format": "time_series", "intervalFactor": 2, "legendFormat": "Binary", "refId": "D", "step": 2 }, { "expr": "erlang_vm_memory_system_bytes_total{instance=\"$node\", usage=\"code\"}", "format": "time_series", "intervalFactor": 2, "legendFormat": "Code", "refId": "E", "step": 2 }, { "expr": "erlang_vm_memory_system_bytes_total{instance=\"$node\", usage=\"ets\"}", "format": "time_series", "intervalFactor": 2, "legendFormat": "ETS", "refId": "F", "step": 2 } ], "thresholds": [], "timeFrom": null, "timeShift": null, "title": "VM Memory", "tooltip": { "msResolution": false, "shared": true, "sort": 0, "value_type": "individual" }, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": true, "values": [] }, "yaxes": [ { "format": "bytes", "logBase": 1, "max": null, "min": null, "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": {}, "bars": false, "dashLength": 10, "dashes": false, "datasource": "${DS_PROMETHEUS}", "editable": true, "error": false, "fill": 1, "grid": {}, "id": 11, "legend": { "avg": false, "current": false, "max": false, "min": false, "show": true, "total": false, "values": false }, "lines": true, "linewidth": 2, "links": [], "nullPointMode": "connected", "percentage": false, "pointradius": 5, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "span": 4, "stack": false, "steppedLine": false, "targets": [ { "expr": "process_virtual_memory_bytes{instance=\"$node\"}", "format": "time_series", "intervalFactor": 2, "legendFormat": "Virtual Memory", "refId": "A", "step": 2 }, { "expr": "process_resident_memory_bytes{instance=\"$node\"}", "format": "time_series", "intervalFactor": 2, "legendFormat": "Resident Memory", "refId": "B", "step": 2 } ], "thresholds": [], "timeFrom": null, "timeShift": null, "title": "OS Process Memory", "tooltip": { "msResolution": true, "shared": true, "sort": 0, "value_type": "cumulative" }, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": true, "values": [] }, "yaxes": [ { "format": "bytes", "label": null, "logBase": 1, "max": null, "min": null, "show": true }, { "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": true } ] }, { "aliasColors": {}, "bars": false, "dashLength": 10, "dashes": false, "datasource": "${DS_PROMETHEUS}", "editable": true, "error": false, "fill": 1, "grid": {}, "id": 8, "legend": { "avg": false, "current": false, "max": false, "min": false, "show": true, "total": false, "values": false }, "lines": true, "linewidth": 2, "links": [], "nullPointMode": "connected", "percentage": false, "pointradius": 5, "points": false, "renderer": "flot", "seriesOverrides": [ { "alias": "Max Ports", "yaxis": 2 }, { "alias": "Ports", "yaxis": 2 } ], "spaceLength": 10, "span": 4, "stack": false, "steppedLine": false, "targets": [ { "expr": "process_open_fds{instance=\"$node\"}", "format": "time_series", "intervalFactor": 2, "legendFormat": "Open FDs", "metric": "", "refId": "A", "step": 2 }, { "expr": "process_max_fds{instance=\"$node\"}", "format": "time_series", "intervalFactor": 2, "legendFormat": "Max FDs", "refId": "B", "step": 2 }, { "expr": "erlang_vm_port_limit{instance=\"$node\"}", "format": "time_series", "intervalFactor": 2, "legendFormat": "Max Ports", "refId": "C", "step": 2 }, { "expr": "erlang_vm_port_count{instance=\"$node\"}", "format": "time_series", "intervalFactor": 2, "legendFormat": "Ports", "refId": "D", "step": 2 } ], "thresholds": [], "timeFrom": null, "timeShift": null, "title": "File Descriptors & Ports", "tooltip": { "msResolution": true, "shared": true, "sort": 0, "value_type": "cumulative" }, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": true, "values": [] }, "yaxes": [ { "format": "none", "label": null, "logBase": 1, "max": null, "min": null, "show": true }, { "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": true } ] }, { "aliasColors": {}, "bars": false, "dashLength": 10, "dashes": false, "datasource": "${DS_PROMETHEUS}", "decimals": null, "editable": true, "error": false, "fill": 1, "grid": {}, "id": 10, "legend": { "avg": false, "current": false, "max": false, "min": false, "show": true, "total": false, "values": false }, "lines": true, "linewidth": 2, "links": [], "nullPointMode": "connected", "percentage": false, "pointradius": 5, "points": false, "renderer": "flot", "seriesOverrides": [ { "alias": "Threads", "yaxis": 2 } ], "spaceLength": 10, "span": 4, "stack": false, "steppedLine": false, "targets": [ { "expr": "process_threads_total{instance=\"$node\"}", "format": "time_series", "intervalFactor": 2, "legendFormat": "Threads", "metric": "", "refId": "A", "step": 2 }, { "expr": "sum(irate(process_cpu_seconds_total{instance=\"$node\"}[$interval])) without (kind) * 100", "format": "time_series", "intervalFactor": 2, "legendFormat": "CPU", "refId": "B", "step": 2 } ], "thresholds": [], "timeFrom": null, "timeShift": null, "title": "Native Threads & CPU", "tooltip": { "msResolution": true, "shared": true, "sort": 0, "value_type": "cumulative" }, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": true, "values": [] }, "yaxes": [ { "format": "percent", "label": null, "logBase": 1, "max": null, "min": null, "show": true }, { "format": "short", "label": null, "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": [], "templating": { "list": [ { "allValue": null, "current": { "text": "172.17.0.1:4000", "value": "172.17.0.1:4000" }, "datasource": "${DS_PROMETHEUS}", "hide": 0, "includeAll": false, "label": "Node", "multi": false, "name": "node", "options": [], "query": "label_values(erlang_vm_process_count, instance)", "refresh": 1, "regex": "", "sort": 1, "tagValuesQuery": "label_values({job=\"$tag\"},instance)", "tags": [ "api", "elli", "linux", "lisp", "mysql", "prometheus", "push", "rabbitmq" ], "tagsQuery": "label_values(job)", "type": "query", "useTags": true }, { "auto": false, "auto_count": 30, "auto_min": "10s", "current": { "text": "5m", "value": "5m" }, "hide": 0, "label": null, "name": "interval", "options": [ { "selected": false, "text": "1m", "value": "1m" }, { "selected": true, "text": "5m", "value": "5m" }, { "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,5m,10m,30m,1h,6h,12h,1d,7d,14d,30d", "refresh": 2, "type": "interval" } ] }, "time": { "from": "now-5m", "to": "now" }, "timepicker": { "now": true, "refresh_intervals": [ "5s", "10s", "30s", "1m", "5m", "15m", "30m", "1h", "2h", "1d" ], "time_options": [ "5m", "15m", "1h", "6h", "12h", "24h", "2d", "7d", "30d" ] }, "timezone": "browser", "title": "BEAM", "version": 41 }