Skip to content

Instantly share code, notes, and snippets.

@Lazin
Created June 14, 2018 11:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Lazin/879e47c4edba91cceb9108d3bbc3a0d4 to your computer and use it in GitHub Desktop.
Save Lazin/879e47c4edba91cceb9108d3bbc3a0d4 to your computer and use it in GitHub Desktop.
{
"__inputs": [
{
"name": "DS_BLACKBOX",
"label": "BlackBox",
"description": "",
"type": "datasource",
"pluginId": "akumuli-datasource",
"pluginName": "Akumuli"
}
],
"__requires": [
{
"type": "datasource",
"id": "akumuli-datasource",
"name": "Akumuli",
"version": "1.0.3"
},
{
"type": "grafana",
"id": "grafana",
"name": "Grafana",
"version": "5.0.4"
},
{
"type": "panel",
"id": "graph",
"name": "Graph",
"version": "5.0.0"
},
{
"type": "panel",
"id": "singlestat",
"name": "Singlestat",
"version": "5.0.0"
}
],
"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": null,
"iteration": 1528973108710,
"links": [],
"panels": [
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "$Datasource",
"fill": 1,
"gridPos": {
"h": 9,
"w": 12,
"x": 0,
"y": 0
},
"id": 1,
"legend": {
"alignAsTable": false,
"avg": false,
"current": false,
"max": true,
"min": true,
"show": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"aggregator": "sum",
"alias": "total",
"currentTagKey": "",
"currentTagValue": "",
"downsampleAggregator": "max",
"downsampleFillPolicy": "none",
"metric": "http.total",
"refId": "A",
"tags": {
"endpoint": "$endpoint"
}
},
{
"aggregator": "sum",
"alias": "connect",
"currentTagKey": "",
"currentTagValue": "",
"downsampleAggregator": "max",
"downsampleFillPolicy": "none",
"downsampleInterval": "",
"metric": "http.connect",
"refId": "B",
"tags": {
"endpoint": "$endpoint"
},
"topN": ""
},
{
"aggregator": "sum",
"alias": "dns",
"currentTagKey": "",
"currentTagValue": "",
"downsampleAggregator": "max",
"downsampleFillPolicy": "none",
"metric": "http.dns",
"refId": "C",
"tags": {
"endpoint": "$endpoint"
}
},
{
"aggregator": "sum",
"alias": "send",
"currentTagKey": "",
"currentTagValue": "",
"downsampleAggregator": "max",
"downsampleFillPolicy": "none",
"metric": "http.send",
"refId": "D",
"tags": {
"endpoint": "$endpoint"
}
},
{
"aggregator": "sum",
"alias": "recv",
"currentTagKey": "",
"currentTagValue": "",
"downsampleAggregator": "max",
"downsampleFillPolicy": "none",
"metric": "http.recv",
"refId": "E",
"tags": {
"endpoint": "$endpoint"
}
},
{
"aggregator": "sum",
"alias": "wait",
"currentTagKey": "",
"currentTagValue": "",
"downsampleAggregator": "max",
"downsampleFillPolicy": "none",
"metric": "http.wait",
"refId": "F",
"tags": {
"endpoint": "$endpoint"
}
}
],
"thresholds": [],
"timeFrom": null,
"timeShift": null,
"title": "HTTP",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "ms",
"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,
"dashLength": 10,
"dashes": false,
"datasource": "$Datasource",
"fill": 1,
"gridPos": {
"h": 9,
"w": 12,
"x": 12,
"y": 0
},
"id": 2,
"legend": {
"alignAsTable": false,
"avg": false,
"current": false,
"max": true,
"min": true,
"show": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"aggregator": "sum",
"alias": "total",
"currentTagKey": "",
"currentTagValue": "",
"downsampleAggregator": "max",
"downsampleFillPolicy": "none",
"metric": "https.total",
"refId": "A",
"shouldEWMA": false,
"tags": {
"endpoint": "$endpoint"
}
},
{
"aggregator": "sum",
"alias": "connect",
"currentTagKey": "",
"currentTagValue": "",
"downsampleAggregator": "max",
"downsampleFillPolicy": "none",
"metric": "https.connect",
"refId": "B",
"shouldEWMA": false,
"tags": {
"endpoint": "$endpoint"
}
},
{
"aggregator": "sum",
"alias": "dns",
"currentTagKey": "",
"currentTagValue": "",
"downsampleAggregator": "max",
"downsampleFillPolicy": "none",
"metric": "https.dns",
"refId": "C",
"shouldEWMA": false,
"tags": {
"endpoint": "$endpoint"
}
},
{
"aggregator": "sum",
"alias": "send",
"currentTagKey": "",
"currentTagValue": "",
"downsampleAggregator": "max",
"downsampleFillPolicy": "none",
"metric": "https.send",
"refId": "D",
"shouldEWMA": false,
"tags": {
"endpoint": "$endpoint"
}
},
{
"aggregator": "sum",
"alias": "recv",
"currentTagKey": "",
"currentTagValue": "",
"downsampleAggregator": "max",
"downsampleFillPolicy": "none",
"metric": "https.recv",
"refId": "E",
"shouldEWMA": false,
"tags": {
"endpoint": "$endpoint"
}
},
{
"aggregator": "sum",
"alias": "wait",
"currentTagKey": "",
"currentTagValue": "",
"downsampleAggregator": "max",
"downsampleFillPolicy": "none",
"metric": "https.wait",
"refId": "F",
"shouldEWMA": false,
"tags": {
"endpoint": "$endpoint"
}
}
],
"thresholds": [],
"timeFrom": null,
"timeShift": null,
"title": "HTTPS",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "ms",
"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,
"dashLength": 10,
"dashes": false,
"datasource": "$Datasource",
"fill": 1,
"gridPos": {
"h": 7,
"w": 8,
"x": 0,
"y": 9
},
"id": 3,
"legend": {
"alignAsTable": false,
"avg": false,
"current": false,
"max": false,
"min": false,
"rightSide": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"aggregator": "sum",
"alias": "state of $monitor_type",
"currentTagKey": "",
"currentTagValue": "",
"downsampleAggregator": "min",
"downsampleFillPolicy": "none",
"metric": "state",
"refId": "A",
"tags": {
"endpoint": "$endpoint"
}
}
],
"thresholds": [],
"timeFrom": null,
"timeShift": null,
"title": "State",
"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
}
]
},
{
"cacheTimeout": null,
"colorBackground": false,
"colorValue": false,
"colors": [
"#299c46",
"rgba(237, 129, 40, 0.89)",
"#d44a3a"
],
"datasource": "$Datasource",
"format": "s",
"gauge": {
"maxValue": 100,
"minValue": 0,
"show": false,
"thresholdLabels": false,
"thresholdMarkers": true
},
"gridPos": {
"h": 7,
"w": 4,
"x": 8,
"y": 9
},
"id": 6,
"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": "",
"postfixFontSize": "50%",
"prefix": "",
"prefixFontSize": "50%",
"rangeMaps": [
{
"from": "null",
"text": "N/A",
"to": "null"
}
],
"sparkline": {
"fillColor": "rgba(31, 118, 189, 0.18)",
"full": false,
"lineColor": "rgb(31, 120, 193)",
"show": false
},
"tableColumn": "",
"targets": [
{
"aggregator": "sum",
"currentTagKey": "",
"currentTagValue": "",
"downsampleAggregator": "min",
"downsampleFillPolicy": "none",
"metric": "https.expiry",
"refId": "A",
"tags": {
"endpoint": "$endpoint"
},
"topN": ""
}
],
"thresholds": "",
"title": "Certificate Expiry",
"type": "singlestat",
"valueFontSize": "80%",
"valueMaps": [
{
"op": "=",
"text": "N/A",
"value": "null"
}
],
"valueName": "min"
},
{
"aliasColors": {},
"bars": true,
"dashLength": 10,
"dashes": false,
"datasource": "$Datasource",
"fill": 1,
"gridPos": {
"h": 7,
"w": 6,
"x": 12,
"y": 9
},
"id": 4,
"legend": {
"alignAsTable": true,
"avg": false,
"current": false,
"max": true,
"min": true,
"show": false,
"total": false,
"values": true
},
"lines": false,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"aggregator": "sum",
"currentTagKey": "",
"currentTagValue": "",
"downsampleAggregator": "mean",
"downsampleFillPolicy": "none",
"metric": "dns.time",
"refId": "A",
"tags": {
"endpoint": "$endpoint"
}
}
],
"thresholds": [],
"timeFrom": null,
"timeShift": null,
"title": "DNS (ms)",
"tooltip": {
"shared": false,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "histogram",
"name": null,
"show": true,
"values": [
"total"
]
},
"yaxes": [
{
"format": "none",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
]
},
{
"aliasColors": {},
"bars": true,
"dashLength": 10,
"dashes": false,
"datasource": "$Datasource",
"fill": 1,
"gridPos": {
"h": 7,
"w": 6,
"x": 18,
"y": 9
},
"id": 5,
"legend": {
"alignAsTable": true,
"avg": false,
"current": false,
"max": true,
"min": true,
"show": false,
"total": false,
"values": true
},
"lines": false,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": true,
"targets": [
{
"aggregator": "sum",
"currentTagKey": "",
"currentTagValue": "",
"downsampleAggregator": "max",
"downsampleFillPolicy": "none",
"metric": "ping",
"refId": "A",
"tags": {
"endpoint": "$endpoint"
}
}
],
"thresholds": [],
"timeFrom": null,
"timeShift": null,
"title": "Ping (ms)",
"tooltip": {
"shared": false,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "histogram",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "none",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"format": "none",
"label": "",
"logBase": 1,
"max": null,
"min": null,
"show": true
}
]
}
],
"refresh": false,
"schemaVersion": 16,
"style": "dark",
"tags": [],
"templating": {
"list": [
{
"allValue": null,
"current": {},
"datasource": "${DS_BLACKBOX}",
"hide": 0,
"includeAll": false,
"label": null,
"multi": false,
"name": "endpoint",
"options": [],
"query": "state endpoint",
"refresh": 1,
"regex": "",
"sort": 0,
"tagValuesQuery": "",
"tags": [],
"tagsQuery": "",
"type": "query",
"useTags": false
},
{
"current": {
"text": "Akumuli-Demo",
"value": "Akumuli-Demo"
},
"hide": 0,
"label": "Datasource",
"name": "Datasource",
"options": [],
"query": "akumuli-datasource",
"refresh": 1,
"regex": "",
"type": "datasource"
}
]
},
"time": {
"from": "now-3h",
"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": "url-monitor",
"uid": "KtbfPzNiz",
"version": 3
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment