From 793be69566663ca307fcb25cfd2c5e17c8588452 Mon Sep 17 00:00:00 2001 From: Olivier Bourdon Date: Mon, 24 Jul 2017 14:56:29 +0200 Subject: [PATCH] Reorder related panel items Change-Id: I4df4224a78a31fde52a3beb538fbce0048c0cdad --- .../prometheus_performances_prometheus.json | 194 +++++++++--------- 1 file changed, 97 insertions(+), 97 deletions(-) diff --git a/prometheus/files/grafana_dashboards/prometheus_performances_prometheus.json b/prometheus/files/grafana_dashboards/prometheus_performances_prometheus.json index c751ffc..a15f992 100644 --- a/prometheus/files/grafana_dashboards/prometheus_performances_prometheus.json +++ b/prometheus/files/grafana_dashboards/prometheus_performances_prometheus.json @@ -199,7 +199,7 @@ "editable": true, "error": false, "fill": 1, - "id": 1, + "id": 13, "legend": { "avg": false, "current": false, @@ -223,18 +223,34 @@ "steppedLine": false, "targets": [ { - "expr": "rate(prometheus_local_storage_ingested_samples_total{job=\"prometheus\",instance=\"$Prometheus:9090\"}[1m])", + "expr": "rate(prometheus_local_storage_chunk_ops_total{job=\"prometheus\",instance=\"$Prometheus:9090\",type=\"persist\"}[10m])", "intervalFactor": 2, - "legendFormat": "samples/s", - "metric": "prometheus_local_storage_ingested_samples_total", + "legendFormat": "10m rate", + "metric": "prometheus_local_storage_chunk_ops_total", "refId": "A", "step": 10 + }, + { + "expr": "rate(prometheus_local_storage_chunk_ops_total{job=\"prometheus\",instance=\"$Prometheus:9090\",type=\"persist\"}[1h])", + "intervalFactor": 2, + "legendFormat": "1h rate", + "metric": "prometheus_local_storage_chunk_ops_total", + "refId": "B", + "step": 10 + }, + { + "expr": "rate(prometheus_local_storage_chunk_ops_total{job=\"prometheus\",instance=\"$Prometheus:9090\",type=\"persist\"}[6h])", + "intervalFactor": 2, + "legendFormat": "6h rate", + "metric": "prometheus_local_storage_chunk_ops_total", + "refId": "C", + "step": 10 } ], "thresholds": [], "timeFrom": null, "timeShift": null, - "title": "Samples Ingested", + "title": "Chunks Persisted", "tooltip": { "msResolution": false, "shared": true, @@ -251,7 +267,7 @@ "yaxes": [ { "format": "short", - "label": "", + "label": null, "logBase": 1, "max": null, "min": "0", @@ -353,96 +369,6 @@ } ] }, - { - "aliasColors": {}, - "bars": false, - "editable": true, - "error": false, - "fill": 1, - "id": 13, - "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": [], - "span": 4, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "rate(prometheus_local_storage_chunk_ops_total{job=\"prometheus\",instance=\"$Prometheus:9090\",type=\"persist\"}[10m])", - "intervalFactor": 2, - "legendFormat": "10m rate", - "metric": "prometheus_local_storage_chunk_ops_total", - "refId": "A", - "step": 10 - }, - { - "expr": "rate(prometheus_local_storage_chunk_ops_total{job=\"prometheus\",instance=\"$Prometheus:9090\",type=\"persist\"}[1h])", - "intervalFactor": 2, - "legendFormat": "1h rate", - "metric": "prometheus_local_storage_chunk_ops_total", - "refId": "B", - "step": 10 - }, - { - "expr": "rate(prometheus_local_storage_chunk_ops_total{job=\"prometheus\",instance=\"$Prometheus:9090\",type=\"persist\"}[6h])", - "intervalFactor": 2, - "legendFormat": "6h rate", - "metric": "prometheus_local_storage_chunk_ops_total", - "refId": "C", - "step": 10 - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "Chunks Persisted", - "tooltip": { - "msResolution": false, - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": "0", - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ] - }, { "aliasColors": {}, "bars": false, @@ -524,6 +450,80 @@ "show": true } ] + }, + { + "aliasColors": {}, + "bars": false, + "editable": true, + "error": false, + "fill": 1, + "id": 1, + "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": [], + "span": 4, + "stack": false, + "steppedLine": false, + "targets": [ + { + "expr": "rate(prometheus_local_storage_ingested_samples_total{job=\"prometheus\",instance=\"$Prometheus:9090\"}[1m])", + "intervalFactor": 2, + "legendFormat": "samples/s", + "metric": "prometheus_local_storage_ingested_samples_total", + "refId": "A", + "step": 10 + } + ], + "thresholds": [], + "timeFrom": null, + "timeShift": null, + "title": "Samples Ingested", + "tooltip": { + "msResolution": false, + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "short", + "label": "", + "logBase": 1, + "max": null, + "min": "0", + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + } + ] } ], "repeat": null, @@ -1605,6 +1605,6 @@ }, "timezone": "browser", "title": "Prometheus Performances", - "version": 6 + "version": 7 } {% endraw %}