From 3e94f95882d1b566a546059240631358e6460501 Mon Sep 17 00:00:00 2001 From: Gordon Kelly Date: Wed, 20 Dec 2017 16:51:28 +0000 Subject: docker_grafana: add dashboards to docker and move dashboards from docker/ to docker/grafana Change-Id: I8bfb3c9aa11f89b987e7cf20dd3ce7904cb3f8b8 Signed-off-by: gordonkelly --- docker/dashboards/average_load_dashboard.json | 246 -------------------------- 1 file changed, 246 deletions(-) delete mode 100644 docker/dashboards/average_load_dashboard.json (limited to 'docker/dashboards/average_load_dashboard.json') diff --git a/docker/dashboards/average_load_dashboard.json b/docker/dashboards/average_load_dashboard.json deleted file mode 100644 index ae797f75..00000000 --- a/docker/dashboards/average_load_dashboard.json +++ /dev/null @@ -1,246 +0,0 @@ -{ - "dashboard": { - "annotations": { - "list": [ - { - "builtIn": 1, - "datasource": "-- Grafana --", - "enable": true, - "hide": true, - "iconColor": "rgba(0, 211, 255, 1)", - "name": "Annotations & Alerts", - "type": "dashboard" - } - ] - }, - "description": "Side by side comparison server load. Dynamic templating to select multiple hosts", - "editable": true, - "gnetId": 1406, - "graphTooltip": 0, - "hideControls": false, - "id": null, - "links": [], - "rows": [ - { - "collapse": false, - "height": "250px", - "panels": [ - { - "cacheTimeout": null, - "colorBackground": false, - "colorValue": true, - "colors": [ - "rgba(50, 172, 45, 0.97)", - "rgba(237, 129, 40, 0.89)", - "rgba(245, 54, 54, 0.9)" - ], - "datasource": "collectd", - "editable": true, - "error": false, - "format": "none", - "gauge": { - "maxValue": 30, - "minValue": 0, - "show": true, - "thresholdLabels": false, - "thresholdMarkers": true - }, - "id": 1, - "interval": null, - "links": [], - "mappingType": 1, - "mappingTypes": [ - { - "name": "value to text", - "value": 1 - }, - { - "name": "range to text", - "value": 2 - } - ], - "maxDataPoints": 100, - "minSpan": 2, - "nullPointMode": "connected", - "nullText": null, - "postfix": "", - "postfixFontSize": "50%", - "prefix": "", - "prefixFontSize": "50%", - "rangeMaps": [ - { - "from": "null", - "text": "N/A", - "to": "null" - } - ], - "repeat": "host", - "scopedVars": { - "host": { - "selected": true, - "text": "localhost", - "value": "localhost" - } - }, - "span": 12, - "sparkline": { - "fillColor": "rgba(31, 118, 189, 0.18)", - "full": false, - "lineColor": "rgb(31, 120, 193)", - "show": true - }, - "tableColumn": "", - "targets": [ - { - "dsType": "influxdb", - "groupBy": [ - { - "params": [ - "$interval" - ], - "type": "time" - }, - { - "params": [ - "null" - ], - "type": "fill" - } - ], - "measurement": "load_longterm", - "orderByTime": "ASC", - "policy": "default", - "refId": "A", - "resultFormat": "time_series", - "select": [ - [ - { - "params": [ - "value" - ], - "type": "field" - }, - { - "params": [], - "type": "last" - } - ] - ], - "tags": [ - { - "key": "host", - "operator": "=", - "value": "silv-mtahhan-ubuntu.ir.intel.com" - }, - { - "condition": "AND", - "key": "type", - "operator": "=", - "value": "load" - } - ] - } - ], - "thresholds": "25,28", - "title": "$host load 15m", - "type": "singlestat", - "valueFontSize": "80%", - "valueMaps": [ - { - "op": "=", - "text": "N/A", - "value": "null" - } - ], - "valueName": "avg" - } - ], - "repeat": null, - "repeatIteration": null, - "repeatRowId": null, - "showTitle": false, - "title": "Row", - "titleSize": "h6" - } - ], - "schemaVersion": 14, - "style": "dark", - "tags": [ - "barometer" - ], - "templating": { - "list": [ - { - "current": { - "text": "collectd", - "value": "collectd" - }, - "hide": 0, - "label": null, - "name": "datasource", - "options": [], - "query": "influxdb", - "refresh": 1, - "regex": "", - "type": "datasource" - }, - { - "allValue": null, - "current": { - "text": "localhost", - "value": "localhost" - }, - "datasource": "collectd", - "hide": 0, - "includeAll": false, - "label": "Host", - "multi": false, - "name": "host", - "options": [], - "query": "SHOW TAG VALUES FROM load_midterm WITH KEY=host", - "refresh": 1, - "regex": "", - "sort": 0, - "tagValuesQuery": "", - "tags": [], - "tagsQuery": "", - "type": "query", - "useTags": false - } - ] - }, - "time": { - "from": "now-6h", - "to": "now" - }, - "timepicker": { - "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": "Average Load Chart", - "version": 2 - }, - "overwrite": false -} -- cgit 1.2.3-korg