mirror of
https://github.com/monitoring-mixins/website.git
synced 2024-12-14 11:37:31 +00:00
b3b400137a
Add blackbox exporter Add mysql exporter
384 lines
9.8 KiB
JSON
384 lines
9.8 KiB
JSON
{
|
|
"editable": true,
|
|
"graphTooltip": 0,
|
|
"panels": [
|
|
{
|
|
"collapse": true,
|
|
"collapsed": false,
|
|
"gridPos": {
|
|
"h": 1,
|
|
"w": 24,
|
|
"x": 0,
|
|
"y": 0
|
|
},
|
|
"id": 0,
|
|
"showTitle": true,
|
|
"title": "Requests",
|
|
"titleSize": "h6",
|
|
"type": "row"
|
|
},
|
|
{
|
|
"bars": false,
|
|
"dashLength": 10,
|
|
"dashes": false,
|
|
"datasource": "$datasource",
|
|
"description": "HTTP requests per second",
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"unit": "reqps"
|
|
}
|
|
},
|
|
"fill": 1,
|
|
"fillGradient": 0,
|
|
"gridPos": {
|
|
"h": 6,
|
|
"w": 8,
|
|
"x": 0,
|
|
"y": 0
|
|
},
|
|
"hiddenSeries": false,
|
|
"id": 1,
|
|
"lines": true,
|
|
"linewidth": 1,
|
|
"nullPointMode": "null",
|
|
"percentage": false,
|
|
"points": false,
|
|
"renderer": "flot",
|
|
"spaceLength": 10,
|
|
"stack": false,
|
|
"steppedLine": false,
|
|
"targets": [
|
|
{
|
|
"expr": "rate(haproxy_frontend_http_requests_total{instance=~\"$instance\",job=~\"$job\",proxy=~\"$frontend\"}[$__rate_interval])",
|
|
"legendFormat": "{{proxy}}",
|
|
"refID": "A"
|
|
}
|
|
],
|
|
"title": "HTTP",
|
|
"tooltip": {
|
|
"value_type": "individual"
|
|
},
|
|
"transparent": false,
|
|
"type": "graph",
|
|
"yaxes": [
|
|
{
|
|
"min": 0
|
|
},
|
|
{
|
|
"min": 0
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"bars": false,
|
|
"dashLength": 10,
|
|
"dashes": false,
|
|
"datasource": "$datasource",
|
|
"description": "Connections per second",
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"unit": "connps"
|
|
}
|
|
},
|
|
"fill": 1,
|
|
"fillGradient": 0,
|
|
"gridPos": {
|
|
"h": 6,
|
|
"w": 8,
|
|
"x": 8,
|
|
"y": 0
|
|
},
|
|
"hiddenSeries": false,
|
|
"id": 2,
|
|
"lines": true,
|
|
"linewidth": 1,
|
|
"nullPointMode": "null",
|
|
"percentage": false,
|
|
"points": false,
|
|
"renderer": "flot",
|
|
"spaceLength": 10,
|
|
"stack": false,
|
|
"steppedLine": false,
|
|
"targets": [
|
|
{
|
|
"expr": "rate(haproxy_frontend_connections_total{instance=~\"$instance\",job=~\"$job\",proxy=~\"$frontend\"}[$__rate_interval])",
|
|
"legendFormat": "{{proxy}}",
|
|
"refID": "A"
|
|
}
|
|
],
|
|
"title": "Connections",
|
|
"tooltip": {
|
|
"value_type": "individual"
|
|
},
|
|
"transparent": false,
|
|
"type": "graph",
|
|
"yaxes": [
|
|
{
|
|
"min": 0
|
|
},
|
|
{
|
|
"min": 0
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"bars": false,
|
|
"dashLength": 10,
|
|
"dashes": false,
|
|
"datasource": "$datasource",
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"unit": "bytes"
|
|
}
|
|
},
|
|
"fill": 1,
|
|
"fillGradient": 0,
|
|
"gridPos": {
|
|
"h": 6,
|
|
"w": 8,
|
|
"x": 16,
|
|
"y": 0
|
|
},
|
|
"hiddenSeries": false,
|
|
"id": 3,
|
|
"lines": true,
|
|
"linewidth": 1,
|
|
"nullPointMode": "null",
|
|
"percentage": false,
|
|
"points": false,
|
|
"renderer": "flot",
|
|
"seriesOverrides": [
|
|
{
|
|
"alias": "/.*out.*/",
|
|
"transform": "negative-Y"
|
|
}
|
|
],
|
|
"spaceLength": 10,
|
|
"stack": false,
|
|
"steppedLine": false,
|
|
"targets": [
|
|
{
|
|
"expr": "rate(haproxy_frontend_bytes_in_total{instance=~\"$instance\",job=~\"$job\",proxy=~\"$frontend\"}[$__rate_interval])",
|
|
"legendFormat": "{{proxy}}:in",
|
|
"refID": "A"
|
|
},
|
|
{
|
|
"expr": "rate(haproxy_frontend_bytes_out_total{instance=~\"$instance\",job=~\"$job\",proxy=~\"$frontend\"}[$__rate_interval])",
|
|
"legendFormat": "{{proxy}}:out",
|
|
"refID": "B"
|
|
}
|
|
],
|
|
"title": "Bytes in/out",
|
|
"tooltip": {
|
|
"value_type": "individual"
|
|
},
|
|
"transparent": false,
|
|
"type": "graph"
|
|
},
|
|
{
|
|
"collapse": true,
|
|
"collapsed": false,
|
|
"gridPos": {
|
|
"h": 1,
|
|
"w": 24,
|
|
"x": 0,
|
|
"y": 1
|
|
},
|
|
"id": 4,
|
|
"showTitle": true,
|
|
"title": "Errors",
|
|
"titleSize": "h6",
|
|
"type": "row"
|
|
},
|
|
{
|
|
"bars": false,
|
|
"dashLength": 10,
|
|
"dashes": false,
|
|
"datasource": "$datasource",
|
|
"description": "Request errors per second",
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"unit": "errps"
|
|
}
|
|
},
|
|
"fill": 1,
|
|
"fillGradient": 0,
|
|
"gridPos": {
|
|
"h": 6,
|
|
"w": 8,
|
|
"x": 0,
|
|
"y": 1
|
|
},
|
|
"hiddenSeries": false,
|
|
"id": 5,
|
|
"lines": true,
|
|
"linewidth": 1,
|
|
"nullPointMode": "null",
|
|
"percentage": false,
|
|
"points": false,
|
|
"renderer": "flot",
|
|
"spaceLength": 10,
|
|
"stack": true,
|
|
"steppedLine": false,
|
|
"targets": [
|
|
{
|
|
"expr": "rate(haproxy_frontend_request_errors_total{instance=~\"$instance\",job=~\"$job\",proxy=~\"$frontend\"}[$__rate_interval])",
|
|
"legendFormat": "{{proxy}}",
|
|
"refID": "A"
|
|
}
|
|
],
|
|
"title": "Requests",
|
|
"tooltip": {
|
|
"value_type": "individual"
|
|
},
|
|
"transparent": false,
|
|
"type": "graph",
|
|
"yaxes": [
|
|
{
|
|
"min": 0
|
|
},
|
|
{
|
|
"min": 0
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"bars": false,
|
|
"dashLength": 10,
|
|
"dashes": false,
|
|
"datasource": "$datasource",
|
|
"description": "Internal errors per second",
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"unit": "errps"
|
|
}
|
|
},
|
|
"fill": 1,
|
|
"fillGradient": 0,
|
|
"gridPos": {
|
|
"h": 6,
|
|
"w": 8,
|
|
"x": 8,
|
|
"y": 1
|
|
},
|
|
"hiddenSeries": false,
|
|
"id": 6,
|
|
"lines": true,
|
|
"linewidth": 1,
|
|
"nullPointMode": "null",
|
|
"percentage": false,
|
|
"points": false,
|
|
"renderer": "flot",
|
|
"spaceLength": 10,
|
|
"stack": true,
|
|
"steppedLine": false,
|
|
"targets": [
|
|
{
|
|
"expr": "rate(haproxy_frontend_internal_errors_total{instance=~\"$instance\",job=~\"$job\",proxy=~\"$frontend\"}[$__rate_interval])",
|
|
"legendFormat": "{{proxy}}",
|
|
"refID": "A"
|
|
}
|
|
],
|
|
"title": "Internal",
|
|
"tooltip": {
|
|
"value_type": "individual"
|
|
},
|
|
"transparent": false,
|
|
"type": "graph",
|
|
"yaxes": [
|
|
{
|
|
"min": 0
|
|
},
|
|
{
|
|
"min": 0
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"schemaVersion": 25,
|
|
"style": "dark",
|
|
"tags": [ ],
|
|
"templating": {
|
|
"list": [
|
|
{
|
|
"current": {
|
|
"selected": false,
|
|
"text": "prometheus",
|
|
"value": "prometheus"
|
|
},
|
|
"hide": 0,
|
|
"includeAll": false,
|
|
"label": "Data Source",
|
|
"multi": false,
|
|
"name": "datasource",
|
|
"query": "prometheus",
|
|
"refresh": 1,
|
|
"skipUrlSync": false,
|
|
"type": "datasource"
|
|
},
|
|
{
|
|
"datasource": "$datasource",
|
|
"definition": "label_values(haproxy_process_start_time_seconds, job)",
|
|
"hide": 0,
|
|
"includeAll": true,
|
|
"multi": true,
|
|
"name": "job",
|
|
"query": "label_values(haproxy_process_start_time_seconds, job)",
|
|
"refresh": 1,
|
|
"skipUrlSync": false,
|
|
"sort": 0,
|
|
"type": "query",
|
|
"useTags": false
|
|
},
|
|
{
|
|
"datasource": "$datasource",
|
|
"definition": "label_values(haproxy_process_start_time_seconds{job=~\"$job\"}, instance)",
|
|
"hide": 0,
|
|
"includeAll": true,
|
|
"multi": true,
|
|
"name": "instance",
|
|
"query": "label_values(haproxy_process_start_time_seconds{job=~\"$job\"}, instance)",
|
|
"refresh": 1,
|
|
"skipUrlSync": false,
|
|
"sort": 0,
|
|
"type": "query",
|
|
"useTags": false
|
|
},
|
|
{
|
|
"datasource": "$datasource",
|
|
"definition": "label_values(haproxy_frontend_status{job=~\"$job\",instance=~\"$instance\"}, proxy)",
|
|
"hide": 0,
|
|
"includeAll": true,
|
|
"multi": true,
|
|
"name": "frontend",
|
|
"query": "label_values(haproxy_frontend_status{job=~\"$job\",instance=~\"$instance\"}, proxy)",
|
|
"refresh": 1,
|
|
"skipUrlSync": false,
|
|
"sort": 0,
|
|
"type": "query",
|
|
"useTags": false
|
|
}
|
|
]
|
|
},
|
|
"time": {
|
|
"from": "now-6h",
|
|
"to": "now"
|
|
},
|
|
"timepicker": {
|
|
"hidden": false,
|
|
"refresh_intervals": [
|
|
"5s",
|
|
"10s",
|
|
"30s",
|
|
"1m",
|
|
"5m",
|
|
"15m",
|
|
"30m",
|
|
"1h",
|
|
"2h",
|
|
"1d"
|
|
]
|
|
},
|
|
"title": "HAProxy / Frontend",
|
|
"uid": "HAProxyFrontend"
|
|
}
|