Skip to content

Commit

Permalink
Add latency to index and node Elasticsearch stats
Browse files Browse the repository at this point in the history
Closes #22503
  • Loading branch information
ruflin committed Oct 18, 2018
1 parent 9a3414c commit 89efc5f
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@
<div class="col-md-6"><monitoring-chart series="pageData.metrics.index_throttling"/></div>
<div class="col-md-6"><monitoring-chart series="pageData.metrics.index_disk"/></div>
<div class="col-md-6"><monitoring-chart series="pageData.metrics.index_segment_count"/></div>
<div class="col-md-6"><monitoring-chart series="pageData.metrics.index_latency"/></div>
<div class="col-md-6"><monitoring-chart series="pageData.metrics.query_latency"/></div>
</div>
</div>
</monitoring-main>
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@
<div class="col-md-6"><monitoring-chart series="pageData.metrics.node_read_threads"/></div>
<div class="col-md-6"><monitoring-chart series="pageData.metrics.node_cgroup_cpu"/></div>
<div class="col-md-6"><monitoring-chart series="pageData.metrics.node_cgroup_stats"/></div>
<div class="col-md-6"><monitoring-chart series="pageData.metrics.node_index_latency"/></div>
<div class="col-md-6"><monitoring-chart series="pageData.metrics.node_query_latency"/></div>
</div>
</div>
</monitoring-main>
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,14 @@ export const metricSet = {
{
keys: ['index_segment_count_total', 'index_segment_count_primaries'],
name: 'index_segment_count'
},
{
keys: ['index_latency'],
name: 'index_latency'
},
{
keys: ['query_latency'],
name: 'query_latency'
}
],
overview: [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,14 @@ export const metricSets = {
{
keys: ['node_cgroup_periods', 'node_cgroup_throttled_count'],
name: 'node_cgroup_stats'
},
{
keys: ['node_index_latency'],
name: 'node_index_latency'
},
{
keys: ['node_query_latency'],
name: 'node_query_latency'
}
],
overview: [
Expand Down

0 comments on commit 89efc5f

Please sign in to comment.