Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
ruflin committed Oct 18, 2018
1 parent 89efc5f commit 55200ca
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
<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,8 +25,7 @@
<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 class="col-md-6"><monitoring-chart series="pageData.metrics.node_latency"/></div>
</div>
</div>
</monitoring-main>
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ export const metrics = {
'Average latency for indexing documents, which is time it takes to index documents divided by number that were indexed. This considers any shard located on this node, including replicas.', // eslint-disable-line max-len
type: 'node'
}),
index_latency: new LatencyMetric({
index_index_latency: new LatencyMetric({
metric: 'index',
fieldSource: 'index_stats.primaries',
field: 'index_stats.primaries.indexing.index_total',
Expand Down Expand Up @@ -98,7 +98,7 @@ export const metrics = {
'Average latency for searching, which is time it takes to execute searches divided by number of searches submitted. This considers primary and replica shards.', // eslint-disable-line max-len
type: 'node'
}),
query_latency: new LatencyMetric({
index_query_latency: new LatencyMetric({
metric: 'query',
fieldSource: 'index_stats.total',
field: 'index_stats.total.search.query_total',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,12 +77,8 @@ export const metricSet = {
name: 'index_segment_count'
},
{
keys: ['index_latency'],
keys: ['index_index_latency', 'index_query_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 @@ -90,12 +90,8 @@ export const metricSets = {
name: 'node_cgroup_stats'
},
{
keys: ['node_index_latency'],
name: 'node_index_latency'
},
{
keys: ['node_query_latency'],
name: 'node_query_latency'
keys: ['node_query_latency', 'node_index_latency'],
name: 'node_latency'
}
],
overview: [
Expand Down

0 comments on commit 55200ca

Please sign in to comment.