2020-10-15 10:05:56 -05:00
|
|
|
{
|
|
|
|
"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": 35,
|
|
|
|
"iteration": 1602761142538,
|
|
|
|
"links": [],
|
|
|
|
"panels": [
|
|
|
|
{
|
|
|
|
"datasource": "$datasource",
|
|
|
|
"fieldConfig": {
|
|
|
|
"defaults": {
|
|
|
|
"custom": {},
|
|
|
|
"mappings": [],
|
|
|
|
"noValue": "0",
|
|
|
|
"thresholds": {
|
|
|
|
"mode": "absolute",
|
|
|
|
"steps": [
|
|
|
|
{
|
|
|
|
"color": "green",
|
|
|
|
"value": null
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"color": "red",
|
|
|
|
"value": 80
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"overrides": []
|
|
|
|
},
|
|
|
|
"gridPos": {
|
|
|
|
"h": 5,
|
|
|
|
"w": 6,
|
|
|
|
"x": 0,
|
|
|
|
"y": 0
|
|
|
|
},
|
|
|
|
"id": 6,
|
|
|
|
"options": {
|
|
|
|
"colorMode": "value",
|
|
|
|
"graphMode": "area",
|
|
|
|
"justifyMode": "auto",
|
|
|
|
"orientation": "auto",
|
|
|
|
"reduceOptions": {
|
2020-10-16 09:49:55 -05:00
|
|
|
"calcs": ["mean"],
|
2020-10-15 10:05:56 -05:00
|
|
|
"fields": "",
|
|
|
|
"values": false
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"pluginVersion": "7.0.4",
|
|
|
|
"targets": [
|
|
|
|
{
|
|
|
|
"expr": "grafana_alerting_result_total{job=~\"$job\", instance=~\"$instance\", state=\"alerting\"}",
|
|
|
|
"instant": true,
|
|
|
|
"interval": "",
|
|
|
|
"legendFormat": "",
|
|
|
|
"refId": "A"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"timeFrom": null,
|
|
|
|
"timeShift": null,
|
|
|
|
"title": "Firing Alerts",
|
|
|
|
"type": "stat"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"datasource": "$datasource",
|
|
|
|
"fieldConfig": {
|
|
|
|
"defaults": {
|
|
|
|
"custom": {},
|
|
|
|
"mappings": [],
|
|
|
|
"thresholds": {
|
|
|
|
"mode": "absolute",
|
|
|
|
"steps": [
|
|
|
|
{
|
|
|
|
"color": "green",
|
|
|
|
"value": null
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"color": "red",
|
|
|
|
"value": 80
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"overrides": []
|
|
|
|
},
|
|
|
|
"gridPos": {
|
|
|
|
"h": 5,
|
|
|
|
"w": 6,
|
|
|
|
"x": 6,
|
|
|
|
"y": 0
|
|
|
|
},
|
|
|
|
"id": 8,
|
|
|
|
"options": {
|
|
|
|
"colorMode": "value",
|
|
|
|
"graphMode": "area",
|
|
|
|
"justifyMode": "auto",
|
|
|
|
"orientation": "auto",
|
|
|
|
"reduceOptions": {
|
2020-10-16 09:49:55 -05:00
|
|
|
"calcs": ["mean"],
|
2020-10-15 10:05:56 -05:00
|
|
|
"fields": "",
|
|
|
|
"values": false
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"pluginVersion": "7.0.4",
|
|
|
|
"targets": [
|
|
|
|
{
|
|
|
|
"expr": "sum(grafana_stat_totals_dashboard{job=~\"$job\", instance=~\"$instance\"})",
|
|
|
|
"interval": "",
|
|
|
|
"legendFormat": "",
|
|
|
|
"refId": "A"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"timeFrom": null,
|
|
|
|
"timeShift": null,
|
|
|
|
"title": "Dashboards",
|
|
|
|
"type": "stat"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"datasource": "$datasource",
|
|
|
|
"fieldConfig": {
|
|
|
|
"defaults": {
|
|
|
|
"custom": {
|
|
|
|
"align": null
|
|
|
|
},
|
|
|
|
"mappings": [],
|
|
|
|
"thresholds": {
|
|
|
|
"mode": "absolute",
|
|
|
|
"steps": [
|
|
|
|
{
|
|
|
|
"color": "green",
|
|
|
|
"value": null
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"color": "red",
|
|
|
|
"value": 80
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"overrides": []
|
|
|
|
},
|
|
|
|
"gridPos": {
|
|
|
|
"h": 5,
|
|
|
|
"w": 12,
|
|
|
|
"x": 12,
|
|
|
|
"y": 0
|
|
|
|
},
|
|
|
|
"id": 10,
|
|
|
|
"options": {
|
|
|
|
"showHeader": true
|
|
|
|
},
|
|
|
|
"pluginVersion": "7.0.4",
|
|
|
|
"targets": [
|
|
|
|
{
|
|
|
|
"expr": "grafana_build_info{job=~\"$job\", instance=~\"$instance\"}",
|
|
|
|
"instant": true,
|
|
|
|
"interval": "",
|
|
|
|
"legendFormat": "",
|
|
|
|
"refId": "A"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"timeFrom": null,
|
|
|
|
"timeShift": null,
|
|
|
|
"title": "Build Info",
|
|
|
|
"transformations": [
|
|
|
|
{
|
|
|
|
"id": "labelsToFields",
|
|
|
|
"options": {}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "organize",
|
|
|
|
"options": {
|
|
|
|
"excludeByName": {
|
|
|
|
"Time": true,
|
|
|
|
"Value": true,
|
|
|
|
"branch": true,
|
|
|
|
"container": true,
|
|
|
|
"goversion": true,
|
|
|
|
"namespace": true,
|
|
|
|
"pod": true,
|
|
|
|
"revision": true
|
|
|
|
},
|
|
|
|
"indexByName": {
|
|
|
|
"Time": 7,
|
|
|
|
"Value": 11,
|
|
|
|
"branch": 4,
|
|
|
|
"container": 8,
|
|
|
|
"edition": 2,
|
|
|
|
"goversion": 6,
|
|
|
|
"instance": 1,
|
|
|
|
"job": 0,
|
|
|
|
"namespace": 9,
|
|
|
|
"pod": 10,
|
|
|
|
"revision": 5,
|
|
|
|
"version": 3
|
|
|
|
},
|
|
|
|
"renameByName": {}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"type": "table"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"aliasColors": {},
|
|
|
|
"bars": false,
|
|
|
|
"dashLength": 10,
|
|
|
|
"dashes": false,
|
|
|
|
"datasource": "$datasource",
|
|
|
|
"fieldConfig": {
|
|
|
|
"defaults": {
|
|
|
|
"custom": {}
|
|
|
|
},
|
|
|
|
"overrides": []
|
|
|
|
},
|
|
|
|
"fill": 1,
|
|
|
|
"fillGradient": 0,
|
|
|
|
"gridPos": {
|
|
|
|
"h": 8,
|
|
|
|
"w": 12,
|
|
|
|
"x": 0,
|
|
|
|
"y": 5
|
|
|
|
},
|
|
|
|
"hiddenSeries": false,
|
|
|
|
"id": 2,
|
|
|
|
"legend": {
|
|
|
|
"avg": false,
|
|
|
|
"current": false,
|
|
|
|
"max": false,
|
|
|
|
"min": false,
|
|
|
|
"show": true,
|
|
|
|
"total": false,
|
|
|
|
"values": false
|
|
|
|
},
|
|
|
|
"lines": true,
|
|
|
|
"linewidth": 1,
|
|
|
|
"nullPointMode": "null",
|
|
|
|
"options": {
|
|
|
|
"dataLinks": []
|
|
|
|
},
|
|
|
|
"percentage": false,
|
|
|
|
"pointradius": 2,
|
|
|
|
"points": false,
|
|
|
|
"renderer": "flot",
|
|
|
|
"seriesOverrides": [],
|
|
|
|
"spaceLength": 10,
|
|
|
|
"stack": true,
|
|
|
|
"steppedLine": false,
|
|
|
|
"targets": [
|
|
|
|
{
|
|
|
|
"expr": "sum by (statuscode) (irate(http_request_total{job=~\"$job\", instance=~\"$instance\"}[1m])) ",
|
|
|
|
"interval": "",
|
|
|
|
"legendFormat": "{{statuscode}}",
|
|
|
|
"refId": "A"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"thresholds": [],
|
|
|
|
"timeFrom": null,
|
|
|
|
"timeRegions": [],
|
|
|
|
"timeShift": null,
|
|
|
|
"title": "RPS",
|
|
|
|
"tooltip": {
|
|
|
|
"shared": true,
|
|
|
|
"sort": 0,
|
|
|
|
"value_type": "individual"
|
|
|
|
},
|
|
|
|
"type": "graph",
|
|
|
|
"xaxis": {
|
|
|
|
"buckets": null,
|
|
|
|
"mode": "time",
|
|
|
|
"name": null,
|
|
|
|
"show": true,
|
|
|
|
"values": []
|
|
|
|
},
|
|
|
|
"yaxes": [
|
|
|
|
{
|
|
|
|
"$$hashKey": "object:157",
|
|
|
|
"format": "reqps",
|
|
|
|
"label": null,
|
|
|
|
"logBase": 1,
|
|
|
|
"max": null,
|
|
|
|
"min": null,
|
|
|
|
"show": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"$$hashKey": "object:158",
|
|
|
|
"format": "short",
|
|
|
|
"label": null,
|
|
|
|
"logBase": 1,
|
|
|
|
"max": null,
|
|
|
|
"min": null,
|
|
|
|
"show": false
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"yaxis": {
|
|
|
|
"align": false,
|
|
|
|
"alignLevel": null
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"aliasColors": {},
|
|
|
|
"bars": false,
|
|
|
|
"dashLength": 10,
|
|
|
|
"dashes": false,
|
|
|
|
"datasource": "$datasource",
|
|
|
|
"fieldConfig": {
|
|
|
|
"defaults": {
|
|
|
|
"custom": {}
|
|
|
|
},
|
|
|
|
"overrides": []
|
|
|
|
},
|
|
|
|
"fill": 1,
|
|
|
|
"fillGradient": 0,
|
|
|
|
"gridPos": {
|
|
|
|
"h": 8,
|
|
|
|
"w": 12,
|
|
|
|
"x": 12,
|
|
|
|
"y": 5
|
|
|
|
},
|
|
|
|
"hiddenSeries": false,
|
|
|
|
"id": 4,
|
|
|
|
"legend": {
|
|
|
|
"avg": false,
|
|
|
|
"current": false,
|
|
|
|
"max": false,
|
|
|
|
"min": false,
|
|
|
|
"show": true,
|
|
|
|
"total": false,
|
|
|
|
"values": false
|
|
|
|
},
|
|
|
|
"lines": true,
|
|
|
|
"linewidth": 1,
|
|
|
|
"nullPointMode": "null",
|
|
|
|
"options": {
|
|
|
|
"dataLinks": []
|
|
|
|
},
|
|
|
|
"percentage": false,
|
|
|
|
"pointradius": 2,
|
|
|
|
"points": false,
|
|
|
|
"renderer": "flot",
|
|
|
|
"seriesOverrides": [],
|
|
|
|
"spaceLength": 10,
|
|
|
|
"stack": false,
|
|
|
|
"steppedLine": false,
|
|
|
|
"targets": [
|
|
|
|
{
|
|
|
|
"expr": "max(http_request_duration_milliseconds{job=~\"$job\", instance=~\"$instance\", quantile=\"0.99\"})",
|
|
|
|
"interval": "",
|
|
|
|
"legendFormat": "max-99th",
|
|
|
|
"refId": "A"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"expr": "max(http_request_duration_milliseconds{job=~\"$job\", instance=~\"$instance\", quantile=\"0.9\"})",
|
|
|
|
"interval": "",
|
|
|
|
"legendFormat": "max-90th",
|
|
|
|
"refId": "B"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"expr": "sum(irate(http_request_duration_milliseconds_sum{job=~\"$job\", instance=~\"$instance\"}[$__interval])) / sum(irate(http_request_duration_milliseconds_count{job=~\"$job\", instance=~\"$instance\"}[$__interval])) ",
|
|
|
|
"interval": "",
|
|
|
|
"legendFormat": "avg",
|
|
|
|
"refId": "C"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"thresholds": [],
|
|
|
|
"timeFrom": null,
|
|
|
|
"timeRegions": [],
|
|
|
|
"timeShift": null,
|
|
|
|
"title": "Request Latency",
|
|
|
|
"tooltip": {
|
|
|
|
"shared": true,
|
|
|
|
"sort": 0,
|
|
|
|
"value_type": "individual"
|
|
|
|
},
|
|
|
|
"type": "graph",
|
|
|
|
"xaxis": {
|
|
|
|
"buckets": null,
|
|
|
|
"mode": "time",
|
|
|
|
"name": null,
|
|
|
|
"show": true,
|
|
|
|
"values": []
|
|
|
|
},
|
|
|
|
"yaxes": [
|
|
|
|
{
|
|
|
|
"$$hashKey": "object:210",
|
|
|
|
"format": "ms",
|
|
|
|
"label": null,
|
|
|
|
"logBase": 1,
|
|
|
|
"max": null,
|
|
|
|
"min": null,
|
|
|
|
"show": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"$$hashKey": "object:211",
|
|
|
|
"format": "short",
|
|
|
|
"label": null,
|
|
|
|
"logBase": 1,
|
|
|
|
"max": null,
|
|
|
|
"min": null,
|
|
|
|
"show": true
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"yaxis": {
|
|
|
|
"align": false,
|
|
|
|
"alignLevel": null
|
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"schemaVersion": 25,
|
|
|
|
"style": "dark",
|
|
|
|
"tags": [],
|
|
|
|
"templating": {
|
|
|
|
"list": [
|
|
|
|
{
|
|
|
|
"current": {
|
|
|
|
"selected": false,
|
|
|
|
"text": "prometheus",
|
|
|
|
"value": "prometheus"
|
|
|
|
},
|
|
|
|
"hide": 0,
|
|
|
|
"includeAll": false,
|
|
|
|
"label": null,
|
|
|
|
"multi": false,
|
|
|
|
"name": "datasource",
|
|
|
|
"options": [],
|
|
|
|
"query": "prometheus",
|
|
|
|
"queryValue": "",
|
|
|
|
"refresh": 1,
|
|
|
|
"regex": "",
|
|
|
|
"skipUrlSync": false,
|
|
|
|
"type": "datasource"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"allValue": ".*",
|
|
|
|
"current": {
|
|
|
|
"selected": true,
|
|
|
|
"tags": [],
|
|
|
|
"text": "All",
|
2020-10-16 09:49:55 -05:00
|
|
|
"value": ["$__all"]
|
2020-10-15 10:05:56 -05:00
|
|
|
},
|
|
|
|
"datasource": "$datasource",
|
|
|
|
"definition": "label_values(grafana_build_info, job)",
|
|
|
|
"hide": 0,
|
|
|
|
"includeAll": true,
|
|
|
|
"label": null,
|
|
|
|
"multi": true,
|
|
|
|
"name": "job",
|
|
|
|
"options": [],
|
|
|
|
"query": "label_values(grafana_build_info, job)",
|
|
|
|
"refresh": 1,
|
|
|
|
"regex": "",
|
|
|
|
"skipUrlSync": false,
|
|
|
|
"sort": 0,
|
|
|
|
"tagValuesQuery": "",
|
|
|
|
"tags": [],
|
|
|
|
"tagsQuery": "",
|
|
|
|
"type": "query",
|
|
|
|
"useTags": false
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"allValue": ".*",
|
|
|
|
"current": {
|
|
|
|
"selected": false,
|
|
|
|
"text": "All",
|
|
|
|
"value": "$__all"
|
|
|
|
},
|
|
|
|
"datasource": "$datasource",
|
|
|
|
"definition": "label_values(grafana_build_info, instance)",
|
|
|
|
"hide": 0,
|
|
|
|
"includeAll": true,
|
|
|
|
"label": null,
|
|
|
|
"multi": true,
|
|
|
|
"name": "instance",
|
|
|
|
"options": [],
|
|
|
|
"query": "label_values(grafana_build_info, instance)",
|
|
|
|
"refresh": 1,
|
|
|
|
"regex": "",
|
|
|
|
"skipUrlSync": false,
|
|
|
|
"sort": 0,
|
|
|
|
"tagValuesQuery": "",
|
|
|
|
"tags": [],
|
|
|
|
"tagsQuery": "",
|
|
|
|
"type": "query",
|
|
|
|
"useTags": false
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"time": {
|
|
|
|
"from": "now-6h",
|
|
|
|
"to": "now"
|
|
|
|
},
|
|
|
|
"timepicker": {
|
2020-10-16 09:49:55 -05:00
|
|
|
"refresh_intervals": ["10s", "30s", "1m", "5m", "15m", "30m", "1h", "2h", "1d"]
|
2020-10-15 10:05:56 -05:00
|
|
|
},
|
|
|
|
"timezone": "",
|
|
|
|
"title": "Grafana Overview",
|
|
|
|
"uid": "6be0s85Mk",
|
|
|
|
"version": 4
|
2020-10-16 09:49:55 -05:00
|
|
|
}
|