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