grafana-dashboards/prometheus/apache-exporter-full.json

742 lines
18 KiB
JSON
Raw Normal View History

2017-11-30 15:45:10 -08:00
{
"__inputs": [
{
"name": "DS_LOCALHOST",
"label": "localhost",
"description": "",
"type": "datasource",
"pluginId": "prometheus",
"pluginName": "Prometheus"
}
],
"__requires": [
{
"type": "grafana",
"id": "grafana",
"name": "Grafana",
"version": "4.4.3"
},
{
"type": "panel",
"id": "graph",
"name": "Graph",
"version": ""
},
{
"type": "datasource",
"id": "prometheus",
"name": "Prometheus",
"version": "1.0.0"
},
{
"type": "panel",
"id": "singlestat",
"name": "Singlestat",
"version": ""
}
],
"annotations": {
"list": []
},
"editable": true,
"gnetId": null,
"graphTooltip": 0,
"hideControls": false,
"id": null,
"links": [],
2017-11-30 16:01:12 -08:00
"refresh": "1m",
2017-11-30 15:45:10 -08:00
"rows": [
{
"collapse": false,
"height": 102,
"panels": [
{
"cacheTimeout": null,
"colorBackground": false,
"colorValue": false,
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"datasource": "${DS_LOCALHOST}",
"decimals": 1,
"format": "s",
"gauge": {
"maxValue": 100,
"minValue": 0,
"show": false,
"thresholdLabels": false,
"thresholdMarkers": true
},
"id": 8,
"interval": null,
"links": [],
"mappingType": 1,
"mappingTypes": [
{
"name": "value to text",
"value": 1
},
{
"name": "range to text",
"value": 2
}
],
"maxDataPoints": 100,
2018-04-13 05:03:32 -07:00
"nullPointMode": "connected",
2017-11-30 15:45:10 -08:00
"nullText": null,
"postfix": "s",
"postfixFontSize": "50%",
"prefix": "",
"prefixFontSize": "50%",
"rangeMaps": [
{
"from": "null",
"text": "N/A",
"to": "null"
}
],
"span": 2,
"sparkline": {
"fillColor": "rgba(31, 118, 189, 0.18)",
"full": false,
"lineColor": "rgb(31, 120, 193)",
"show": false
},
"tableColumn": "",
"targets": [
{
"expr": "apache_uptime_seconds_total{instance=~\"$host:$port\"}",
"format": "time_series",
"intervalFactor": 2,
"refId": "A",
"step": 1800
}
],
"thresholds": "",
"title": "Uptime",
"type": "singlestat",
"valueFontSize": "50%",
"valueMaps": [
{
"op": "=",
"text": "N/A",
"value": "null"
}
],
"valueName": "avg"
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${DS_LOCALHOST}",
"decimals": 0,
"fill": 7,
"id": 5,
"legend": {
"alignAsTable": true,
"avg": true,
"current": true,
"max": true,
"min": true,
"rightSide": true,
"show": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 3,
"links": [],
"nullPointMode": "null",
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [
{
"alias": "Apache Down",
"color": "#BF1B00"
},
{
"alias": "Apache Down",
"transform": "negative-Y"
}
],
"spaceLength": 10,
"span": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "count(apache_up{instance=~\"$host:$port\"} == 1)",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "Apache Up",
"refId": "A",
"step": 120
},
{
"expr": "scalar(count(apache_up{instance=~\"$host:$port\"} == 0))",
2017-11-30 15:45:10 -08:00
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "Apache Down",
"refId": "B",
"step": 120
}
],
"thresholds": [],
"timeFrom": null,
"timeShift": null,
"title": "Apache Up / Down",
"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": "1",
"min": null,
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": false
}
]
}
],
"repeat": null,
"repeatIteration": null,
"repeatRowId": null,
"showTitle": false,
"title": "Basic Apache status",
"titleSize": "h6"
},
{
"collapse": false,
"height": "365",
"panels": [
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${DS_LOCALHOST}",
2017-11-30 16:01:12 -08:00
"decimals": 2,
2017-11-30 15:45:10 -08:00
"fill": 1,
"id": 3,
"legend": {
"alignAsTable": true,
"avg": true,
"current": true,
"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,
"span": 6,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "rate(apache_sent_kilobytes_total{instance=~\"$host:$port\"}[5m])",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "Kilobytes Sent",
"refId": "A",
"step": 240
}
],
"thresholds": [],
"timeFrom": null,
"timeShift": null,
"title": "Current total kbytes sent",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "deckbytes",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
2017-11-30 16:01:12 -08:00
"show": false
2017-11-30 15:45:10 -08:00
}
]
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${DS_LOCALHOST}",
2017-11-30 16:01:12 -08:00
"decimals": 2,
2017-11-30 15:45:10 -08:00
"fill": 1,
"id": 1,
"legend": {
"alignAsTable": true,
"avg": true,
"current": true,
"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,
"span": 6,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "rate(apache_accesses_total{instance=~\"$host:$port\"}[5m])",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "Accesses",
"refId": "A",
"step": 240
}
],
"thresholds": [],
"timeFrom": null,
"timeShift": null,
"title": "Current total apache accesses",
"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,
2017-11-30 16:01:12 -08:00
"show": false
2017-11-30 15:45:10 -08:00
}
]
}
],
"repeat": null,
"repeatIteration": null,
"repeatRowId": null,
"showTitle": false,
"title": "Traffic Load",
"titleSize": "h6"
},
{
"collapse": false,
"height": "365",
"panels": [
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${DS_LOCALHOST}",
2017-11-30 16:01:12 -08:00
"decimals": 2,
2017-11-30 15:45:10 -08:00
"fill": 1,
"id": 2,
"legend": {
"alignAsTable": true,
"avg": true,
"current": true,
"max": true,
"min": true,
"rightSide": 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,
"span": 12,
2018-04-13 18:21:58 -07:00
"stack": true,
2017-11-30 15:45:10 -08:00
"steppedLine": false,
"targets": [
{
2018-04-13 05:03:32 -07:00
"expr": "apache_scoreboard{instance=~\"$host:$port\"}",
2017-11-30 15:45:10 -08:00
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "{{ state }}",
"refId": "A",
"step": 120
}
],
"thresholds": [],
"timeFrom": null,
"timeShift": null,
"title": "Apache scoreboard statuses",
"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": false
}
]
}
],
"repeat": null,
"repeatIteration": null,
"repeatRowId": null,
"showTitle": false,
"title": "Scoreboard",
"titleSize": "h6"
},
{
"collapse": false,
"height": "365",
"panels": [
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${DS_LOCALHOST}",
2017-11-30 16:01:12 -08:00
"decimals": 2,
2017-11-30 15:45:10 -08:00
"fill": 1,
"id": 7,
"legend": {
"alignAsTable": true,
"avg": true,
"current": true,
"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,
"span": 6,
2018-04-13 18:21:58 -07:00
"stack": true,
2017-11-30 15:45:10 -08:00
"steppedLine": false,
"targets": [
{
2018-04-13 05:03:32 -07:00
"expr": "apache_workers{instance=~\"$host:$port\"}\n",
2017-11-30 15:45:10 -08:00
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "{{ state }}",
"refId": "A",
"step": 240
}
],
"thresholds": [],
"timeFrom": null,
"timeShift": null,
"title": "Apache worker statuses",
"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,
2017-11-30 16:01:12 -08:00
"show": false
2017-11-30 15:45:10 -08:00
}
]
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${DS_LOCALHOST}",
2017-11-30 16:01:12 -08:00
"decimals": 2,
2017-11-30 15:45:10 -08:00
"fill": 1,
"id": 4,
"legend": {
"alignAsTable": true,
"avg": true,
"current": true,
"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,
"span": 6,
"stack": false,
"steppedLine": false,
"targets": [
{
2018-04-13 05:03:32 -07:00
"expr": "apache_cpuload{instance=~\"$host:$port\"}",
2017-11-30 15:45:10 -08:00
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "Load",
"refId": "A",
"step": 240
}
],
"thresholds": [],
"timeFrom": null,
"timeShift": null,
"title": "Apache CPU load",
"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,
2017-11-30 16:01:12 -08:00
"min": "0",
2017-11-30 15:45:10 -08:00
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
2017-11-30 16:01:12 -08:00
"show": false
2017-11-30 15:45:10 -08:00
}
]
}
],
"repeat": null,
"repeatIteration": null,
"repeatRowId": null,
"showTitle": false,
"title": "Processing Load",
"titleSize": "h6"
}
],
"schemaVersion": 14,
"style": "dark",
"tags": [],
"templating": {
"list": [
{
"allValue": null,
"current": {},
"datasource": "${DS_LOCALHOST}",
"hide": 0,
"includeAll": false,
"label": "host",
"multi": false,
"name": "host",
"options": [],
"query": "label_values(apache_up, instance)",
2017-11-30 16:01:12 -08:00
"refresh": 2,
2017-11-30 15:45:10 -08:00
"regex": "/([^:]+):.*/",
"sort": 1,
"tagValuesQuery": "",
"tags": [],
"tagsQuery": "",
"type": "query",
"useTags": false
},
{
"allValue": null,
"current": {},
"datasource": "${DS_LOCALHOST}",
"hide": 2,
"includeAll": false,
"label": null,
"multi": false,
"name": "port",
"options": [],
"query": "label_values(apache_up, instance)",
"refresh": 1,
"regex": "/[^:]+:(.*)/",
"sort": 0,
"tagValuesQuery": "",
"tags": [],
"tagsQuery": "",
"type": "query",
"useTags": false
}
]
},
"time": {
2017-11-30 16:01:12 -08:00
"from": "now-24h",
"to": "now"
2017-11-30 15:45:10 -08:00
},
"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": "Apache",
2018-04-13 18:21:58 -07:00
"version": 13
}