Skip to content

Commit

Permalink
Merge pull request #5 from ApptuitAI/rajiv/dashboard-improvements
Browse files Browse the repository at this point in the history
Dashboard improvements
  • Loading branch information
noothir authored Oct 26, 2018
2 parents cf227cd + befa315 commit e9e367b
Show file tree
Hide file tree
Showing 13 changed files with 8,672 additions and 16,001 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
.idea
*.iml
90 changes: 48 additions & 42 deletions Elasticsearch Cluster Stats.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
"gnetId": null,
"graphTooltip": 0,
"id": null,
"iteration": 1538730391182,
"iteration": 1540398614608,
"links": [
{
"asDropdown": false,
Expand Down Expand Up @@ -149,10 +149,10 @@
"metrics": [],
"refId": "A",
"ts": {
"query": "A=fetch('elasticsearch.cluster.indices.docs.count')$global_tag_filter.tag_filter('cluster==$cluster').downsample('[[__interval]]','avg').avg()",
"errors": [],
"id": "A",
"output": true
"output": true,
"query": "A=fetch('elasticsearch.cluster.indices.docs.count')$global_tag_filter.tag_filter('cluster==$cluster').downsample('[[__interval]]','avg').sum()"
},
"type": "Query"
}
Expand Down Expand Up @@ -234,10 +234,10 @@
"metrics": [],
"refId": "A",
"ts": {
"query": "A=fetch('elasticsearch.cluster.indices.store.size_in_bytes')$global_tag_filter.tag_filter('cluster==$cluster').downsample('[[__interval]]','avg').avg()",
"errors": [],
"id": "A",
"output": true
"output": true,
"query": "A=fetch('elasticsearch.cluster.indices.store.size_in_bytes')$global_tag_filter.tag_filter('cluster==$cluster').downsample('[[__interval]]','avg').sum()"
},
"type": "Query"
}
Expand Down Expand Up @@ -322,7 +322,7 @@
"errors": [],
"id": "A",
"output": true,
"query": "A=fetch('elasticsearch.cluster.nodes.fs.total_in_bytes')$global_tag_filter.tag_filter(\"cluster=$cluster\").downsample('[[__interval]]','avg');\nB=fetch('elasticsearch.cluster.nodes.fs.available_in_bytes')$global_tag_filter.tag_filter(\"cluster=$cluster\").downsample('[[__interval]]','avg');\none=1;\nC=one.sub(B.div(A)).avg();"
"query": "A=fetch('elasticsearch.cluster.nodes.fs.total_in_bytes')$global_tag_filter.tag_filter(\"cluster=$cluster\").downsample('[[__interval]]','avg').sum();\nB=fetch('elasticsearch.cluster.nodes.fs.available_in_bytes')$global_tag_filter.tag_filter(\"cluster=$cluster\").downsample('[[__interval]]','avg').sum();\none=1;\nC=one.sub(B.div(A));"
},
"type": "Query"
}
Expand All @@ -338,7 +338,7 @@
"value": "null"
}
],
"valueName": "avg"
"valueName": "current"
},
{
"cacheTimeout": null,
Expand Down Expand Up @@ -404,10 +404,10 @@
"metrics": [],
"refId": "A",
"ts": {
"query": "A=fetch('elasticsearch.cluster.number_of_nodes')$global_tag_filter.tag_filter('cluster==$cluster').downsample('[[__interval]]','avg').sum()",
"errors": [],
"id": "A",
"output": true
"output": true,
"query": "A=fetch('elasticsearch.cluster.number_of_nodes')$global_tag_filter.tag_filter('cluster==$cluster').downsample('[[__interval]]','avg').sum()"
},
"type": "Query"
}
Expand Down Expand Up @@ -489,10 +489,10 @@
"metrics": [],
"refId": "A",
"ts": {
"query": "A=fetch('elasticsearch.cluster.number_of_data_nodes')$global_tag_filter.tag_filter('cluster==$cluster').downsample('[[__interval]]','avg').sum()",
"errors": [],
"id": "A",
"output": true
"output": true,
"query": "A=fetch('elasticsearch.cluster.number_of_data_nodes')$global_tag_filter.tag_filter('cluster==$cluster').downsample('[[__interval]]','avg').sum()"
},
"type": "Query"
}
Expand Down Expand Up @@ -575,10 +575,10 @@
"metrics": [],
"refId": "A",
"ts": {
"query": "A=fetch('elasticsearch.cluster.indices.count')$global_tag_filter.tag_filter('cluster==$cluster').downsample('[[__interval]]','avg').sum()",
"errors": [],
"id": "A",
"output": true
"output": true,
"query": "A=fetch('elasticsearch.cluster.indices.count')$global_tag_filter.tag_filter('cluster==$cluster').downsample('[[__interval]]','avg').sum()"
},
"type": "Query"
}
Expand Down Expand Up @@ -661,10 +661,10 @@
"metrics": [],
"refId": "A",
"ts": {
"query": "A=fetch('elasticsearch.cluster.indices.segments.count')$global_tag_filter.tag_filter('cluster==$cluster').downsample('[[__interval]]','avg').sum()",
"errors": [],
"id": "A",
"output": true
"output": true,
"query": "A=fetch('elasticsearch.cluster.indices.segments.count')$global_tag_filter.tag_filter('cluster==$cluster').downsample('[[__interval]]','avg').sum()"
},
"type": "Query"
}
Expand Down Expand Up @@ -746,10 +746,10 @@
"metrics": [],
"refId": "A",
"ts": {
"query": "A=fetch('elasticsearch.cluster.active_shards')$global_tag_filter.tag_filter('cluster==$cluster').downsample('[[__interval]]','avg').sum()",
"errors": [],
"id": "A",
"output": true
"output": true,
"query": "A=fetch('elasticsearch.cluster.active_shards')$global_tag_filter.tag_filter('cluster==$cluster').downsample('[[__interval]]','avg').sum()"
},
"type": "Query"
}
Expand Down Expand Up @@ -831,10 +831,10 @@
"metrics": [],
"refId": "A",
"ts": {
"query": "A=fetch('elasticsearch.cluster.active_primary_shards')$global_tag_filter.tag_filter('cluster==$cluster').downsample('[[__interval]]','avg').sum()",
"errors": [],
"id": "A",
"output": true
"output": true,
"query": "A=fetch('elasticsearch.cluster.active_primary_shards')$global_tag_filter.tag_filter('cluster==$cluster').downsample('[[__interval]]','avg').sum()"
},
"type": "Query"
}
Expand Down Expand Up @@ -1004,7 +1004,7 @@
"errors": [],
"id": "A",
"output": true,
"query": "A=fetch('elasticsearch.node.thread_pool.rejected', rate=\"counter\", dropcounterresets=\"true\")$global_tag_filter.tag_filter('cluster==$cluster').downsample('[[__interval]]','max').sum()"
"query": "A=fetch('elasticsearch.node.thread_pool.rejected', rate='delta')$global_tag_filter.tag_filter('cluster==$cluster').downsample('[[__interval]]','sum').sum()"
},
"type": "Query"
}
Expand Down Expand Up @@ -1086,10 +1086,10 @@
"metrics": [],
"refId": "A",
"ts": {
"query": "A=fetch('elasticsearch.cluster.status')$global_tag_filter.tag_filter('cluster==$cluster').downsample('[[__interval]]','avg').max()",
"errors": [],
"id": "A",
"output": true
"output": true,
"query": "A=fetch('elasticsearch.cluster.status')$global_tag_filter.tag_filter('cluster==$cluster').downsample('[[__interval]]','avg').max()"
},
"type": "Query"
}
Expand Down Expand Up @@ -1147,7 +1147,7 @@
"datasource": "${DS_APPTUIT}",
"gridPos": {
"h": 7,
"w": 12,
"w": 8,
"x": 0,
"y": 6
},
Expand Down Expand Up @@ -1213,8 +1213,8 @@
"datasource": "${DS_APPTUIT}",
"gridPos": {
"h": 7,
"w": 12,
"x": 12,
"w": 8,
"x": 8,
"y": 6
},
"heatmap": {},
Expand All @@ -1241,7 +1241,7 @@
"title": "Node JVM Heap Usage",
"tooltip": {
"show": true,
"showHistogram": false
"showHistogram": true
},
"type": "heatmap",
"xAxis": {
Expand Down Expand Up @@ -1270,12 +1270,12 @@
"dashLength": 10,
"dashes": false,
"datasource": "${DS_APPTUIT}",
"fill": 1,
"fill": 0,
"gridPos": {
"h": 7,
"w": 12,
"x": 0,
"y": 13
"w": 8,
"x": 16,
"y": 6
},
"id": 89,
"legend": {
Expand All @@ -1295,7 +1295,12 @@
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"seriesOverrides": [
{
"alias": "avg",
"fill": 1
}
],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
Expand Down Expand Up @@ -3432,7 +3437,7 @@
"fillColor": "rgba(31, 118, 189, 0.18)",
"full": false,
"lineColor": "rgb(31, 120, 193)",
"show": false
"show": true
},
"tableColumn": "",
"targets": [
Expand All @@ -3459,7 +3464,7 @@
"value": "null"
}
],
"valueName": "avg"
"valueName": "current"
},
{
"cacheTimeout": null,
Expand Down Expand Up @@ -3517,7 +3522,7 @@
"fillColor": "rgba(31, 118, 189, 0.18)",
"full": false,
"lineColor": "rgb(31, 120, 193)",
"show": false
"show": true
},
"tableColumn": "",
"targets": [
Expand All @@ -3544,7 +3549,7 @@
"value": "null"
}
],
"valueName": "avg"
"valueName": "current"
},
{
"cacheTimeout": null,
Expand Down Expand Up @@ -3602,7 +3607,7 @@
"fillColor": "rgba(31, 118, 189, 0.18)",
"full": false,
"lineColor": "rgb(31, 120, 193)",
"show": false
"show": true
},
"tableColumn": "",
"targets": [
Expand All @@ -3629,7 +3634,7 @@
"value": "null"
}
],
"valueName": "avg"
"valueName": "current"
},
{
"cacheTimeout": null,
Expand Down Expand Up @@ -3687,7 +3692,7 @@
"fillColor": "rgba(31, 118, 189, 0.18)",
"full": false,
"lineColor": "rgb(31, 120, 193)",
"show": false
"show": true
},
"tableColumn": "",
"targets": [
Expand All @@ -3714,7 +3719,7 @@
"value": "null"
}
],
"valueName": "avg"
"valueName": "current"
}
],
"refresh": "5m",
Expand Down Expand Up @@ -3749,7 +3754,7 @@
"allValue": "*",
"current": {},
"datasource": "${DS_APPTUIT}",
"hide": 0,
"hide": 2,
"includeAll": true,
"label": "host",
"multi": false,
Expand Down Expand Up @@ -3815,5 +3820,6 @@
},
"timezone": "",
"title": "Elasticsearch Cluster Stats",
"version": 3
}
"uid": "SMuvXLbmk",
"version": 1
}
10 changes: 6 additions & 4 deletions Elasticsearch Index Stats.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
"gnetId": null,
"graphTooltip": 0,
"id": null,
"iteration": 1531828272536,
"iteration": 1540399183891,
"links": [
{
"asDropdown": false,
Expand Down Expand Up @@ -111,6 +111,7 @@
"refId": "A",
"ts": {
"errors": [],
"genMap": [],
"id": "A",
"output": true,
"query": "A=fetch('elasticsearch.indices.byindex.primaries.indexing.index_total', rate='counter')$global_tag_filter.tag_filter('cluster==$cluster').tag_filter('index==$index').downsample('[[__interval]]','avg');\nB=fetch('elasticsearch.indices.byindex.total.indexing.index_total', rate='counter')$global_tag_filter.tag_filter('cluster==$cluster').tag_filter('index==$index').downsample('[[__interval]]','avg');\noutput(A,B)"
Expand Down Expand Up @@ -1926,7 +1927,7 @@
"options": [],
"query": "tag_values(elasticsearch.indices.byindex.primaries.query_cache.total_count,index,cluster=$cluster)",
"refresh": 1,
"regex": "/^filebeat-2018.*/",
"regex": "",
"sort": 2,
"tagValuesQuery": "",
"tags": [],
Expand All @@ -1938,7 +1939,7 @@
"allValue": "*",
"current": {},
"datasource": "${DS_APPTUIT}",
"hide": 0,
"hide": 2,
"includeAll": true,
"label": "host",
"multi": false,
Expand Down Expand Up @@ -2004,5 +2005,6 @@
},
"timezone": "",
"title": "Elasticsearch Index Stats",
"version": 86
"uid": "tKdOuLbmk",
"version": 1
}
Loading

0 comments on commit e9e367b

Please sign in to comment.