Skip to content

Instantly share code, notes, and snippets.

@christineywang
Created December 8, 2020 20:47
Show Gist options
  • Save christineywang/dba58914452b8dbc2ebe1bbdf68e1ce2 to your computer and use it in GitHub Desktop.
Save christineywang/dba58914452b8dbc2ebe1bbdf68e1ce2 to your computer and use it in GitHub Desktop.
{
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": "-- Grafana --",
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
"type": "dashboard"
}
]
},
"editable": true,
"gnetId": null,
"graphTooltip": 0,
"id": 4,
"iteration": 1607460436862,
"links": [],
"panels": [
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "Datadog",
"fieldConfig": {
"defaults": {
"custom": {},
"links": []
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 10,
"w": 12,
"x": 0,
"y": 0
},
"hiddenSeries": false,
"id": 2,
"legend": {
"alignAsTable": true,
"avg": false,
"current": true,
"max": false,
"min": false,
"rightSide": false,
"show": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "7.3.4",
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"alias": "",
"functions": [],
"groupBy": [],
"metric": "system.load.1",
"queryType": "query",
"refId": "A",
"scenarioId": "random_walk",
"tags": [
"$scope"
]
},
{
"alias": "",
"functions": [],
"groupBy": [],
"metric": "system.load.5",
"queryType": "query",
"refId": "B",
"scenarioId": "random_walk",
"tags": [
"$scope"
]
},
{
"alias": "",
"functions": [],
"groupBy": [],
"metric": "system.load.15",
"queryType": "query",
"refId": "C",
"scenarioId": "random_walk",
"tags": [
"$scope"
]
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "System load",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "short",
"label": null,
"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": "Datadog",
"fieldConfig": {
"defaults": {
"custom": {},
"links": []
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 10,
"w": 12,
"x": 12,
"y": 0
},
"hiddenSeries": false,
"id": 3,
"legend": {
"alignAsTable": true,
"avg": false,
"current": true,
"max": false,
"min": false,
"rightSide": false,
"show": true,
"sort": "current",
"sortDesc": false,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "connected",
"options": {
"alertThreshold": true
},
"percentage": true,
"pluginVersion": "7.3.4",
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": true,
"steppedLine": false,
"targets": [
{
"aggregation": "avg",
"alias": "$__display_name{$__scope}",
"functions": [],
"groupBy": [],
"metric": "system.cpu.idle",
"queryType": "query",
"refId": "A",
"scenarioId": "random_walk",
"tags": [
"$scope"
]
},
{
"aggregation": "avg",
"alias": "$__display_name{$__scope}",
"functions": [],
"groupBy": [],
"metric": "system.cpu.system",
"queryType": "query",
"refId": "B",
"scenarioId": "random_walk",
"tags": [
"$scope"
]
},
{
"aggregation": "avg",
"alias": "$__display_name{$__scope}",
"functions": [],
"groupBy": [],
"metric": "system.cpu.iowait",
"queryType": "query",
"refId": "C",
"scenarioId": "random_walk",
"tags": [
"$scope"
]
},
{
"aggregation": "avg",
"alias": "$__display_name{$__scope}",
"functions": [],
"groupBy": [],
"metric": "system.cpu.user",
"queryType": "query",
"refId": "D",
"tags": [
"$scope"
]
},
{
"aggregation": "avg",
"alias": "$__display_name{$__scope}",
"functions": [],
"groupBy": [],
"metric": "system.cpu.stolen",
"queryType": "query",
"refId": "E",
"tags": [
"$scope"
]
},
{
"aggregation": "avg",
"alias": "$__display_name{$__scope}",
"functions": [],
"groupBy": [],
"metric": "system.cpu.guest",
"queryType": "query",
"refId": "F",
"tags": [
"$scope"
]
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "CPU usage (%)",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "percent",
"label": null,
"logBase": 1,
"max": "100",
"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": "Datadog",
"fieldConfig": {
"defaults": {
"custom": {},
"links": []
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 9,
"w": 12,
"x": 0,
"y": 10
},
"hiddenSeries": false,
"id": 5,
"legend": {
"alignAsTable": true,
"avg": false,
"current": true,
"max": false,
"min": false,
"show": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "7.3.4",
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"aggregation": "avg",
"functions": [],
"groupBy": [],
"metric": "system.cpu.iowait",
"queryType": "query",
"refId": "A",
"scenarioId": "random_walk",
"tags": [
"$scope"
]
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "I/O wait (%)",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"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
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "Datadog",
"fieldConfig": {
"defaults": {
"custom": {},
"links": []
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 9,
"w": 12,
"x": 12,
"y": 10
},
"hiddenSeries": false,
"id": 7,
"legend": {
"alignAsTable": true,
"avg": false,
"current": true,
"max": false,
"min": false,
"show": true,
"sort": null,
"sortDesc": null,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "7.3.4",
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": true,
"steppedLine": false,
"targets": [
{
"aggregation": "sum",
"functions": [],
"groupBy": [],
"hide": true,
"metric": "system.mem.total",
"queryType": "query",
"refId": "A",
"scenarioId": "random_walk",
"tags": [
"$scope"
]
},
{
"aggregation": "sum",
"functions": [],
"groupBy": [],
"metric": "system.mem.usable",
"queryType": "query",
"refId": "B",
"scenarioId": "random_walk",
"tags": [
"$scope"
]
},
{
"alias": "system.mem.total - system.mem.usable",
"expression": "#A - #B",
"functions": [],
"groupBy": [],
"queryType": "arithmetic",
"refId": "C",
"tags": []
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "System memory",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "bytes",
"label": null,
"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": "Datadog",
"fieldConfig": {
"defaults": {
"custom": {},
"links": []
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 9,
"w": 12,
"x": 0,
"y": 19
},
"hiddenSeries": false,
"id": 9,
"legend": {
"alignAsTable": true,
"avg": false,
"current": true,
"max": false,
"min": false,
"show": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "7.3.4",
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"aggregation": "sum",
"functions": [],
"groupBy": [],
"metric": "system.net.bytes_rcvd",
"queryType": "query",
"refId": "A",
"scenarioId": "random_walk",
"tags": [
"$scope"
]
},
{
"aggregation": "sum",
"functions": [],
"groupBy": [],
"metric": "system.net.bytes_sent",
"queryType": "query",
"refId": "B",
"tags": [
"$scope"
]
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Network traffic (per sec)",
"tooltip": {
"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": null,
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
}
],
"schemaVersion": 26,
"style": "dark",
"tags": [
"datadog",
"enterprise"
],
"templating": {
"list": [
{
"allValue": null,
"current": {
"text": "*",
"value": "*"
},
"datasource": "Datadog",
"definition": "tag",
"error": null,
"hide": 0,
"includeAll": false,
"label": null,
"multi": false,
"name": "scope",
"options": [
{
"selected": true,
"text": "device:/dev/loop4",
"value": "device:/dev/loop4"
},
{
"selected": false,
"text": "device:/dev/loop5",
"value": "device:/dev/loop5"
},
{
"selected": false,
"text": "device:/dev/loop6",
"value": "device:/dev/loop6"
},
{
"selected": false,
"text": "device:/dev/loop7",
"value": "device:/dev/loop7"
},
{
"selected": false,
"text": "device:/dev/loop9",
"value": "device:/dev/loop9"
},
{
"selected": false,
"text": "device:/dev/sda1",
"value": "device:/dev/sda1"
},
{
"selected": false,
"text": "device:/dev/sda3",
"value": "device:/dev/sda3"
},
{
"selected": false,
"text": "device:/dev/sdc",
"value": "device:/dev/sdc"
},
{
"selected": false,
"text": "device:/dev/vda1",
"value": "device:/dev/vda1"
},
{
"selected": false,
"text": "device:br-1d5fd8c0483d",
"value": "device:br-1d5fd8c0483d"
},
{
"selected": false,
"text": "device:br-22990e8f1b50",
"value": "device:br-22990e8f1b50"
},
{
"selected": false,
"text": "device:br-4e3079d1ffca",
"value": "device:br-4e3079d1ffca"
},
{
"selected": false,
"text": "device:br-fddcd970adad",
"value": "device:br-fddcd970adad"
},
{
"selected": false,
"text": "device:cgmfs",
"value": "device:cgmfs"
},
{
"selected": false,
"text": "device:devtmpfs",
"value": "device:devtmpfs"
},
{
"selected": false,
"text": "device:dm-0",
"value": "device:dm-0"
},
{
"selected": false,
"text": "device:dm-1",
"value": "device:dm-1"
},
{
"selected": false,
"text": "device:dm-2",
"value": "device:dm-2"
},
{
"selected": false,
"text": "device:eth0",
"value": "device:eth0"
},
{
"selected": false,
"text": "device:loop0",
"value": "device:loop0"
},
{
"selected": false,
"text": "device:loop1",
"value": "device:loop1"
},
{
"selected": false,
"text": "device:loop10",
"value": "device:loop10"
},
{
"selected": false,
"text": "device:loop2",
"value": "device:loop2"
},
{
"selected": false,
"text": "device:loop3",
"value": "device:loop3"
},
{
"selected": false,
"text": "device:loop4",
"value": "device:loop4"
},
{
"selected": false,
"text": "device:loop5",
"value": "device:loop5"
},
{
"selected": false,
"text": "device:loop6",
"value": "device:loop6"
},
{
"selected": false,
"text": "device:loop7",
"value": "device:loop7"
},
{
"selected": false,
"text": "device:loop8",
"value": "device:loop8"
},
{
"selected": false,
"text": "device:loop9",
"value": "device:loop9"
},
{
"selected": false,
"text": "device:rootfs",
"value": "device:rootfs"
},
{
"selected": false,
"text": "device:sda",
"value": "device:sda"
},
{
"selected": false,
"text": "device:sdb",
"value": "device:sdb"
},
{
"selected": false,
"text": "device:sdc",
"value": "device:sdc"
},
{
"selected": false,
"text": "device:sdd",
"value": "device:sdd"
},
{
"selected": false,
"text": "device:sr0",
"value": "device:sr0"
},
{
"selected": false,
"text": "device:tmpfs",
"value": "device:tmpfs"
},
{
"selected": false,
"text": "device:tun0",
"value": "device:tun0"
},
{
"selected": false,
"text": "device:udev",
"value": "device:udev"
},
{
"selected": false,
"text": "device:vda",
"value": "device:vda"
},
{
"selected": false,
"text": "device:veth8352312",
"value": "device:veth8352312"
},
{
"selected": false,
"text": "device:vethaa3c1cb",
"value": "device:vethaa3c1cb"
},
{
"selected": false,
"text": "env:test",
"value": "env:test"
},
{
"selected": false,
"text": "host:alex-ws",
"value": "host:alex-ws"
},
{
"selected": false,
"text": "host:grafana-zabbix",
"value": "host:grafana-zabbix"
},
{
"selected": false,
"text": "host:web.raintank.io",
"value": "host:web.raintank.io"
},
{
"selected": false,
"text": "region:east",
"value": "region:east"
},
{
"selected": false,
"text": "site:raintank",
"value": "site:raintank"
},
{
"selected": false,
"text": "version:5.31.0",
"value": "version:5.31.0"
},
{
"selected": false,
"text": "web",
"value": "web"
}
],
"query": "tag",
"refresh": 0,
"regex": "",
"skipUrlSync": false,
"sort": 0,
"tagValuesQuery": "",
"tags": [],
"tagsQuery": "",
"type": "query",
"useTags": false
}
]
},
"time": {
"from": "now-1h",
"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": "",
"title": "DataDog System - Metrics",
"uid": "HJ_18W9mz",
"version": 1
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment