Update ElastiSearch Grafana dashboard

This commit is contained in:
CarlosEDP 2019-02-27 10:30:41 -03:00
parent b1d0a1fe1c
commit fbcacb2a31

View File

@ -1,31 +1,4 @@
{ {
"__inputs": [],
"__requires": [
{
"type": "grafana",
"id": "grafana",
"name": "Grafana",
"version": "5.4.0"
},
{
"type": "panel",
"id": "graph",
"name": "Graph",
"version": "5.0.0"
},
{
"type": "datasource",
"id": "prometheus",
"name": "Prometheus",
"version": "5.0.0"
},
{
"type": "panel",
"id": "singlestat",
"name": "Singlestat",
"version": "5.0.0"
}
],
"annotations": { "annotations": {
"list": [ "list": [
{ {
@ -42,8 +15,8 @@
"editable": true, "editable": true,
"gnetId": null, "gnetId": null,
"graphTooltip": 1, "graphTooltip": 1,
"id": null, "id": 16,
"iteration": 1549021227642, "iteration": 1551271295198,
"links": [], "links": [],
"panels": [ "panels": [
{ {
@ -68,6 +41,7 @@
"rgba(237, 129, 40, 0.89)", "rgba(237, 129, 40, 0.89)",
"#d44a3a" "#d44a3a"
], ],
"datasource": "$server",
"format": "none", "format": "none",
"gauge": { "gauge": {
"maxValue": 100, "maxValue": 100,
@ -252,6 +226,7 @@
"rgba(237, 129, 40, 0.89)", "rgba(237, 129, 40, 0.89)",
"#d44a3a" "#d44a3a"
], ],
"datasource": "$server",
"format": "none", "format": "none",
"gauge": { "gauge": {
"maxValue": 100, "maxValue": 100,
@ -331,6 +306,7 @@
"rgba(237, 129, 40, 0.89)", "rgba(237, 129, 40, 0.89)",
"#d44a3a" "#d44a3a"
], ],
"datasource": "$server",
"format": "none", "format": "none",
"gauge": { "gauge": {
"maxValue": 100, "maxValue": 100,
@ -423,6 +399,7 @@
"rgba(237, 129, 40, 0.89)", "rgba(237, 129, 40, 0.89)",
"#d44a3a" "#d44a3a"
], ],
"datasource": "$server",
"format": "none", "format": "none",
"gauge": { "gauge": {
"maxValue": 100, "maxValue": 100,
@ -503,6 +480,7 @@
"rgba(237, 129, 40, 0.89)", "rgba(237, 129, 40, 0.89)",
"#d44a3a" "#d44a3a"
], ],
"datasource": "$server",
"format": "none", "format": "none",
"gauge": { "gauge": {
"maxValue": 100, "maxValue": 100,
@ -582,6 +560,7 @@
"rgba(237, 129, 40, 0.89)", "rgba(237, 129, 40, 0.89)",
"#d44a3a" "#d44a3a"
], ],
"datasource": "$server",
"format": "none", "format": "none",
"gauge": { "gauge": {
"maxValue": 100, "maxValue": 100,
@ -661,6 +640,7 @@
"rgba(237, 129, 40, 0.89)", "rgba(237, 129, 40, 0.89)",
"#d44a3a" "#d44a3a"
], ],
"datasource": "$server",
"format": "none", "format": "none",
"gauge": { "gauge": {
"maxValue": 100, "maxValue": 100,
@ -740,6 +720,7 @@
"rgba(237, 129, 40, 0.89)", "rgba(237, 129, 40, 0.89)",
"#d44a3a" "#d44a3a"
], ],
"datasource": "$server",
"format": "none", "format": "none",
"gauge": { "gauge": {
"maxValue": 100, "maxValue": 100,
@ -819,6 +800,7 @@
"rgba(237, 129, 40, 0.89)", "rgba(237, 129, 40, 0.89)",
"#d44a3a" "#d44a3a"
], ],
"datasource": "$server",
"format": "none", "format": "none",
"gauge": { "gauge": {
"maxValue": 100, "maxValue": 100,
@ -1085,6 +1067,7 @@
"bars": false, "bars": false,
"dashLength": 10, "dashLength": 10,
"dashes": false, "dashes": false,
"datasource": "$server",
"fill": 1, "fill": 1,
"gridPos": { "gridPos": {
"h": 9, "h": 9,
@ -1170,6 +1153,7 @@
"bars": false, "bars": false,
"dashLength": 10, "dashLength": 10,
"dashes": false, "dashes": false,
"datasource": "$server",
"fill": 1, "fill": 1,
"gridPos": { "gridPos": {
"h": 9, "h": 9,
@ -1292,6 +1276,7 @@
"targets": [ "targets": [
{ {
"expr": "sum(elasticsearch_thread_pool_queue_count{cluster=~\"$cluster\", type!=\"management\"}) by (type)", "expr": "sum(elasticsearch_thread_pool_queue_count{cluster=~\"$cluster\", type!=\"management\"}) by (type)",
"format": "time_series",
"interval": "", "interval": "",
"intervalFactor": 2, "intervalFactor": 2,
"legendFormat": "Type: {{type}}", "legendFormat": "Type: {{type}}",
@ -1416,7 +1401,8 @@
"tableColumn": "", "tableColumn": "",
"targets": [ "targets": [
{ {
"expr": "sum(node_memory_MemTotal{cluster=~\"$cluster\"})", "expr": "sum(node_memory_MemTotal_bytes)",
"format": "time_series",
"intervalFactor": 2, "intervalFactor": 2,
"legendFormat": "", "legendFormat": "",
"metric": "", "metric": "",
@ -1501,7 +1487,8 @@
"tableColumn": "", "tableColumn": "",
"targets": [ "targets": [
{ {
"expr": "sum(node_memory_MemFree{cluster=~\"$cluster\"})", "expr": "sum(node_memory_MemFree_bytes)",
"format": "time_series",
"intervalFactor": 2, "intervalFactor": 2,
"legendFormat": "", "legendFormat": "",
"refId": "A", "refId": "A",
@ -1585,7 +1572,8 @@
"tableColumn": "", "tableColumn": "",
"targets": [ "targets": [
{ {
"expr": "sum(node_memory_MemAvailable{cluster=~\"$cluster\"})", "expr": "sum(node_memory_MemAvailable_bytes)",
"format": "time_series",
"intervalFactor": 2, "intervalFactor": 2,
"legendFormat": "", "legendFormat": "",
"refId": "A", "refId": "A",
@ -1735,6 +1723,7 @@
"targets": [ "targets": [
{ {
"expr": "rate(elasticsearch_thread_pool_rejected_count{cluster=~\"$cluster\", type!=\"management\"}[5m])", "expr": "rate(elasticsearch_thread_pool_rejected_count{cluster=~\"$cluster\", type!=\"management\"}[5m])",
"format": "time_series",
"interval": "", "interval": "",
"intervalFactor": 2, "intervalFactor": 2,
"legendFormat": "{{ name }} {{ type }}", "legendFormat": "{{ name }} {{ type }}",
@ -1788,6 +1777,7 @@
"dashLength": 10, "dashLength": 10,
"dashes": false, "dashes": false,
"datasource": "$server", "datasource": "$server",
"decimals": null,
"fill": 1, "fill": 1,
"gridPos": { "gridPos": {
"h": 9, "h": 9,
@ -1797,13 +1787,17 @@
}, },
"id": 57, "id": 57,
"legend": { "legend": {
"avg": false, "alignAsTable": true,
"current": false, "avg": true,
"max": false, "current": true,
"min": false, "hideEmpty": false,
"hideZero": false,
"max": true,
"min": true,
"rightSide": false,
"show": true, "show": true,
"total": false, "total": false,
"values": false "values": true
}, },
"lines": true, "lines": true,
"linewidth": 1, "linewidth": 1,
@ -1829,10 +1823,10 @@
} }
], ],
"dsType": "elasticsearch", "dsType": "elasticsearch",
"expr": "avg(irate(node_cpu{cluster=~\"$cluster\"}[10s])) by(mode) *100", "expr": "elasticsearch_process_cpu_percent{cluster=~\"$cluster\"}",
"format": "time_series", "format": "time_series",
"intervalFactor": 2, "intervalFactor": 2,
"legendFormat": "{{ mode }}", "legendFormat": "{{ name }}",
"metric": "elasticsearch_breakers_tripped", "metric": "elasticsearch_breakers_tripped",
"metrics": [ "metrics": [
{ {
@ -1849,7 +1843,7 @@
"timeFrom": null, "timeFrom": null,
"timeRegions": [], "timeRegions": [],
"timeShift": null, "timeShift": null,
"title": "Avg. CPU Usage", "title": "Process CPU Usage",
"tooltip": { "tooltip": {
"shared": true, "shared": true,
"sort": 0, "sort": 0,
@ -1865,7 +1859,7 @@
}, },
"yaxes": [ "yaxes": [
{ {
"format": "short", "format": "percent",
"label": "", "label": "",
"logBase": 1, "logBase": 1,
"max": null, "max": null,
@ -1878,7 +1872,7 @@
"logBase": 1, "logBase": 1,
"max": null, "max": null,
"min": null, "min": null,
"show": true "show": false
} }
], ],
"yaxis": { "yaxis": {
@ -2020,7 +2014,7 @@
"steppedLine": false, "steppedLine": false,
"targets": [ "targets": [
{ {
"expr": "sum(rate(elasticsearch_transport_rx_packets_total{cluster=~\"$cluster\"}[5m]))", "expr": "sum(rate(elasticsearch_transport_rx_size_bytes_total{cluster=~\"$cluster\"}[5m]))",
"format": "time_series", "format": "time_series",
"intervalFactor": 2, "intervalFactor": 2,
"legendFormat": "RX", "legendFormat": "RX",
@ -2028,7 +2022,7 @@
"step": 240 "step": 240
}, },
{ {
"expr": "sum(rate(elasticsearch_transport_tx_packets_total{cluster=~\"$cluster\"}[5m])) * -1", "expr": "sum(rate(elasticsearch_transport_tx_size_bytes_total{cluster=~\"$cluster\"}[5m])) * -1",
"format": "time_series", "format": "time_series",
"intervalFactor": 2, "intervalFactor": 2,
"legendFormat": "TX", "legendFormat": "TX",
@ -2057,14 +2051,14 @@
}, },
"yaxes": [ "yaxes": [
{ {
"format": "short", "format": "decbytes",
"logBase": 1, "logBase": 1,
"max": null, "max": null,
"min": null, "min": null,
"show": true "show": true
}, },
{ {
"format": "short", "format": "decbytes",
"logBase": 1, "logBase": 1,
"max": null, "max": null,
"min": null, "min": null,
@ -2117,6 +2111,7 @@
"targets": [ "targets": [
{ {
"expr": "irate(elasticsearch_jvm_gc_collection_seconds_sum{cluster=~\"$cluster\"}[1m])", "expr": "irate(elasticsearch_jvm_gc_collection_seconds_sum{cluster=~\"$cluster\"}[1m])",
"format": "time_series",
"interval": "", "interval": "",
"intervalFactor": 2, "intervalFactor": 2,
"legendFormat": "{{ name }} {{ gc }}", "legendFormat": "{{ name }} {{ gc }}",
@ -2177,8 +2172,8 @@
"list": [ "list": [
{ {
"current": { "current": {
"text": "Prometheus", "text": "prometheus",
"value": "Prometheus" "value": "prometheus"
}, },
"hide": 0, "hide": 0,
"label": "Server", "label": "Server",
@ -2192,7 +2187,10 @@
}, },
{ {
"allValue": null, "allValue": null,
"current": {}, "current": {
"text": "All",
"value": "$__all"
},
"datasource": "$server", "datasource": "$server",
"definition": "", "definition": "",
"hide": 0, "hide": 0,
@ -2215,7 +2213,7 @@
] ]
}, },
"time": { "time": {
"from": "now-12h", "from": "now-3h",
"to": "now" "to": "now"
}, },
"timepicker": { "timepicker": {
@ -2244,7 +2242,7 @@
] ]
}, },
"timezone": "utc", "timezone": "utc",
"title": "ElasticSearch Example", "title": "ElasticSearch Cluster",
"uid": "n_nxrE_mk", "uid": "n_nxrE_mk78",
"version": 1 "version": 1
} }