-
-
Notifications
You must be signed in to change notification settings - Fork 76
Dashboard Grafana Main Dashboard
Anthony Gauthier edited this page Sep 9, 2019
·
2 revisions
{
"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": 20,
"iteration": 1568026241771,
"links": [],
"panels": [
{
"cacheTimeout": null,
"colorBackground": false,
"colorValue": true,
"colors": [
"#299c46",
"rgba(237, 129, 40, 0.89)",
"#d44a3a"
],
"datasource": "$datasource",
"format": "percentunit",
"gauge": {
"maxValue": 100,
"minValue": 0,
"show": false,
"thresholdLabels": false,
"thresholdMarkers": true
},
"gridPos": {
"h": 5,
"w": 12,
"x": 0,
"y": 0
},
"id": 12,
"interval": null,
"links": [
{
"dashUri": "db/errors-generics",
"dashboard": "Errors Generics",
"title": "Errors Generics",
"type": "dashboard"
}
],
"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": "#0a437c",
"full": true,
"lineColor": "#447ebc",
"show": true
},
"tableColumn": "",
"targets": [
{
"bucketAggs": [
{
"field": "Timestamp",
"id": "2",
"settings": {
"interval": "auto",
"min_doc_count": 0,
"trimEdges": 0
},
"type": "date_histogram"
}
],
"metrics": [
{
"field": "ErrorCount",
"id": "1",
"meta": {},
"settings": {},
"type": "avg"
}
],
"query": "SampleLabel.keyword:$filters",
"refId": "A",
"timeField": "Timestamp"
}
],
"thresholds": "0.02,0.1",
"title": "Global Error Rate",
"type": "singlestat",
"valueFontSize": "110%",
"valueMaps": [
{
"op": "=",
"text": "N/A",
"value": "null"
}
],
"valueName": "avg"
},
{
"cacheTimeout": null,
"colorBackground": false,
"colorValue": false,
"colors": [
"#299c46",
"rgba(237, 129, 40, 0.89)",
"#d44a3a"
],
"datasource": "$datasource",
"decimals": 2,
"format": "none",
"gauge": {
"maxValue": 100,
"minValue": 0,
"show": false,
"thresholdLabels": false,
"thresholdMarkers": true
},
"gridPos": {
"h": 7,
"w": 12,
"x": 12,
"y": 0
},
"id": 16,
"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": true,
"lineColor": "rgb(31, 120, 193)",
"show": true
},
"tableColumn": "",
"targets": [
{
"bucketAggs": [
{
"field": "Timestamp",
"id": "2",
"settings": {
"interval": "10s",
"min_doc_count": 0,
"trimEdges": 0
},
"type": "date_histogram"
}
],
"metrics": [
{
"field": "SampleCount",
"id": "1",
"inlineScript": "_value/10",
"meta": {},
"settings": {
"script": {
"inline": "_value/10"
}
},
"type": "sum"
}
],
"query": "SampleLabel.keyword:$filters",
"refId": "A",
"timeField": "Timestamp"
}
],
"thresholds": "",
"title": "Global Throughput",
"type": "singlestat",
"valueFontSize": "80%",
"valueMaps": [
{
"op": "=",
"text": "N/A",
"value": "null"
}
],
"valueName": "avg"
},
{
"cacheTimeout": null,
"colorBackground": false,
"colorValue": false,
"colors": [
"#299c46",
"rgba(237, 129, 40, 0.89)",
"#d44a3a"
],
"datasource": "$datasource",
"format": "none",
"gauge": {
"maxValue": 100,
"minValue": 0,
"show": false,
"thresholdLabels": false,
"thresholdMarkers": true
},
"gridPos": {
"h": 2,
"w": 12,
"x": 0,
"y": 5
},
"id": 14,
"interval": null,
"links": [
{
"dashUri": "db/errors-generics",
"dashboard": "Errors Generics",
"title": "Errors Generics",
"type": "dashboard"
}
],
"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": [
{
"bucketAggs": [
{
"field": "Timestamp",
"id": "2",
"settings": {
"interval": "auto",
"min_doc_count": 0,
"trimEdges": 0
},
"type": "date_histogram"
}
],
"metrics": [
{
"field": "ErrorCount",
"id": "1",
"meta": {},
"settings": {},
"type": "sum"
}
],
"query": "SampleLabel.keyword:$filters",
"refId": "A",
"timeField": "Timestamp"
}
],
"thresholds": "",
"title": "# errors",
"type": "singlestat",
"valueFontSize": "80%",
"valueMaps": [
{
"op": "=",
"text": "N/A",
"value": "null"
}
],
"valueName": "total"
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "$datasource",
"fill": 1,
"gridPos": {
"h": 8,
"w": 24,
"x": 0,
"y": 7
},
"id": 5,
"legend": {
"alignAsTable": true,
"avg": true,
"current": true,
"max": false,
"min": false,
"rightSide": true,
"show": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "connected",
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [
{
"alias": "# Threads",
"fill": 0,
"yaxis": 2
}
],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"alias": "# Threads",
"bucketAggs": [
{
"field": "Timestamp",
"id": "2",
"settings": {
"interval": "auto",
"min_doc_count": 0,
"trimEdges": 0
},
"type": "date_histogram"
}
],
"dsType": "elasticsearch",
"metrics": [
{
"field": "AllThreads",
"id": "1",
"meta": {},
"settings": {},
"type": "avg"
}
],
"query": "SampleLabel.keyword:$filters && ErrorCount:$error",
"refId": "A",
"timeField": "Timestamp"
},
{
"alias": "",
"bucketAggs": [
{
"field": "Timestamp",
"id": "2",
"settings": {
"interval": "auto",
"min_doc_count": 0,
"trimEdges": 0
},
"type": "date_histogram"
}
],
"metrics": [
{
"field": "ResponseTime",
"id": "1",
"meta": {},
"settings": {},
"type": "avg"
},
{
"field": "ResponseTime",
"id": "3",
"meta": {},
"settings": {
"percents": [
"75",
"90"
]
},
"type": "percentiles"
},
{
"field": "ResponseTime",
"id": "4",
"meta": {},
"settings": {},
"type": "max"
}
],
"query": "SampleLabel.keyword:$filters && ErrorCount:$error",
"refId": "B",
"timeField": "Timestamp"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "# threads vs response time",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "ms",
"label": "response time",
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"format": "short",
"label": "# Threads",
"logBase": 1,
"max": null,
"min": null,
"show": true
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "$datasource",
"description": "",
"fill": 0,
"gridPos": {
"h": 8,
"w": 24,
"x": 0,
"y": 15
},
"id": 1,
"legend": {
"alignAsTable": true,
"avg": true,
"current": true,
"hideEmpty": true,
"hideZero": true,
"max": false,
"min": false,
"rightSide": true,
"show": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"links": [
{
"dashUri": "db/generic-drilldown-dashboard",
"dashboard": "Generic Drilldown Dashboard",
"includeVars": true,
"keepTime": true,
"targetBlank": true,
"title": "Generic Drilldown Dashboard",
"type": "dashboard"
}
],
"nullPointMode": "connected",
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"alias": "{{metric}} {{SampleLabel.keyword}}",
"bucketAggs": [
{
"fake": true,
"field": "SampleLabel.keyword",
"id": "3",
"settings": {
"min_doc_count": 1,
"order": "desc",
"orderBy": "_term",
"size": "0"
},
"type": "terms"
},
{
"field": "Timestamp",
"id": "2",
"settings": {
"interval": "auto",
"min_doc_count": 0,
"trimEdges": 0
},
"type": "date_histogram"
}
],
"dsType": "elasticsearch",
"hide": false,
"metrics": [
{
"field": "ResponseTime",
"id": "1",
"meta": {},
"settings": {},
"type": "avg"
},
{
"field": "ResponseTime",
"hide": true,
"id": "4",
"meta": {},
"settings": {},
"type": "max"
},
{
"field": "ResponseTime",
"hide": true,
"id": "5",
"meta": {},
"settings": {},
"type": "min"
},
{
"field": "ResponseTime",
"hide": true,
"id": "6",
"meta": {},
"settings": {
"percents": [
"90"
]
},
"type": "percentiles"
}
],
"query": "SampleLabel.keyword:$filters && ErrorCount:$error",
"refId": "A",
"timeField": "Timestamp"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Response time",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "ms",
"label": "response time",
"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": "$datasource",
"fill": 0,
"gridPos": {
"h": 8,
"w": 24,
"x": 0,
"y": 23
},
"id": 3,
"interval": "2s",
"legend": {
"alignAsTable": true,
"avg": true,
"current": true,
"hideEmpty": true,
"hideZero": true,
"max": false,
"min": false,
"rightSide": true,
"show": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"links": [
{
"dashUri": "db/errors-generics",
"dashboard": "Errors Generics",
"includeVars": true,
"keepTime": true,
"targetBlank": true,
"title": "Errors Generics",
"type": "dashboard"
}
],
"nullPointMode": "connected",
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [
{
"alias": "Global Throughput",
"color": "#7eb26d",
"fill": 1
},
{
"alias": "# Global Error",
"color": "#bf1b00",
"fill": 1
}
],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"alias": "Global Throughput",
"bucketAggs": [
{
"field": "Timestamp",
"id": "2",
"settings": {
"interval": "10s",
"min_doc_count": 0,
"trimEdges": 0
},
"type": "date_histogram"
}
],
"dsType": "elasticsearch",
"hide": false,
"metrics": [
{
"field": "SampleCount",
"id": "4",
"inlineScript": "_value/10",
"meta": {},
"settings": {
"script": {
"inline": "_value/10"
}
},
"type": "sum"
}
],
"query": "SampleLabel.keyword:$filters",
"refId": "A",
"timeField": "Timestamp"
},
{
"alias": "Throughput {{SampleLabel.keyword}}",
"bucketAggs": [
{
"fake": true,
"field": "SampleLabel.keyword",
"id": "3",
"settings": {
"min_doc_count": 1,
"order": "desc",
"orderBy": "_term",
"size": "0"
},
"type": "terms"
},
{
"field": "Timestamp",
"id": "2",
"settings": {
"interval": "10s",
"min_doc_count": 0,
"trimEdges": 0
},
"type": "date_histogram"
}
],
"dsType": "elasticsearch",
"hide": false,
"metrics": [
{
"field": "SampleCount",
"id": "1",
"inlineScript": "_value/10",
"meta": {},
"settings": {
"script": {
"inline": "_value/10"
}
},
"type": "sum"
}
],
"query": "SampleLabel.keyword:$filters",
"refId": "B",
"timeField": "Timestamp"
},
{
"alias": "# Global Error",
"bucketAggs": [
{
"field": "Timestamp",
"id": "2",
"settings": {
"interval": "10s",
"min_doc_count": 0,
"trimEdges": 0
},
"type": "date_histogram"
}
],
"hide": false,
"metrics": [
{
"field": "ErrorCount",
"id": "1",
"inlineScript": "_value/10*-1",
"meta": {},
"settings": {
"script": {
"inline": "_value/10*-1"
}
},
"type": "sum"
}
],
"query": "SampleLabel.keyword:$filters",
"refId": "C",
"timeField": "Timestamp"
},
{
"alias": "# Errors {{SampleLabel.keyword}}",
"bucketAggs": [
{
"fake": true,
"field": "SampleLabel.keyword",
"id": "3",
"settings": {
"min_doc_count": 1,
"order": "desc",
"orderBy": "_term",
"size": "0"
},
"type": "terms"
},
{
"field": "Timestamp",
"id": "2",
"settings": {
"interval": "10s",
"min_doc_count": 0,
"trimEdges": 0
},
"type": "date_histogram"
}
],
"hide": false,
"metrics": [
{
"field": "ErrorCount",
"id": "1",
"inlineScript": "_value/10*-1",
"meta": {},
"settings": {
"script": {
"inline": "_value/10*-1"
}
},
"type": "sum"
}
],
"query": "SampleLabel.keyword:$filters",
"refId": "D",
"timeField": "Timestamp"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Hits and error",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "short",
"label": "#",
"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": "$datasource",
"decimals": 1,
"fill": 0,
"gridPos": {
"h": 6,
"w": 24,
"x": 0,
"y": 31
},
"id": 8,
"legend": {
"alignAsTable": true,
"avg": true,
"current": true,
"hideEmpty": true,
"hideZero": true,
"max": false,
"min": false,
"rightSide": true,
"show": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [
{
"alias": "Global Sent",
"fill": 1
},
{
"alias": "Global Received",
"fill": 1
}
],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"alias": "Global Sent",
"bucketAggs": [
{
"field": "Timestamp",
"id": "2",
"settings": {
"interval": "10s",
"min_doc_count": 0,
"trimEdges": 0
},
"type": "date_histogram"
}
],
"dsType": "elasticsearch",
"hide": false,
"metrics": [
{
"field": "SentBytes",
"id": "1",
"inlineScript": "_value/10*-1",
"meta": {},
"settings": {
"script": {
"inline": "_value/10*-1"
}
},
"type": "sum"
}
],
"query": "SampleLabel.keyword:$filters && ErrorCount:$error",
"refId": "A",
"timeField": "Timestamp"
},
{
"alias": "Sent {{SampleLabel.keyword}}",
"bucketAggs": [
{
"fake": true,
"field": "SampleLabel.keyword",
"id": "3",
"settings": {
"min_doc_count": 1,
"order": "desc",
"orderBy": "_term",
"size": "0"
},
"type": "terms"
},
{
"field": "Timestamp",
"id": "2",
"settings": {
"interval": "10s",
"min_doc_count": 0,
"trimEdges": 0
},
"type": "date_histogram"
}
],
"dsType": "elasticsearch",
"metrics": [
{
"field": "SentBytes",
"id": "1",
"inlineScript": "_value*-1/10",
"meta": {},
"settings": {
"script": {
"inline": "_value*-1/10"
}
},
"type": "sum"
}
],
"query": "SampleLabel.keyword:$filters && ErrorCount:$error",
"refId": "B",
"timeField": "Timestamp"
},
{
"alias": "Global Received",
"bucketAggs": [
{
"field": "Timestamp",
"id": "2",
"settings": {
"interval": "10s",
"min_doc_count": 0,
"trimEdges": 0
},
"type": "date_histogram"
}
],
"dsType": "elasticsearch",
"metrics": [
{
"field": "Bytes",
"id": "1",
"inlineScript": "_value/10",
"meta": {},
"settings": {
"script": {
"inline": "_value/10"
}
},
"type": "sum"
}
],
"query": "SampleLabel.keyword:$filters && ErrorCount:$error",
"refId": "C",
"timeField": "Timestamp"
},
{
"alias": "Received {{SampleLabel.keyword}}",
"bucketAggs": [
{
"fake": true,
"field": "SampleLabel.keyword",
"id": "3",
"settings": {
"min_doc_count": 1,
"order": "desc",
"orderBy": "_term",
"size": "0"
},
"type": "terms"
},
{
"field": "Timestamp",
"id": "2",
"settings": {
"interval": "10s",
"min_doc_count": 0,
"trimEdges": 0
},
"type": "date_histogram"
}
],
"dsType": "elasticsearch",
"metrics": [
{
"field": "Bytes",
"id": "1",
"inlineScript": "_value/10",
"meta": {},
"settings": {
"script": {
"inline": "_value/10"
}
},
"type": "sum"
}
],
"query": "SampleLabel.keyword:$filters && ErrorCount:$error",
"refId": "D",
"timeField": "Timestamp"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Bytes Sent and Received",
"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
}
},
{
"columns": [],
"datasource": "$datasource",
"fontSize": "100%",
"gridPos": {
"h": 8,
"w": 24,
"x": 0,
"y": 37
},
"id": 2,
"links": [],
"pageSize": null,
"scroll": true,
"showHeader": true,
"sort": {
"col": null,
"desc": false
},
"styles": [
{
"alias": "Time",
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"pattern": "Time",
"type": "hidden"
},
{
"alias": "Sample",
"colorMode": null,
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 0,
"link": false,
"linkTargetBlank": false,
"linkTooltip": "",
"linkUrl": "",
"pattern": "SampleLabel.keyword",
"thresholds": [],
"type": "number",
"unit": "hex"
},
{
"alias": "# ",
"colorMode": null,
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 0,
"pattern": "Count",
"thresholds": [],
"type": "number",
"unit": "locale"
},
{
"alias": "Average",
"colorMode": null,
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 2,
"pattern": "Average ResponseTime",
"thresholds": [],
"type": "number",
"unit": "ms"
},
{
"alias": "",
"colorMode": null,
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 2,
"pattern": "Min",
"thresholds": [],
"type": "number",
"unit": "ms"
},
{
"alias": "",
"colorMode": null,
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 2,
"pattern": "Max",
"thresholds": [],
"type": "number",
"unit": "ms"
},
{
"alias": "Average Byte Received",
"colorMode": null,
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 2,
"pattern": "Average Bytes",
"thresholds": [],
"type": "number",
"unit": "bytes"
},
{
"alias": "Average Byte Sent",
"colorMode": null,
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 2,
"pattern": "Average SentBytes",
"thresholds": [],
"type": "number",
"unit": "bytes"
},
{
"alias": "# errors",
"colorMode": null,
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 0,
"pattern": "Sum",
"thresholds": [],
"type": "number",
"unit": "short"
},
{
"alias": "Latency",
"colorMode": null,
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 2,
"pattern": "Average Latency",
"thresholds": [],
"type": "number",
"unit": "ms"
},
{
"alias": "90%",
"colorMode": null,
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 2,
"mappingType": 1,
"pattern": "p90.0 ResponseTime",
"thresholds": [],
"type": "number",
"unit": "ms"
},
{
"alias": "95%",
"colorMode": null,
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 2,
"mappingType": 1,
"pattern": "p95.0 ResponseTime",
"thresholds": [],
"type": "number",
"unit": "ms"
},
{
"alias": "99%",
"colorMode": null,
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 2,
"mappingType": 1,
"pattern": "p99.0 ResponseTime",
"thresholds": [],
"type": "number",
"unit": "ms"
}
],
"targets": [
{
"bucketAggs": [
{
"fake": true,
"field": "SampleLabel.keyword",
"id": "6",
"settings": {
"min_doc_count": 1,
"order": "desc",
"orderBy": "_term",
"size": "0"
},
"type": "terms"
}
],
"dsType": "elasticsearch",
"hide": false,
"metrics": [
{
"field": "select field",
"id": "8",
"type": "count"
},
{
"field": "ResponseTime",
"id": "9",
"meta": {},
"settings": {},
"type": "min"
},
{
"field": "ResponseTime",
"id": "10",
"meta": {},
"settings": {},
"type": "avg"
},
{
"field": "ResponseTime",
"id": "11",
"meta": {},
"settings": {},
"type": "max"
},
{
"field": "Bytes",
"id": "12",
"meta": {},
"settings": {},
"type": "avg"
},
{
"field": "SentBytes",
"id": "13",
"meta": {},
"settings": {},
"type": "avg"
},
{
"field": "ErrorCount",
"id": "14",
"meta": {},
"settings": {},
"type": "sum"
},
{
"field": "Latency",
"id": "15",
"meta": {},
"settings": {},
"type": "avg"
},
{
"field": "ResponseTime",
"id": "16",
"meta": {},
"settings": {
"percents": [
"90",
"95",
"99"
]
},
"type": "percentiles"
}
],
"query": "SampleLabel.keyword:$filters && ErrorCount:$error",
"refId": "A",
"timeField": "Timestamp"
}
],
"title": "Synthesis Report",
"transform": "table",
"type": "table"
},
{
"columns": [
{
"text": "Timestamp",
"value": "Timestamp"
},
{
"text": "SampleLabel",
"value": "SampleLabel"
},
{
"text": "ResponseCode",
"value": "ResponseCode"
},
{
"text": "ResponseBody",
"value": "ResponseBody"
}
],
"datasource": "$datasource",
"fontSize": "100%",
"gridPos": {
"h": 9,
"w": 24,
"x": 0,
"y": 45
},
"id": 10,
"links": [
{
"dashUri": "db/errors-generics",
"dashboard": "Errors Generics",
"includeVars": true,
"keepTime": true,
"targetBlank": true,
"title": "Errors Generics",
"type": "dashboard"
}
],
"pageSize": null,
"scroll": true,
"showHeader": true,
"sort": {
"col": 2,
"desc": false
},
"styles": [
{
"alias": "Time",
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"pattern": "Time",
"type": "date"
},
{
"alias": "",
"colorMode": null,
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"decimals": 0,
"pattern": "/.*/",
"thresholds": [],
"type": "number",
"unit": "short"
}
],
"targets": [
{
"bucketAggs": [],
"metrics": [
{
"field": "select field",
"id": "1",
"meta": {},
"settings": {
"size": 500
},
"type": "raw_document"
}
],
"query": "SampleLabel.keyword:$filters && ErrorCount:1",
"refId": "A",
"timeField": "Timestamp"
}
],
"title": "Errors",
"transform": "json",
"type": "table"
}
],
"refresh": false,
"schemaVersion": 18,
"style": "dark",
"tags": [],
"templating": {
"list": [
{
"current": {
"text": "sbipv2-cpr",
"value": "sbipv2-cpr"
},
"hide": 0,
"includeAll": false,
"label": null,
"multi": false,
"name": "datasource",
"options": [],
"query": "elasticsearch",
"refresh": 1,
"regex": "",
"skipUrlSync": false,
"type": "datasource"
},
{
"allValue": null,
"current": {
"text": "All",
"value": [
"$__all"
]
},
"datasource": "$datasource",
"definition": "",
"hide": 0,
"includeAll": true,
"label": null,
"multi": true,
"name": "filters",
"options": [],
"query": "{\"find\": \"terms\", \"field\": \"SampleLabel.keyword\", \"query\": \"\"}",
"refresh": 2,
"regex": "",
"skipUrlSync": false,
"sort": 1,
"tagValuesQuery": "",
"tags": [],
"tagsQuery": "",
"type": "query",
"useTags": false
},
{
"allValue": null,
"current": {
"text": "All",
"value": "$__all"
},
"datasource": "$datasource",
"definition": "",
"hide": 0,
"includeAll": true,
"label": null,
"multi": true,
"name": "error",
"options": [],
"query": "{\"find\": \"terms\", \"field\": \"ErrorCount\", \"query\": \"\"}",
"refresh": 2,
"regex": "",
"skipUrlSync": false,
"sort": 0,
"tagValuesQuery": "",
"tags": [],
"tagsQuery": "",
"type": "query",
"useTags": false
}
]
},
"time": {
"from": "now-5m",
"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": "JMeter Generic Dashboard",
"uid": "APfxHSzmk",
"version": 35
}
For any suggestions/corrections to the documentation, feel free to create an issue. Regards, delirius325.