Skip to content

Instantly share code, notes, and snippets.

@m-mizutani
Created October 30, 2014 03:15
Show Gist options
  • Save m-mizutani/0d37de1595b7b2f441a4 to your computer and use it in GitHub Desktop.
Save m-mizutani/0d37de1595b7b2f441a4 to your computer and use it in GitHub Desktop.
{
"id": null,
"title": "DNS monitoring",
"originalTitle": "DNS monitoring",
"tags": [],
"style": "dark",
"timezone": "browser",
"editable": true,
"hideControls": false,
"rows": [
{
"title": "test",
"height": "250px",
"editable": true,
"collapse": false,
"panels": [
{
"id": 4,
"span": 12,
"type": "graph",
"x-axis": true,
"y-axis": true,
"scale": 1,
"y_formats": [
"short",
"short"
],
"grid": {
"max": null,
"min": null,
"leftMax": null,
"rightMax": null,
"leftMin": null,
"rightMin": null,
"threshold1": null,
"threshold2": null,
"threshold1Color": "rgba(216, 200, 27, 0.27)",
"threshold2Color": "rgba(234, 112, 112, 0.22)"
},
"resolution": 100,
"lines": true,
"fill": 1,
"linewidth": 2,
"points": false,
"pointradius": 5,
"bars": false,
"stack": true,
"spyable": true,
"options": false,
"legend": {
"show": true,
"values": false,
"min": false,
"max": false,
"current": false,
"total": false,
"avg": false
},
"interactive": true,
"legend_counts": true,
"timezone": "browser",
"percentage": false,
"zerofill": true,
"nullPointMode": "connected",
"steppedLine": false,
"tooltip": {
"value_type": "cumulative",
"query_as_alias": true
},
"targets": [
{
"target": "randomWalk('random walk')",
"function": "count",
"column": "ts",
"series": "devourer.dns.tx",
"query": "select status, count(ts) from \"devourer.dns.tx\" where $timeFilter group by time($interval), status fill(0) order asc",
"groupby_field": "status",
"fill": "0"
}
],
"aliasColors": {},
"aliasYAxis": {},
"title": "DNS query count",
"datasource": "graphite",
"renderer": "flot",
"annotate": {
"enable": false
},
"seriesOverrides": []
}
]
},
{
"title": "New row",
"height": "250px",
"editable": true,
"collapse": false,
"panels": [
{
"id": 7,
"span": 12,
"type": "graph",
"x-axis": true,
"y-axis": true,
"scale": 1,
"y_formats": [
"short",
"short"
],
"grid": {
"max": null,
"min": null,
"leftMax": null,
"rightMax": null,
"leftMin": null,
"rightMin": null,
"threshold1": null,
"threshold2": null,
"threshold1Color": "rgba(216, 200, 27, 0.27)",
"threshold2Color": "rgba(234, 112, 112, 0.22)"
},
"resolution": 100,
"lines": false,
"fill": 1,
"linewidth": 1,
"points": false,
"pointradius": 5,
"bars": true,
"stack": true,
"spyable": true,
"options": false,
"legend": {
"show": true,
"values": false,
"min": false,
"max": false,
"current": false,
"total": false,
"avg": false
},
"interactive": true,
"legend_counts": true,
"timezone": "browser",
"percentage": false,
"zerofill": true,
"nullPointMode": "connected",
"steppedLine": false,
"tooltip": {
"value_type": "cumulative",
"query_as_alias": true
},
"targets": [
{
"target": "randomWalk('random walk')",
"function": "count",
"column": "client",
"series": "devourer.dns.tx",
"query": "select count(client) from \"devourer.dns.tx\" where $timeFilter and latency < 0.1 group by time($interval) fill(0) order asc",
"groupby_field": "",
"fill": "0",
"interval": "",
"condition": "latency < 0.1",
"alias": "<100ms"
},
{
"target": "",
"function": "count",
"column": "client",
"series": "devourer.dns.tx",
"query": "select count(client) from \"devourer.dns.tx\" where $timeFilter and latency >= 0.1 and latency < 1 group by time($interval) fill(0) order asc",
"condition": "latency >= 0.1 and latency < 1",
"interval": "",
"alias": "<1000ms",
"groupby_field": "",
"fill": "0"
},
{
"target": "",
"function": "count",
"column": "client",
"series": "devourer.dns.tx",
"query": "select count(client) from \"devourer.dns.tx\" where $timeFilter and latency > 1 group by time($interval) order asc",
"condition": "latency > 1",
"interval": "",
"alias": ">=1000ms"
}
],
"aliasColors": {},
"aliasYAxis": {},
"title": "Response latency",
"datasource": "graphite",
"renderer": "flot",
"annotate": {
"enable": false
},
"seriesOverrides": [],
"interval": "5m"
}
]
},
{
"title": "New row",
"height": "250px",
"editable": true,
"collapse": false,
"panels": [
{
"id": 8,
"span": 12,
"type": "graph",
"x-axis": true,
"y-axis": true,
"scale": 1,
"y_formats": [
"short",
"short"
],
"grid": {
"max": null,
"min": null,
"leftMax": null,
"rightMax": null,
"leftMin": null,
"rightMin": null,
"threshold1": null,
"threshold2": null,
"threshold1Color": "rgba(216, 200, 27, 0.27)",
"threshold2Color": "rgba(234, 112, 112, 0.22)"
},
"resolution": 100,
"lines": false,
"fill": 1,
"linewidth": 1,
"points": false,
"pointradius": 5,
"bars": true,
"stack": true,
"spyable": true,
"options": false,
"legend": {
"show": true,
"values": false,
"min": false,
"max": false,
"current": false,
"total": false,
"avg": false
},
"interactive": true,
"legend_counts": true,
"timezone": "browser",
"percentage": false,
"zerofill": true,
"nullPointMode": "connected",
"steppedLine": false,
"tooltip": {
"value_type": "cumulative",
"query_as_alias": true
},
"targets": [
{
"target": "randomWalk('random walk')",
"function": "count",
"column": "ts",
"series": "devourer.dns.tx",
"query": "select client, count(ts) from \"devourer.dns.tx\" where $timeFilter group by time($interval), client fill(0) order asc",
"groupby_field": "client",
"fill": "0",
"interval": "2m"
}
],
"aliasColors": {},
"aliasYAxis": {},
"title": "Query count per client",
"datasource": "graphite",
"renderer": "flot",
"annotate": {
"enable": false
},
"seriesOverrides": []
}
]
},
{
"title": "test",
"height": "250px",
"editable": true,
"collapse": false,
"panels": [
{
"id": 9,
"span": 12,
"type": "graph",
"x-axis": true,
"y-axis": true,
"scale": 1,
"y_formats": [
"short",
"short"
],
"grid": {
"max": null,
"min": null,
"leftMax": null,
"rightMax": null,
"leftMin": null,
"rightMin": null,
"threshold1": null,
"threshold2": null,
"threshold1Color": "rgba(216, 200, 27, 0.27)",
"threshold2Color": "rgba(234, 112, 112, 0.22)"
},
"resolution": 100,
"lines": false,
"fill": 1,
"linewidth": 2,
"points": false,
"pointradius": 5,
"bars": true,
"stack": true,
"spyable": true,
"options": false,
"legend": {
"show": true,
"values": false,
"min": false,
"max": false,
"current": false,
"total": false,
"avg": false
},
"interactive": true,
"legend_counts": true,
"timezone": "browser",
"percentage": false,
"zerofill": true,
"nullPointMode": "connected",
"steppedLine": false,
"tooltip": {
"value_type": "cumulative",
"query_as_alias": true
},
"targets": [
{
"target": "randomWalk('random walk')",
"function": "count",
"column": "type",
"series": "devourer.dns.log",
"query": "select type, count(type) from \"devourer.dns.log\" where $timeFilter group by time($interval), type fill(0) order asc",
"groupby_field": "type",
"interval": "5m",
"fill": "0"
}
],
"aliasColors": {},
"aliasYAxis": {},
"title": "DNS query count",
"datasource": "graphite",
"renderer": "flot",
"annotate": {
"enable": false
},
"seriesOverrides": []
}
]
}
],
"nav": [
{
"type": "timepicker",
"collapse": false,
"enable": true,
"status": "Stable",
"time_options": [
"5m",
"15m",
"1h",
"6h",
"12h",
"24h",
"2d",
"7d",
"30d"
],
"refresh_intervals": [
"5s",
"10s",
"30s",
"1m",
"5m",
"15m",
"30m",
"1h",
"2h",
"1d"
],
"now": true,
"notice": false
}
],
"time": {
"from": "now-6h",
"to": "now"
},
"templating": {
"list": []
},
"annotations": {
"list": [],
"enable": false
},
"refresh": false,
"version": 6
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment