Created
January 6, 2017 04:16
-
-
Save billimek/c6d2cf56cc5330710ed2b48a8f736a4d to your computer and use it in GitHub Desktop.
docker.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"id": 7, | |
"title": "docker", | |
"tags": [], | |
"style": "dark", | |
"timezone": "browser", | |
"editable": true, | |
"sharedCrosshair": true, | |
"hideControls": true, | |
"time": { | |
"from": "now-1h", | |
"to": "now" | |
}, | |
"timepicker": { | |
"refresh_intervals": [ | |
"1s", | |
"2s", | |
"5s", | |
"10s", | |
"30s", | |
"1m", | |
"5m", | |
"15m" | |
], | |
"time_options": [ | |
"5m", | |
"15m", | |
"1h", | |
"6h", | |
"12h", | |
"24h", | |
"2d", | |
"7d", | |
"30d" | |
] | |
}, | |
"templating": { | |
"list": [ | |
{ | |
"allValue": null, | |
"current": { | |
"tags": [], | |
"text": "All", | |
"value": [ | |
"$__all" | |
] | |
}, | |
"datasource": "influxdb", | |
"hide": 0, | |
"includeAll": true, | |
"label": "container", | |
"multi": true, | |
"name": "container", | |
"options": [ | |
{ | |
"selected": true, | |
"text": "All", | |
"value": "$__all" | |
}, | |
{ | |
"selected": false, | |
"text": "dd-agent", | |
"value": "dd-agent" | |
}, | |
{ | |
"selected": false, | |
"text": "discordbridge", | |
"value": "discordbridge" | |
}, | |
{ | |
"selected": false, | |
"text": "filebeat", | |
"value": "filebeat" | |
}, | |
{ | |
"selected": false, | |
"text": "grafana", | |
"value": "grafana" | |
}, | |
{ | |
"selected": false, | |
"text": "graylog2_graylog_1", | |
"value": "graylog2_graylog_1" | |
}, | |
{ | |
"selected": false, | |
"text": "graylog2_some-elasticsearch_1", | |
"value": "graylog2_some-elasticsearch_1" | |
}, | |
{ | |
"selected": false, | |
"text": "graylog2_some-mongo_1", | |
"value": "graylog2_some-mongo_1" | |
}, | |
{ | |
"selected": false, | |
"text": "httpsportal_https-portal_1", | |
"value": "httpsportal_https-portal_1" | |
}, | |
{ | |
"selected": false, | |
"text": "ikev2-vpn-server", | |
"value": "ikev2-vpn-server" | |
}, | |
{ | |
"selected": false, | |
"text": "influxdb", | |
"value": "influxdb" | |
}, | |
{ | |
"selected": false, | |
"text": "librenms", | |
"value": "librenms" | |
}, | |
{ | |
"selected": false, | |
"text": "logspout", | |
"value": "logspout" | |
}, | |
{ | |
"selected": false, | |
"text": "mariadb", | |
"value": "mariadb" | |
}, | |
{ | |
"selected": false, | |
"text": "minecraft", | |
"value": "minecraft" | |
}, | |
{ | |
"selected": false, | |
"text": "minecraft_forge", | |
"value": "minecraft_forge" | |
}, | |
{ | |
"selected": false, | |
"text": "minecraft_sv", | |
"value": "minecraft_sv" | |
}, | |
{ | |
"selected": false, | |
"text": "nzbget", | |
"value": "nzbget" | |
}, | |
{ | |
"selected": false, | |
"text": "observium", | |
"value": "observium" | |
}, | |
{ | |
"selected": false, | |
"text": "plex", | |
"value": "plex" | |
}, | |
{ | |
"selected": false, | |
"text": "plexpy", | |
"value": "plexpy" | |
}, | |
{ | |
"selected": false, | |
"text": "sonarr", | |
"value": "sonarr" | |
}, | |
{ | |
"selected": false, | |
"text": "transmission", | |
"value": "transmission" | |
} | |
], | |
"query": "SHOW TAG VALUES FROM \"docker_container_cpu\" WITH KEY = \"container_name\"", | |
"refresh": 0, | |
"regex": "", | |
"sort": 0, | |
"tagValuesQuery": null, | |
"tagsQuery": null, | |
"type": "query" | |
} | |
] | |
}, | |
"annotations": { | |
"list": [] | |
}, | |
"refresh": "10s", | |
"schemaVersion": 13, | |
"version": 53, | |
"links": [], | |
"gnetId": null, | |
"rows": [ | |
{ | |
"title": "Info", | |
"panels": [ | |
{ | |
"content": "<p><img style=\"display: block; margin-left: auto; margin-right: auto;\" src=\"http://i.imgur.com/LMfz7Zt.png\" alt=\"\" /></p>", | |
"editable": true, | |
"error": false, | |
"height": "", | |
"id": 19, | |
"links": [], | |
"mode": "html", | |
"span": 2, | |
"title": "", | |
"transparent": true, | |
"type": "text" | |
}, | |
{ | |
"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": null, | |
"editable": true, | |
"error": false, | |
"format": "short", | |
"gauge": { | |
"maxValue": null, | |
"minValue": 0, | |
"show": false, | |
"thresholdLabels": false, | |
"thresholdMarkers": true | |
}, | |
"id": 25, | |
"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": " containers total", | |
"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": true | |
}, | |
"targets": [ | |
{ | |
"dsType": "influxdb", | |
"groupBy": [], | |
"measurement": "docker", | |
"policy": "default", | |
"refId": "A", | |
"resultFormat": "time_series", | |
"select": [ | |
[ | |
{ | |
"params": [ | |
"n_containers" | |
], | |
"type": "field" | |
} | |
] | |
], | |
"tags": [ | |
{ | |
"key": "host", | |
"operator": "=", | |
"value": "andor" | |
} | |
] | |
} | |
], | |
"thresholds": "", | |
"title": "", | |
"transparent": true, | |
"type": "singlestat", | |
"valueFontSize": "100%", | |
"valueMaps": [ | |
{ | |
"op": "=", | |
"text": "N/A", | |
"value": "null" | |
} | |
], | |
"valueName": "current" | |
}, | |
{ | |
"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": null, | |
"editable": true, | |
"error": false, | |
"format": "short", | |
"gauge": { | |
"maxValue": null, | |
"minValue": 0, | |
"show": false, | |
"thresholdLabels": false, | |
"thresholdMarkers": true | |
}, | |
"id": 26, | |
"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": " containers running", | |
"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": true | |
}, | |
"targets": [ | |
{ | |
"dsType": "influxdb", | |
"groupBy": [], | |
"measurement": "docker", | |
"policy": "default", | |
"refId": "A", | |
"resultFormat": "time_series", | |
"select": [ | |
[ | |
{ | |
"params": [ | |
"n_containers_running" | |
], | |
"type": "field" | |
} | |
] | |
], | |
"tags": [ | |
{ | |
"key": "host", | |
"operator": "=", | |
"value": "andor" | |
} | |
] | |
} | |
], | |
"thresholds": "", | |
"title": "", | |
"transparent": true, | |
"type": "singlestat", | |
"valueFontSize": "100%", | |
"valueMaps": [ | |
{ | |
"op": "=", | |
"text": "N/A", | |
"value": "null" | |
} | |
], | |
"valueName": "current" | |
}, | |
{ | |
"cacheTimeout": null, | |
"colorBackground": true, | |
"colorValue": false, | |
"colors": [ | |
"rgba(50, 172, 45, 0.97)", | |
"rgba(237, 129, 40, 0.89)", | |
"rgba(245, 54, 54, 0.9)" | |
], | |
"datasource": null, | |
"editable": true, | |
"error": false, | |
"format": "short", | |
"gauge": { | |
"maxValue": 3, | |
"minValue": 0, | |
"show": false, | |
"thresholdLabels": false, | |
"thresholdMarkers": true | |
}, | |
"id": 27, | |
"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": " containers stopped", | |
"postfixFontSize": "50%", | |
"prefix": "", | |
"prefixFontSize": "50%", | |
"rangeMaps": [ | |
{ | |
"from": "null", | |
"text": "N/A", | |
"to": "null" | |
} | |
], | |
"span": 4, | |
"sparkline": { | |
"fillColor": "rgba(31, 118, 189, 0.18)", | |
"full": false, | |
"lineColor": "rgb(31, 120, 193)", | |
"show": true | |
}, | |
"targets": [ | |
{ | |
"dsType": "influxdb", | |
"groupBy": [], | |
"measurement": "docker", | |
"policy": "default", | |
"refId": "A", | |
"resultFormat": "time_series", | |
"select": [ | |
[ | |
{ | |
"params": [ | |
"n_containers_stopped" | |
], | |
"type": "field" | |
} | |
] | |
], | |
"tags": [ | |
{ | |
"key": "host", | |
"operator": "=", | |
"value": "andor" | |
} | |
] | |
} | |
], | |
"thresholds": "1,2,3", | |
"title": "", | |
"transparent": true, | |
"type": "singlestat", | |
"valueFontSize": "100%", | |
"valueMaps": [ | |
{ | |
"op": "=", | |
"text": "N/A", | |
"value": "null" | |
} | |
], | |
"valueName": "current" | |
} | |
], | |
"showTitle": false, | |
"titleSize": "h6", | |
"height": 149, | |
"repeat": null, | |
"repeatRowId": null, | |
"repeatIteration": null, | |
"collapse": false | |
}, | |
{ | |
"title": "Docker CPU", | |
"panels": [ | |
{ | |
"aliasColors": { | |
"CouchPotato": "#BF1B00", | |
"Deluge": "#0A437C", | |
"Grafana": "#EF843C", | |
"InfluxDB": "#705DA0", | |
"Muximux": "#2F575E", | |
"NZBGet": "#629E51", | |
"Plex": "#EAB839", | |
"Sonarr": "#6ED0E0", | |
"Telegraf": "#E5A8E2" | |
}, | |
"bars": false, | |
"datasource": "influxdb", | |
"decimals": 1, | |
"editable": true, | |
"error": false, | |
"fill": 1, | |
"grid": {}, | |
"height": "270", | |
"id": 12, | |
"interval": "", | |
"legend": { | |
"alignAsTable": true, | |
"avg": true, | |
"current": true, | |
"hideEmpty": false, | |
"max": true, | |
"min": false, | |
"rightSide": true, | |
"show": true, | |
"sideWidth": 280, | |
"sort": "avg", | |
"sortDesc": true, | |
"total": false, | |
"values": true | |
}, | |
"lines": true, | |
"linewidth": 2, | |
"links": [], | |
"nullPointMode": "connected", | |
"percentage": false, | |
"pointradius": 1, | |
"points": false, | |
"renderer": "flot", | |
"seriesOverrides": [], | |
"span": 12, | |
"stack": false, | |
"steppedLine": false, | |
"targets": [ | |
{ | |
"alias": "$tag_container_name", | |
"dsType": "influxdb", | |
"groupBy": [ | |
{ | |
"params": [ | |
"$interval" | |
], | |
"type": "time" | |
}, | |
{ | |
"params": [ | |
"container_name" | |
], | |
"type": "tag" | |
} | |
], | |
"hide": true, | |
"measurement": "docker_container_cpu", | |
"policy": "default", | |
"query": "SELECT sum(\"usage_percent\") FROM \"docker_container_cpu\" WHERE \"host\" = 'andor' AND $timeFilter GROUP BY time($interval), \"container_name\"", | |
"rawQuery": false, | |
"refId": "B", | |
"resultFormat": "time_series", | |
"select": [ | |
[ | |
{ | |
"params": [ | |
"usage_percent" | |
], | |
"type": "field" | |
}, | |
{ | |
"params": [], | |
"type": "sum" | |
} | |
] | |
], | |
"tags": [ | |
{ | |
"key": "host", | |
"operator": "=", | |
"value": "andor" | |
}, | |
{ | |
"condition": "AND", | |
"key": "container_name", | |
"operator": "=~", | |
"value": "/^$container$/" | |
} | |
] | |
}, | |
{ | |
"alias": "$tag_container_name", | |
"dsType": "influxdb", | |
"groupBy": [ | |
{ | |
"params": [ | |
"$interval" | |
], | |
"type": "time" | |
}, | |
{ | |
"params": [ | |
"container_name" | |
], | |
"type": "tag" | |
} | |
], | |
"hide": false, | |
"measurement": "docker_container_cpu", | |
"policy": "default", | |
"query": "SELECT sum(\"usage_percent\") FROM \"docker_container_cpu\" WHERE \"host\" = 'andor' AND $timeFilter GROUP BY time($interval), \"container_name\"", | |
"rawQuery": false, | |
"refId": "A", | |
"resultFormat": "time_series", | |
"select": [ | |
[ | |
{ | |
"params": [ | |
"usage_percent" | |
], | |
"type": "field" | |
}, | |
{ | |
"params": [], | |
"type": "last" | |
}, | |
{ | |
"params": [ | |
" / 8" | |
], | |
"type": "math" | |
} | |
] | |
], | |
"tags": [ | |
{ | |
"key": "host", | |
"operator": "=", | |
"value": "andor" | |
}, | |
{ | |
"condition": "AND", | |
"key": "container_name", | |
"operator": "=~", | |
"value": "/^$container$/" | |
} | |
] | |
} | |
], | |
"thresholds": [], | |
"timeFrom": null, | |
"timeShift": null, | |
"title": "CPU Usage per Container", | |
"tooltip": { | |
"msResolution": true, | |
"shared": true, | |
"sort": 2, | |
"value_type": "individual" | |
}, | |
"transparent": true, | |
"type": "graph", | |
"xaxis": { | |
"mode": "time", | |
"name": null, | |
"show": true, | |
"values": [] | |
}, | |
"yaxes": [ | |
{ | |
"format": "percent", | |
"label": "", | |
"logBase": 1, | |
"max": null, | |
"min": 0, | |
"show": true | |
}, | |
{ | |
"format": "short", | |
"label": null, | |
"logBase": 1, | |
"max": null, | |
"min": null, | |
"show": true | |
} | |
] | |
} | |
], | |
"showTitle": false, | |
"titleSize": "h6", | |
"height": "250px", | |
"repeat": null, | |
"repeatRowId": null, | |
"repeatIteration": null, | |
"collapse": false | |
}, | |
{ | |
"title": "LAN & CPU", | |
"panels": [ | |
{ | |
"aliasColors": { | |
"Download Rate": "#1F78C1", | |
"Upload Rate": "#EF843C" | |
}, | |
"bars": false, | |
"datasource": "influxdb", | |
"editable": true, | |
"error": false, | |
"fill": 2, | |
"grid": {}, | |
"id": 20, | |
"legend": { | |
"alignAsTable": true, | |
"avg": true, | |
"current": true, | |
"max": true, | |
"min": true, | |
"rightSide": false, | |
"show": false, | |
"sort": "max", | |
"sortDesc": true, | |
"total": false, | |
"values": true | |
}, | |
"lines": true, | |
"linewidth": 1, | |
"links": [], | |
"nullPointMode": "connected", | |
"percentage": false, | |
"pointradius": 1, | |
"points": false, | |
"renderer": "flot", | |
"seriesOverrides": [], | |
"span": 6, | |
"stack": false, | |
"steppedLine": true, | |
"targets": [ | |
{ | |
"alias": "$tag_container_name.$col", | |
"dsType": "influxdb", | |
"groupBy": [ | |
{ | |
"params": [ | |
"$interval" | |
], | |
"type": "time" | |
}, | |
{ | |
"params": [ | |
"container_name" | |
], | |
"type": "tag" | |
}, | |
{ | |
"params": [ | |
"null" | |
], | |
"type": "fill" | |
} | |
], | |
"measurement": "docker_container_net", | |
"policy": "default", | |
"refId": "A", | |
"resultFormat": "time_series", | |
"select": [ | |
[ | |
{ | |
"params": [ | |
"rx_bytes" | |
], | |
"type": "field" | |
}, | |
{ | |
"params": [], | |
"type": "mean" | |
}, | |
{ | |
"params": [ | |
"10s" | |
], | |
"type": "derivative" | |
}, | |
{ | |
"params": [ | |
"In" | |
], | |
"type": "alias" | |
} | |
], | |
[ | |
{ | |
"params": [ | |
"tx_bytes" | |
], | |
"type": "field" | |
}, | |
{ | |
"params": [], | |
"type": "mean" | |
}, | |
{ | |
"params": [ | |
"10s" | |
], | |
"type": "derivative" | |
}, | |
{ | |
"params": [ | |
"*-1" | |
], | |
"type": "math" | |
}, | |
{ | |
"params": [ | |
"Out" | |
], | |
"type": "alias" | |
} | |
] | |
], | |
"tags": [ | |
{ | |
"key": "host", | |
"operator": "=", | |
"value": "andor" | |
}, | |
{ | |
"condition": "AND", | |
"key": "container_name", | |
"operator": "=~", | |
"value": "/^$container$/" | |
} | |
] | |
} | |
], | |
"thresholds": [], | |
"timeFrom": null, | |
"timeShift": null, | |
"title": "Docker Receive/Transmit", | |
"tooltip": { | |
"msResolution": false, | |
"shared": true, | |
"sort": 0, | |
"value_type": "cumulative" | |
}, | |
"transparent": true, | |
"type": "graph", | |
"xaxis": { | |
"mode": "time", | |
"name": null, | |
"show": true, | |
"values": [] | |
}, | |
"yaxes": [ | |
{ | |
"format": "bps", | |
"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, | |
"datasource": null, | |
"editable": true, | |
"error": false, | |
"fill": 1, | |
"id": 23, | |
"interval": "", | |
"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": 6, | |
"stack": false, | |
"steppedLine": false, | |
"targets": [ | |
{ | |
"alias": "CPU (sum)", | |
"dsType": "influxdb", | |
"groupBy": [ | |
{ | |
"params": [ | |
"$interval" | |
], | |
"type": "time" | |
} | |
], | |
"hide": false, | |
"measurement": "docker_container_cpu", | |
"policy": "default", | |
"refId": "B", | |
"resultFormat": "time_series", | |
"select": [ | |
[ | |
{ | |
"params": [ | |
"usage_percent" | |
], | |
"type": "field" | |
}, | |
{ | |
"params": [], | |
"type": "last" | |
}, | |
{ | |
"params": [ | |
" / 8" | |
], | |
"type": "math" | |
} | |
] | |
], | |
"tags": [ | |
{ | |
"key": "host", | |
"operator": "=", | |
"value": "andor" | |
} | |
] | |
} | |
], | |
"thresholds": [], | |
"timeFrom": null, | |
"timeShift": null, | |
"title": "Total Docker Container CPU Usage", | |
"tooltip": { | |
"msResolution": false, | |
"shared": true, | |
"sort": 0, | |
"value_type": "individual" | |
}, | |
"transparent": true, | |
"type": "graph", | |
"xaxis": { | |
"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": false | |
} | |
] | |
} | |
], | |
"showTitle": false, | |
"titleSize": "h6", | |
"height": 268, | |
"repeat": null, | |
"repeatRowId": null, | |
"repeatIteration": null, | |
"collapse": false | |
}, | |
{ | |
"title": "Docker Memory", | |
"panels": [ | |
{ | |
"aliasColors": { | |
"CouchPotato": "#BF1B00", | |
"Deluge": "#0A437C", | |
"Grafana": "#EF843C", | |
"InfluxDB": "#705DA0", | |
"Muximux": "#2F575E", | |
"NZBGet": "#629E51", | |
"Plex": "#EAB839", | |
"Sonarr": "#6ED0E0", | |
"Telegraf": "#D683CE" | |
}, | |
"bars": false, | |
"datasource": "influxdb", | |
"decimals": 1, | |
"editable": true, | |
"error": false, | |
"fill": 6, | |
"grid": {}, | |
"height": "", | |
"id": 16, | |
"legend": { | |
"alignAsTable": true, | |
"avg": false, | |
"current": true, | |
"max": true, | |
"min": false, | |
"rightSide": true, | |
"show": false, | |
"sideWidth": 280, | |
"sort": "current", | |
"sortDesc": true, | |
"total": false, | |
"values": true | |
}, | |
"lines": true, | |
"linewidth": 0, | |
"links": [], | |
"nullPointMode": "connected", | |
"percentage": false, | |
"pointradius": 1, | |
"points": false, | |
"renderer": "flot", | |
"seriesOverrides": [], | |
"span": 6, | |
"stack": true, | |
"steppedLine": true, | |
"targets": [ | |
{ | |
"alias": "$tag_container_name", | |
"dsType": "influxdb", | |
"groupBy": [ | |
{ | |
"params": [ | |
"container_name" | |
], | |
"type": "tag" | |
} | |
], | |
"measurement": "docker_container_mem", | |
"policy": "default", | |
"refId": "A", | |
"resultFormat": "time_series", | |
"select": [ | |
[ | |
{ | |
"params": [ | |
"usage" | |
], | |
"type": "field" | |
} | |
] | |
], | |
"tags": [ | |
{ | |
"key": "host", | |
"operator": "=", | |
"value": "andor" | |
}, | |
{ | |
"condition": "AND", | |
"key": "container_name", | |
"operator": "=~", | |
"value": "/^$container$/" | |
} | |
] | |
} | |
], | |
"thresholds": [], | |
"timeFrom": null, | |
"timeShift": null, | |
"title": "Docker Containers - Memory Usage", | |
"tooltip": { | |
"msResolution": true, | |
"shared": true, | |
"sort": 2, | |
"value_type": "individual" | |
}, | |
"transparent": true, | |
"type": "graph", | |
"xaxis": { | |
"mode": "time", | |
"name": null, | |
"show": true, | |
"values": [] | |
}, | |
"yaxes": [ | |
{ | |
"format": "bytes", | |
"label": null, | |
"logBase": 1, | |
"max": null, | |
"min": 0, | |
"show": true | |
}, | |
{ | |
"format": "short", | |
"label": null, | |
"logBase": 1, | |
"max": null, | |
"min": null, | |
"show": false | |
} | |
] | |
}, | |
{ | |
"aliasColors": {}, | |
"bars": false, | |
"datasource": null, | |
"editable": true, | |
"error": false, | |
"fill": 1, | |
"id": 21, | |
"legend": { | |
"avg": false, | |
"current": true, | |
"max": false, | |
"min": false, | |
"show": false, | |
"total": false, | |
"values": true | |
}, | |
"lines": true, | |
"linewidth": 1, | |
"links": [], | |
"nullPointMode": "connected", | |
"percentage": false, | |
"pointradius": 5, | |
"points": false, | |
"renderer": "flot", | |
"seriesOverrides": [], | |
"span": 6, | |
"stack": false, | |
"steppedLine": false, | |
"targets": [ | |
{ | |
"alias": "$tag_container_name", | |
"dsType": "influxdb", | |
"groupBy": [ | |
{ | |
"params": [ | |
"$interval" | |
], | |
"type": "time" | |
}, | |
{ | |
"params": [ | |
"container_name" | |
], | |
"type": "tag" | |
}, | |
{ | |
"params": [ | |
"null" | |
], | |
"type": "fill" | |
} | |
], | |
"measurement": "docker_container_mem", | |
"policy": "default", | |
"refId": "A", | |
"resultFormat": "time_series", | |
"select": [ | |
[ | |
{ | |
"params": [ | |
"usage_percent" | |
], | |
"type": "field" | |
}, | |
{ | |
"params": [], | |
"type": "mean" | |
} | |
] | |
], | |
"tags": [ | |
{ | |
"key": "host", | |
"operator": "=", | |
"value": "andor" | |
}, | |
{ | |
"condition": "AND", | |
"key": "container_name", | |
"operator": "=~", | |
"value": "/^$container$/" | |
} | |
] | |
} | |
], | |
"thresholds": [], | |
"timeFrom": null, | |
"timeShift": null, | |
"title": "Container Memory Usage %", | |
"tooltip": { | |
"msResolution": false, | |
"shared": true, | |
"sort": 0, | |
"value_type": "individual" | |
}, | |
"transparent": true, | |
"type": "graph", | |
"xaxis": { | |
"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 | |
} | |
] | |
} | |
], | |
"showTitle": false, | |
"titleSize": "h6", | |
"height": 318, | |
"repeat": null, | |
"repeatRowId": null, | |
"repeatIteration": null, | |
"collapse": false | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment