{ "__inputs": [ { "name": "DS_PROM", "label": "prom", "description": "", "type": "datasource", "pluginId": "prometheus", "pluginName": "Prometheus" } ], "__requires": [ { "type": "panel", "id": "singlestat", "name": "Singlestat", "version": "" }, { "type": "panel", "id": "graph", "name": "Graph", "version": "" }, { "type": "grafana", "id": "grafana", "name": "Grafana", "version": "3.1.1" }, { "type": "datasource", "id": "prometheus", "name": "Prometheus", "version": "1.0.0" } ], "id": null, "title": "RabbitMQ", "tags": [], "style": "dark", "timezone": "browser", "editable": true, "hideControls": false, "sharedCrosshair": false, "rows": [ { "collapse": false, "editable": true, "height": "250px", "panels": [ { "title": "Uptime", "error": false, "span": 2, "editable": true, "type": "singlestat", "isNew": true, "id": 9, "targets": [ { "refId": "A", "expr": "process_uptime_seconds{job=\"rabbitmq\"}", "intervalFactor": 2, "step": 20, "legendFormat": "" } ], "links": [], "datasource": "${DS_PROM}", "maxDataPoints": 100, "interval": null, "cacheTimeout": null, "format": "dtdurations", "prefix": "", "postfix": "", "nullText": null, "valueMaps": [ { "value": "null", "op": "=", "text": "N/A" } ], "mappingTypes": [ { "name": "value to text", "value": 1 }, { "name": "range to text", "value": 2 } ], "rangeMaps": [ { "from": "null", "to": "null", "text": "N/A" } ], "mappingType": 1, "nullPointMode": "connected", "valueName": "avg", "prefixFontSize": "50%", "valueFontSize": "80%", "postfixFontSize": "50%", "thresholds": "", "colorBackground": false, "colorValue": false, "colors": [ "rgba(245, 54, 54, 0.9)", "rgba(237, 129, 40, 0.89)", "rgba(50, 172, 45, 0.97)" ], "sparkline": { "show": false, "full": false, "lineColor": "rgb(31, 120, 193)", "fillColor": "rgba(31, 118, 189, 0.18)" }, "gauge": { "show": false, "minValue": 0, "maxValue": 100, "thresholdMarkers": true, "thresholdLabels": false }, "decimals": 0 }, { "aliasColors": {}, "bars": false, "datasource": "${DS_PROM}", "editable": true, "error": false, "fill": 1, "grid": { "threshold1": null, "threshold1Color": "rgba(216, 200, 27, 0.27)", "threshold2": null, "threshold2Color": "rgba(234, 112, 112, 0.22)" }, "height": "", "id": 2, "isNew": true, "legend": { "alignAsTable": false, "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": [], "span": 5, "stack": false, "steppedLine": false, "targets": [ { "expr": "sum by (job) (irate(rabbitmq_queue_messages_published_total[5m]))", "intervalFactor": 2, "legendFormat": "Messages Published", "metric": "", "refId": "A", "step": 2 }, { "expr": "sum by (job) (irate(rabbitmq_queue_messages_delivered_total[5m]) + irate(rabbitmq_queue_messages_delivered_no_ack_total[5m]) + irate(rabbitmq_queue_messages_get_total[5m]) + irate(rabbitmq_queue_messages_get_no_ack_total[5m]))", "hide": false, "intervalFactor": 2, "legendFormat": "Messages delivered", "metric": "", "refId": "B", "step": 2 } ], "timeFrom": null, "timeShift": null, "title": "Messages Rates", "tooltip": { "shared": true, "value_type": "cumulative", "sort": 0, "msResolution": false }, "transparent": false, "type": "graph", "yaxes": [ { "show": true, "min": null, "max": null, "logBase": 1, "format": "none", "label": "Messages" }, { "show": true, "min": null, "max": null, "logBase": 1, "format": "short", "label": "" } ], "xaxis": { "show": true } }, { "aliasColors": {}, "bars": false, "datasource": "${DS_PROM}", "editable": true, "error": false, "fill": 1, "grid": { "threshold1": null, "threshold1Color": "rgba(216, 200, 27, 0.27)", "threshold2": null, "threshold2Color": "rgba(234, 112, 112, 0.22)" }, "id": 1, "isNew": true, "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": [], "span": 5, "stack": false, "steppedLine": false, "targets": [ { "expr": "rabbitmq_connections", "intervalFactor": 2, "legendFormat": "Connections", "metric": "rabbitmq_connections", "refId": "A", "step": 2 }, { "expr": "rabbitmq_channels", "intervalFactor": 2, "legendFormat": "Channels", "metric": "rabbitmq_channels", "refId": "B", "step": 2 }, { "expr": "rabbitmq_consumers", "intervalFactor": 2, "legendFormat": "Consumers", "metric": "rabbitmq_consumers", "refId": "C", "step": 2 }, { "expr": "rabbitmq_exchanges", "intervalFactor": 2, "legendFormat": "Exchanges", "metric": "rabbitmq_exchanges", "refId": "D", "step": 2 }, { "expr": "rabbitmq_queues", "intervalFactor": 2, "legendFormat": "Queues", "metric": "rabbitmq_queues", "refId": "E", "step": 2 } ], "timeFrom": null, "timeShift": null, "title": "Default VHost stat", "tooltip": { "shared": true, "value_type": "cumulative", "sort": 0, "msResolution": false }, "type": "graph", "yaxes": [ { "show": true, "min": null, "max": null, "logBase": 1, "format": "short" }, { "show": true, "min": null, "max": null, "logBase": 1, "format": "short" } ], "xaxis": { "show": true } } ], "title": "New row" }, { "collapse": false, "editable": true, "height": "250px", "panels": [ { "aliasColors": {}, "bars": false, "datasource": "${DS_PROM}", "editable": true, "error": false, "fill": 1, "grid": { "threshold1": null, "threshold1Color": "rgba(216, 200, 27, 0.27)", "threshold2": null, "threshold2Color": "rgba(234, 112, 112, 0.22)" }, "id": 6, "isNew": true, "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": [], "span": 4, "stack": false, "steppedLine": false, "targets": [ { "expr": "irate(erlang_vm_statistics_bytes_output_total[5m])", "intervalFactor": 2, "legendFormat": "Output Bytes", "metric": "erlang_vm_statistics_bytes_output_total", "refId": "A", "step": 2 }, { "expr": "irate(erlang_vm_statistics_bytes_received_total[5m])", "intervalFactor": 2, "legendFormat": "Received Bytes", "metric": "erlang_vm_statistics_bytes_received_total", "refId": "B", "step": 2 } ], "timeFrom": null, "timeShift": null, "title": "Erlang VM IO", "tooltip": { "shared": true, "value_type": "cumulative", "sort": 0, "msResolution": false }, "type": "graph", "yaxes": [ { "show": true, "min": null, "max": null, "logBase": 1, "format": "bytes" }, { "show": true, "min": null, "max": null, "logBase": 1, "format": "short" } ], "xaxis": { "show": true } }, { "aliasColors": {}, "bars": false, "datasource": "${DS_PROM}", "editable": true, "error": false, "fill": 1, "grid": { "threshold1": null, "threshold1Color": "rgba(216, 200, 27, 0.27)", "threshold2": null, "threshold2Color": "rgba(234, 112, 112, 0.22)" }, "id": 7, "isNew": true, "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 } ], "span": 4, "stack": false, "steppedLine": false, "targets": [ { "expr": "irate(erlang_vm_statistics_garbage_collection_number_of_gcs[5m])", "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_words_reclaimed[5m])", "intervalFactor": 2, "legendFormat": "Words Reclaimed", "metric": "erlang_vm_statistics_garbage_collection_words_reclaimed", "refId": "B", "step": 2 } ], "timeFrom": null, "timeShift": null, "title": "Erlang VM GC", "tooltip": { "shared": true, "value_type": "cumulative", "sort": 0, "msResolution": false }, "type": "graph", "yaxes": [ { "show": true, "min": null, "max": null, "logBase": 1, "format": "short" }, { "show": true, "min": null, "max": null, "logBase": 1, "format": "short" } ], "xaxis": { "show": true } }, { "aliasColors": {}, "bars": false, "datasource": "${DS_PROM}", "editable": true, "error": false, "fill": 1, "grid": { "threshold1": null, "threshold1Color": "rgba(216, 200, 27, 0.27)", "threshold2": null, "threshold2Color": "rgba(234, 112, 112, 0.22)" }, "id": 3, "isNew": true, "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": [], "span": 4, "stack": true, "steppedLine": false, "targets": [ { "expr": "erlang_vm_memory_bytes_total{kind=\"processes\"}", "intervalFactor": 2, "legendFormat": "Processes Memory", "refId": "B", "step": 2 }, { "expr": "erlang_vm_memory_system_bytes_total{usage=\"atom\"}", "intervalFactor": 2, "legendFormat": "Atoms", "refId": "C", "step": 2 }, { "expr": "erlang_vm_memory_system_bytes_total{usage=\"binary\"}", "intervalFactor": 2, "legendFormat": "Binary", "refId": "D", "step": 2 }, { "expr": "erlang_vm_memory_system_bytes_total{usage=\"code\"}", "intervalFactor": 2, "legendFormat": "Code", "refId": "E", "step": 2 }, { "expr": "erlang_vm_memory_system_bytes_total{usage=\"ets\"}", "intervalFactor": 2, "legendFormat": "ETS", "refId": "F", "step": 2 } ], "timeFrom": null, "timeShift": null, "title": "Erlang VM Memory", "tooltip": { "shared": true, "value_type": "individual", "sort": 0, "msResolution": false }, "type": "graph", "yaxes": [ { "show": true, "min": null, "max": null, "logBase": 1, "format": "bytes" }, { "show": true, "min": null, "max": null, "logBase": 1, "format": "short" } ], "xaxis": { "show": true } } ], "title": "New row" }, { "collapse": false, "editable": true, "height": "250px", "panels": [ { "title": "Process Memory", "error": false, "span": 4, "editable": true, "type": "graph", "isNew": true, "id": 11, "targets": [ { "refId": "A", "expr": "process_virtual_memory_bytes{job=\"rabbitmq\"}", "intervalFactor": 2, "step": 2, "legendFormat": "Virtual Memory" }, { "expr": "process_resident_memory_bytes{job=\"rabbitmq\"}", "intervalFactor": 2, "refId": "B", "step": 2, "legendFormat": "Resident Memory" } ], "datasource": "${DS_PROM}", "renderer": "flot", "yaxes": [ { "label": null, "show": true, "logBase": 1, "min": null, "max": null, "format": "bytes" }, { "label": null, "show": true, "logBase": 1, "min": null, "max": null, "format": "short" } ], "xaxis": { "show": true }, "grid": { "threshold1": null, "threshold2": null, "threshold1Color": "rgba(216, 200, 27, 0.27)", "threshold2Color": "rgba(234, 112, 112, 0.22)" }, "lines": true, "fill": 1, "linewidth": 2, "points": false, "pointradius": 5, "bars": false, "stack": false, "percentage": false, "legend": { "show": true, "values": false, "min": false, "max": false, "current": false, "total": false, "avg": false }, "nullPointMode": "connected", "steppedLine": false, "tooltip": { "value_type": "cumulative", "shared": true, "sort": 0, "msResolution": true }, "timeFrom": null, "timeShift": null, "aliasColors": {}, "seriesOverrides": [], "links": [] }, { "title": "File Descriptors", "error": false, "span": 4, "editable": true, "type": "graph", "isNew": true, "id": 8, "targets": [ { "refId": "A", "expr": "process_open_fds{job=\"rabbitmq\"}", "intervalFactor": 2, "step": 2, "metric": "", "legendFormat": "Open FDs" }, { "expr": "process_max_fds{job=\"rabbitmq\"}", "intervalFactor": 2, "refId": "B", "step": 2, "legendFormat": "Max FDs" } ], "datasource": "${DS_PROM}", "renderer": "flot", "yaxes": [ { "label": null, "show": true, "logBase": 1, "min": null, "max": null, "format": "none" }, { "label": null, "show": true, "logBase": 1, "min": null, "max": null, "format": "short" } ], "xaxis": { "show": true }, "grid": { "threshold1": null, "threshold2": null, "threshold1Color": "rgba(216, 200, 27, 0.27)", "threshold2Color": "rgba(234, 112, 112, 0.22)" }, "lines": true, "fill": 1, "linewidth": 2, "points": false, "pointradius": 5, "bars": false, "stack": false, "percentage": false, "legend": { "show": true, "values": false, "min": false, "max": false, "current": false, "total": false, "avg": false }, "nullPointMode": "connected", "steppedLine": false, "tooltip": { "value_type": "cumulative", "shared": true, "sort": 0, "msResolution": true }, "timeFrom": null, "timeShift": null, "aliasColors": {}, "seriesOverrides": [], "links": [] }, { "title": "Native Threads & CPU", "error": false, "span": 4, "editable": true, "type": "graph", "isNew": true, "id": 10, "targets": [ { "refId": "A", "expr": "process_threads_total{job=\"rabbitmq\"}", "intervalFactor": 2, "step": 2, "legendFormat": "Threads" }, { "expr": "sum(irate(process_cpu_seconds_total{job=\"rabbitmq\"}[30s])) without (kind) * 100", "intervalFactor": 2, "refId": "B", "step": 2, "legendFormat": "CPU" } ], "datasource": "${DS_PROM}", "renderer": "flot", "yaxes": [ { "label": null, "show": true, "logBase": 1, "min": null, "max": null, "format": "percent" }, { "label": null, "show": true, "logBase": 1, "min": null, "max": null, "format": "short" } ], "xaxis": { "show": true }, "grid": { "threshold1": null, "threshold2": null, "threshold1Color": "rgba(216, 200, 27, 0.27)", "threshold2Color": "rgba(234, 112, 112, 0.22)" }, "lines": true, "fill": 1, "linewidth": 2, "points": false, "pointradius": 5, "bars": false, "stack": false, "percentage": false, "legend": { "show": true, "values": false, "min": false, "max": false, "current": false, "total": false, "avg": false }, "nullPointMode": "connected", "steppedLine": false, "tooltip": { "value_type": "cumulative", "shared": true, "sort": 0, "msResolution": true }, "timeFrom": null, "timeShift": null, "aliasColors": {}, "seriesOverrides": [ { "alias": "Threads", "yaxis": 2 } ], "links": [], "decimals": null } ], "title": "New row" } ], "time": { "from": "now-15m", "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" ] }, "templating": { "list": [] }, "annotations": { "list": [] }, "refresh": "5s", "schemaVersion": 12, "version": 18, "links": [], "gnetId": null }