diff --git a/prometheus/files/grafana_dashboards/alertmanager_prometheus.json b/prometheus/files/grafana_dashboards/alertmanager_prometheus.json index 31c7015..36c8d85 100644 --- a/prometheus/files/grafana_dashboards/alertmanager_prometheus.json +++ b/prometheus/files/grafana_dashboards/alertmanager_prometheus.json @@ -13,12 +13,12 @@ } ] }, - "description": "Monitors Pushgateway using Prometheus.", + "description": "Monitors Alertmanager using Prometheus.", "editable": true, "gnetId": null, "graphTooltip": 1, "id": null, - "iteration": 1529933872415, + "iteration": 1530100959301, "links": [], "panels": [ { @@ -29,7 +29,7 @@ "x": 0, "y": 0 }, - "id": 10, + "id": 12, "panels": [], "repeat": null, "title": "Status", @@ -42,7 +42,7 @@ "colors": [ "rgba(245, 54, 54, 0.9)", "rgba(237, 129, 40, 0.89)", - "#508642" + "#299c46" ], "datasource": null, "format": "none", @@ -74,6 +74,7 @@ } ], "maxDataPoints": 100, + "minSpan": 3, "nullPointMode": "connected", "nullText": null, "postfix": "", @@ -92,8 +93,8 @@ "scopedVars": { "instance": { "selected": false, - "text": "10.0.0.25", - "value": "10.0.0.25" + "text": "10.0.0.11", + "value": "10.0.0.11" } }, "sparkline": { @@ -105,7 +106,7 @@ "tableColumn": "", "targets": [ { - "expr": "up{job=\"pushgateway\",instance=~\"$instance:[1-9][0-9]*\"}", + "expr": "up{job=\"alertmanager\",instance=~\"$instance:[1-9][0-9]*\"}", "format": "time_series", "intervalFactor": 2, "legendFormat": "", @@ -114,7 +115,7 @@ } ], "thresholds": "1,1", - "title": "Pushgateway@${instance}", + "title": "Alertmanager@${instance}", "type": "singlestat", "valueFontSize": "80%", "valueMaps": [ @@ -143,7 +144,7 @@ "colors": [ "rgba(245, 54, 54, 0.9)", "rgba(237, 129, 40, 0.89)", - "#508642" + "#299c46" ], "datasource": null, "format": "none", @@ -160,7 +161,7 @@ "x": 12, "y": 1 }, - "id": 12, + "id": 15, "interval": null, "links": [], "mappingType": 1, @@ -175,6 +176,7 @@ } ], "maxDataPoints": 100, + "minSpan": 3, "nullPointMode": "connected", "nullText": null, "postfix": "", @@ -190,13 +192,13 @@ ], "repeat": null, "repeatDirection": "h", - "repeatIteration": 1529933872415, + "repeatIteration": 1530100959301, "repeatPanelId": 1, "scopedVars": { "instance": { "selected": false, - "text": "10.0.0.6", - "value": "10.0.0.6" + "text": "10.0.0.9", + "value": "10.0.0.9" } }, "sparkline": { @@ -208,7 +210,7 @@ "tableColumn": "", "targets": [ { - "expr": "up{job=\"pushgateway\",instance=~\"$instance:[1-9][0-9]*\"}", + "expr": "up{job=\"alertmanager\",instance=~\"$instance:[1-9][0-9]*\"}", "format": "time_series", "intervalFactor": 2, "legendFormat": "", @@ -217,7 +219,7 @@ } ], "thresholds": "1,1", - "title": "Pushgateway@${instance}", + "title": "Alertmanager@${instance}", "type": "singlestat", "valueFontSize": "80%", "valueMaps": [ @@ -239,6 +241,20 @@ ], "valueName": "current" }, + { + "collapsed": false, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 4 + }, + "id": 13, + "panels": [], + "repeat": null, + "title": "Alerts", + "type": "row" + }, { "aliasColors": {}, "bars": false, @@ -251,7 +267,7 @@ "h": 7, "w": 24, "x": 0, - "y": 4 + "y": 5 }, "id": 2, "legend": { @@ -270,22 +286,25 @@ "lines": true, "linewidth": 1, "links": [], + "minSpan": 3, "nullPointMode": "null", "percentage": false, "pointradius": 5, "points": false, "renderer": "flot", + "repeat": null, + "repeatDirection": "h", "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { - "expr": "rate(http_requests_total{handler=\"push\",job=\"pushgateway\"}[$rate_interval])", + "expr": "rate(alertmanager_alerts_received_total{job=\"alertmanager\"}[$rate_interval])", "format": "time_series", "hide": false, "intervalFactor": 2, - "legendFormat": "{{ instance }}", + "legendFormat": "{{ status }} @{{ instance }}", "refId": "A", "step": 4 } @@ -293,7 +312,7 @@ "thresholds": [], "timeFrom": null, "timeShift": null, - "title": "Received Samples Rate", + "title": "Received Alerts Rate", "tooltip": { "shared": true, "sort": 0, @@ -310,7 +329,407 @@ "yaxes": [ { "format": "short", - "label": "Samples / Second", + "label": "Alerts / Second", + "logBase": 1, + "max": null, + "min": "0", + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + } + ], + "yaxis": { + "align": false, + "alignLevel": null + } + }, + { + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": null, + "fill": 1, + "gridPos": { + "h": 7, + "w": 12, + "x": 0, + "y": 12 + }, + "id": 11, + "legend": { + "alignAsTable": true, + "avg": true, + "current": false, + "hideEmpty": true, + "hideZero": true, + "max": false, + "min": false, + "rightSide": true, + "show": true, + "total": false, + "values": true + }, + "lines": true, + "linewidth": 1, + "links": [], + "minSpan": 3, + "nullPointMode": "null", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "repeat": "instance", + "repeatDirection": "v", + "scopedVars": { + "instance": { + "selected": false, + "text": "10.0.0.11", + "value": "10.0.0.11" + } + }, + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "expr": "rate(alertmanager_notifications_total{job=\"alertmanager\",instance=~\"$instance:[1-9][0-9]*\"}[$rate_interval])", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "{{ integration }}", + "refId": "A", + "step": 10 + } + ], + "thresholds": [], + "timeFrom": null, + "timeShift": null, + "title": "Successful Notifications Rate@${instance}", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "short", + "label": "Notifications / Second", + "logBase": 1, + "max": null, + "min": null, + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + } + ], + "yaxis": { + "align": false, + "alignLevel": null + } + }, + { + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": null, + "fill": 1, + "gridPos": { + "h": 7, + "w": 12, + "x": 12, + "y": 12 + }, + "id": 10, + "legend": { + "alignAsTable": true, + "avg": true, + "current": false, + "hideEmpty": true, + "hideZero": true, + "max": false, + "min": false, + "rightSide": true, + "show": true, + "total": false, + "values": true + }, + "lines": true, + "linewidth": 1, + "links": [], + "minSpan": 3, + "nullPointMode": "null", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "repeat": "instance", + "repeatDirection": "v", + "scopedVars": { + "instance": { + "selected": false, + "text": "10.0.0.11", + "value": "10.0.0.11" + } + }, + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "expr": "rate(alertmanager_notifications_failed_total{job=\"alertmanager\",instance=~\"$instance:[1-9][0-9]*\"}[5m])\n", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "{{ integration }}", + "refId": "A", + "step": 10 + } + ], + "thresholds": [], + "timeFrom": null, + "timeShift": null, + "title": "Failed Notifications Rate@${instance}", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "short", + "label": "Notifications / Second", + "logBase": 1, + "max": null, + "min": "0", + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + } + ], + "yaxis": { + "align": false, + "alignLevel": null + } + }, + { + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": null, + "fill": 1, + "gridPos": { + "h": 7, + "w": 12, + "x": 0, + "y": 19 + }, + "id": 16, + "legend": { + "alignAsTable": true, + "avg": true, + "current": false, + "hideEmpty": true, + "hideZero": true, + "max": false, + "min": false, + "rightSide": true, + "show": true, + "total": false, + "values": true + }, + "lines": true, + "linewidth": 1, + "links": [], + "minSpan": 3, + "nullPointMode": "null", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "repeat": null, + "repeatDirection": "v", + "repeatIteration": 1530100959301, + "repeatPanelId": 11, + "scopedVars": { + "instance": { + "selected": false, + "text": "10.0.0.9", + "value": "10.0.0.9" + } + }, + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "expr": "rate(alertmanager_notifications_total{job=\"alertmanager\",instance=~\"$instance:[1-9][0-9]*\"}[$rate_interval])", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "{{ integration }}", + "refId": "A", + "step": 10 + } + ], + "thresholds": [], + "timeFrom": null, + "timeShift": null, + "title": "Successful Notifications Rate@${instance}", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "short", + "label": "Notifications / Second", + "logBase": 1, + "max": null, + "min": null, + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + } + ], + "yaxis": { + "align": false, + "alignLevel": null + } + }, + { + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": null, + "fill": 1, + "gridPos": { + "h": 7, + "w": 12, + "x": 12, + "y": 19 + }, + "id": 17, + "legend": { + "alignAsTable": true, + "avg": true, + "current": false, + "hideEmpty": true, + "hideZero": true, + "max": false, + "min": false, + "rightSide": true, + "show": true, + "total": false, + "values": true + }, + "lines": true, + "linewidth": 1, + "links": [], + "minSpan": 3, + "nullPointMode": "null", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "repeat": null, + "repeatDirection": "v", + "repeatIteration": 1530100959301, + "repeatPanelId": 10, + "scopedVars": { + "instance": { + "selected": false, + "text": "10.0.0.9", + "value": "10.0.0.9" + } + }, + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "expr": "rate(alertmanager_notifications_failed_total{job=\"alertmanager\",instance=~\"$instance:[1-9][0-9]*\"}[5m])\n", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "{{ integration }}", + "refId": "A", + "step": 10 + } + ], + "thresholds": [], + "timeFrom": null, + "timeShift": null, + "title": "Failed Notifications Rate@${instance}", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "short", + "label": "Notifications / Second", "logBase": 1, "max": null, "min": "0", @@ -336,9 +755,9 @@ "h": 1, "w": 24, "x": 0, - "y": 11 + "y": 26 }, - "id": 11, + "id": 14, "panels": [], "repeat": null, "title": "Resources", @@ -356,51 +775,45 @@ "fill": 1, "gridPos": { "h": 7, - "w": 8, + "w": 12, "x": 0, - "y": 12 + "y": 27 }, "id": 9, "legend": { - "alignAsTable": false, - "avg": true, + "alignAsTable": true, + "avg": false, "current": false, "hideEmpty": false, "max": false, "min": false, - "rightSide": false, - "show": false, + "rightSide": true, + "show": true, "total": false, "values": false }, "lines": true, "linewidth": 1, "links": [], + "minSpan": 3, "nullPointMode": "null", "percentage": false, "pointradius": 5, "points": false, "renderer": "flot", - "repeat": "instance", + "repeat": null, "repeatDirection": "v", - "scopedVars": { - "instance": { - "selected": false, - "text": "10.0.0.25", - "value": "10.0.0.25" - } - }, "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { - "expr": "rate(process_cpu_seconds_total{job=\"pushgateway\",instance=~\"$instance:[1-9][0-9]*\"}[$rate_interval])", + "expr": "rate(process_cpu_seconds_total{job=\"alertmanager\"}[$rate_interval])", "format": "time_series", "intervalFactor": 2, "legendFormat": "{{ instance }}", - "metric": "prometheus_local_storage_ingested_samples_total", + "metric": "", "refId": "A", "step": 20 } @@ -408,7 +821,7 @@ "thresholds": [], "timeFrom": null, "timeShift": null, - "title": "CPU@${instance}", + "title": "CPU Usage Rate", "tooltip": { "msResolution": false, "shared": true, @@ -427,8 +840,102 @@ }, "yaxes": [ { - "format": "none", - "label": "Seconds / Second", + "format": "short", + "label": "Seonds / Second", + "logBase": 1, + "max": null, + "min": "0", + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + } + ], + "yaxis": { + "align": false, + "alignLevel": null + } + }, + { + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": null, + "editable": true, + "error": false, + "fill": 1, + "gridPos": { + "h": 7, + "w": 12, + "x": 12, + "y": 27 + }, + "id": 7, + "legend": { + "alignAsTable": true, + "avg": false, + "current": false, + "max": false, + "min": false, + "rightSide": true, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "links": [], + "minSpan": 3, + "nullPointMode": "null", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "repeat": null, + "repeatDirection": "v", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "expr": "rate(go_memstats_alloc_bytes_total{job=\"alertmanager\"}[$rate_interval])", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "{{ instance }}", + "metric": "go_memstats_alloc_bytes", + "refId": "A", + "step": 20 + } + ], + "thresholds": [], + "timeFrom": null, + "timeShift": null, + "title": "Memory Allocation Rate", + "tooltip": { + "msResolution": false, + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "Bps", + "label": null, "logBase": 1, "max": null, "min": "0", @@ -460,18 +967,18 @@ "fill": 1, "gridPos": { "h": 7, - "w": 8, - "x": 8, - "y": 12 + "w": 24, + "x": 0, + "y": 34 }, "id": 6, "legend": { - "alignAsTable": false, + "alignAsTable": true, "avg": false, "current": false, "max": false, "min": false, - "rightSide": false, + "rightSide": true, "show": true, "total": false, "values": false @@ -479,7 +986,7 @@ "lines": true, "linewidth": 1, "links": [], - "minSpan": 2, + "minSpan": 3, "nullPointMode": "null", "percentage": false, "pointradius": 5, @@ -490,8 +997,8 @@ "scopedVars": { "instance": { "selected": false, - "text": "10.0.0.25", - "value": "10.0.0.25" + "text": "10.0.0.11", + "value": "10.0.0.11" } }, "seriesOverrides": [ @@ -505,7 +1012,7 @@ "steppedLine": false, "targets": [ { - "expr": "process_resident_memory_bytes{job=\"pushgateway\",instance=~\"$instance:[1-9][0-9]*\"}", + "expr": "process_resident_memory_bytes{job=\"alertmanager\",instance=~\"$instance:[1-9][0-9]*\"}", "format": "time_series", "intervalFactor": 2, "legendFormat": "RSS", @@ -514,9 +1021,8 @@ "step": 20 }, { - "expr": "max_over_time(go_memstats_alloc_bytes{job=\"pushgateway\",instance=~\"$instance:[1-9][0-9]*\"}[$rate_interval])", + "expr": "max_over_time(go_memstats_alloc_bytes{job=\"alertmanager\",instance=~\"$instance:[1-9][0-9]*\"}[$rate_interval])", "format": "time_series", - "interval": "", "intervalFactor": 2, "legendFormat": "allocated max in {{ $rate_interval }}", "metric": "go_memstats_alloc_bytes", @@ -524,7 +1030,7 @@ "step": 20 }, { - "expr": "go_memstats_alloc_bytes{job=\"pushgateway\",instance=~\"$instance:[1-9][0-9]*\"}", + "expr": "go_memstats_alloc_bytes{job=\"alertmanager\",instance=~\"$instance:[1-9][0-9]*\"}", "format": "time_series", "intervalFactor": 2, "legendFormat": "allocated current", @@ -533,7 +1039,7 @@ "step": 20 }, { - "expr": "min_over_time(go_memstats_alloc_bytes{job=\"pushgateway\",instance=~\"$instance:[1-9][0-9]*\"}[$rate_interval])", + "expr": "min_over_time(go_memstats_alloc_bytes{job=\"alertmanager\",instance=~\"$instance:[1-9][0-9]*\"}[$rate_interval])", "format": "time_series", "intervalFactor": 2, "legendFormat": "allocated min in {{ $rate_interval }}", @@ -583,210 +1089,6 @@ "alignLevel": null } }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": null, - "editable": true, - "error": false, - "fill": 1, - "gridPos": { - "h": 7, - "w": 8, - "x": 16, - "y": 12 - }, - "id": 7, - "legend": { - "avg": true, - "current": false, - "max": false, - "min": false, - "show": false, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "repeat": "instance", - "repeatDirection": "v", - "scopedVars": { - "instance": { - "selected": false, - "text": "10.0.0.25", - "value": "10.0.0.25" - } - }, - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "rate(go_memstats_alloc_bytes_total{job=\"pushgateway\",instance=~\"$instance:[1-9][0-9]*\"}[$rate_interval])", - "format": "time_series", - "intervalFactor": 2, - "legendFormat": "{{ instance }}", - "metric": "go_memstats_alloc_bytes", - "refId": "A", - "step": 20 - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "Allocations@${instance}", - "tooltip": { - "msResolution": false, - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "Bps", - "label": null, - "logBase": 1, - "max": null, - "min": "0", - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": null, - "decimals": 2, - "editable": true, - "error": false, - "fill": 1, - "gridPos": { - "h": 7, - "w": 8, - "x": 0, - "y": 19 - }, - "id": 13, - "legend": { - "alignAsTable": false, - "avg": true, - "current": false, - "hideEmpty": false, - "max": false, - "min": false, - "rightSide": false, - "show": false, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "repeat": null, - "repeatDirection": "v", - "repeatIteration": 1529933872415, - "repeatPanelId": 9, - "scopedVars": { - "instance": { - "selected": false, - "text": "10.0.0.6", - "value": "10.0.0.6" - } - }, - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "rate(process_cpu_seconds_total{job=\"pushgateway\",instance=~\"$instance:[1-9][0-9]*\"}[$rate_interval])", - "format": "time_series", - "intervalFactor": 2, - "legendFormat": "{{ instance }}", - "metric": "prometheus_local_storage_ingested_samples_total", - "refId": "A", - "step": 20 - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "CPU@${instance}", - "tooltip": { - "msResolution": false, - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [ - "avg" - ] - }, - "yaxes": [ - { - "format": "none", - "label": "Seconds / Second", - "logBase": 1, - "max": null, - "min": "0", - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } - }, { "aliasColors": {}, "bars": false, @@ -799,18 +1101,18 @@ "fill": 1, "gridPos": { "h": 7, - "w": 8, - "x": 8, - "y": 19 + "w": 24, + "x": 0, + "y": 41 }, - "id": 14, + "id": 18, "legend": { - "alignAsTable": false, + "alignAsTable": true, "avg": false, "current": false, "max": false, "min": false, - "rightSide": false, + "rightSide": true, "show": true, "total": false, "values": false @@ -818,7 +1120,7 @@ "lines": true, "linewidth": 1, "links": [], - "minSpan": 2, + "minSpan": 3, "nullPointMode": "null", "percentage": false, "pointradius": 5, @@ -826,13 +1128,13 @@ "renderer": "flot", "repeat": null, "repeatDirection": "v", - "repeatIteration": 1529933872415, + "repeatIteration": 1530100959301, "repeatPanelId": 6, "scopedVars": { "instance": { "selected": false, - "text": "10.0.0.6", - "value": "10.0.0.6" + "text": "10.0.0.9", + "value": "10.0.0.9" } }, "seriesOverrides": [ @@ -846,7 +1148,7 @@ "steppedLine": false, "targets": [ { - "expr": "process_resident_memory_bytes{job=\"pushgateway\",instance=~\"$instance:[1-9][0-9]*\"}", + "expr": "process_resident_memory_bytes{job=\"alertmanager\",instance=~\"$instance:[1-9][0-9]*\"}", "format": "time_series", "intervalFactor": 2, "legendFormat": "RSS", @@ -855,9 +1157,8 @@ "step": 20 }, { - "expr": "max_over_time(go_memstats_alloc_bytes{job=\"pushgateway\",instance=~\"$instance:[1-9][0-9]*\"}[$rate_interval])", + "expr": "max_over_time(go_memstats_alloc_bytes{job=\"alertmanager\",instance=~\"$instance:[1-9][0-9]*\"}[$rate_interval])", "format": "time_series", - "interval": "", "intervalFactor": 2, "legendFormat": "allocated max in {{ $rate_interval }}", "metric": "go_memstats_alloc_bytes", @@ -865,7 +1166,7 @@ "step": 20 }, { - "expr": "go_memstats_alloc_bytes{job=\"pushgateway\",instance=~\"$instance:[1-9][0-9]*\"}", + "expr": "go_memstats_alloc_bytes{job=\"alertmanager\",instance=~\"$instance:[1-9][0-9]*\"}", "format": "time_series", "intervalFactor": 2, "legendFormat": "allocated current", @@ -874,7 +1175,7 @@ "step": 20 }, { - "expr": "min_over_time(go_memstats_alloc_bytes{job=\"pushgateway\",instance=~\"$instance:[1-9][0-9]*\"}[$rate_interval])", + "expr": "min_over_time(go_memstats_alloc_bytes{job=\"alertmanager\",instance=~\"$instance:[1-9][0-9]*\"}[$rate_interval])", "format": "time_series", "intervalFactor": 2, "legendFormat": "allocated min in {{ $rate_interval }}", @@ -923,106 +1224,6 @@ "align": false, "alignLevel": null } - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": null, - "editable": true, - "error": false, - "fill": 1, - "gridPos": { - "h": 7, - "w": 8, - "x": 16, - "y": 19 - }, - "id": 15, - "legend": { - "avg": true, - "current": false, - "max": false, - "min": false, - "show": false, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "repeat": null, - "repeatDirection": "v", - "repeatIteration": 1529933872415, - "repeatPanelId": 7, - "scopedVars": { - "instance": { - "selected": false, - "text": "10.0.0.6", - "value": "10.0.0.6" - } - }, - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "rate(go_memstats_alloc_bytes_total{job=\"pushgateway\",instance=~\"$instance:[1-9][0-9]*\"}[$rate_interval])", - "format": "time_series", - "intervalFactor": 2, - "legendFormat": "{{ instance }}", - "metric": "go_memstats_alloc_bytes", - "refId": "A", - "step": 20 - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "Allocations@${instance}", - "tooltip": { - "msResolution": false, - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "Bps", - "label": null, - "logBase": 1, - "max": null, - "min": "0", - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } } ], "refresh": "1m", @@ -1037,20 +1238,17 @@ "allValue": null, "current": { "text": "All", - "value": [ - "$__all" - ] + "value": "$__all" }, "datasource": null, "hide": 0, "includeAll": true, - "label": "instance", - "multi": true, + "label": null, + "multi": false, "name": "instance", "options": [], - "query": "query_result(up{job=\"pushgateway\"} == 1)", + "query": "query_result(up{job=\"alertmanager\"} == 1)", "refresh": 1, - "refresh_on_load": true, "regex": ".*instance=\"([^:]+):[1-9][0-9]*\".*", "sort": 1, "tagValuesQuery": null, @@ -1138,7 +1336,7 @@ ] }, "timezone": "browser", - "title": "Pushgateway", + "title": "Alertmanager", "uid": null, "version": 2 }