Skip to content

Commit

Permalink
[Stack Monitoring] Re-order items in segment count legend (#43752) (#…
Browse files Browse the repository at this point in the history
…43975)

* Switch the order of primaries and total in legend

* Revert "Switch the order of primaries and total in legend"

This reverts commit 895960a.

* Reorder legend items

* Functional test fixes
  • Loading branch information
cachedout authored Aug 26, 2019
1 parent ba857a0 commit 59be31e
Show file tree
Hide file tree
Showing 2 changed files with 45 additions and 45 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ export const metricSet = {
},
'index_document_count',
{
keys: ['index_segment_count_primaries', 'index_segment_count_total'],
keys: ['index_segment_count_total', 'index_segment_count_primaries'],
name: 'index_segment_count'
}
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -901,11 +901,11 @@
},
"metric": {
"app": "elasticsearch",
"field": "index_stats.primaries.segments.count",
"field": "index_stats.total.segments.count",
"metricAgg": "max",
"label": "Primaries",
"label": "Total",
"title": "Segment Count",
"description": "Number of segments for primary shards.",
"description": "Number of segments for primary and replica shards.",
"units": "",
"format": "0,0.[00]",
"hasCalculation": false,
Expand All @@ -914,79 +914,79 @@
"data": [
[
1507235520000,
30
60
],
[
1507235530000,
30
60
],
[
1507235540000,
30
60
],
[
1507235550000,
30
60
],
[
1507235560000,
30
60
],
[
1507235570000,
30
60
],
[
1507235580000,
30
60
],
[
1507235590000,
30
60
],
[
1507235600000,
30
60
],
[
1507235610000,
30
60
],
[
1507235620000,
30
60
],
[
1507235630000,
30
60
],
[
1507235640000,
30
60
],
[
1507235650000,
30
60
],
[
1507235660000,
30
60
],
[
1507235670000,
30
60
],
[
1507235680000,
30
60
],
[
1507235690000,
30
60
],
[
1507235700000,
30
60
]
]
},
Expand All @@ -998,11 +998,11 @@
},
"metric": {
"app": "elasticsearch",
"field": "index_stats.total.segments.count",
"field": "index_stats.primaries.segments.count",
"metricAgg": "max",
"label": "Total",
"label": "Primaries",
"title": "Segment Count",
"description": "Number of segments for primary and replica shards.",
"description": "Number of segments for primary shards.",
"units": "",
"format": "0,0.[00]",
"hasCalculation": false,
Expand All @@ -1011,79 +1011,79 @@
"data": [
[
1507235520000,
60
30
],
[
1507235530000,
60
30
],
[
1507235540000,
60
30
],
[
1507235550000,
60
30
],
[
1507235560000,
60
30
],
[
1507235570000,
60
30
],
[
1507235580000,
60
30
],
[
1507235590000,
60
30
],
[
1507235600000,
60
30
],
[
1507235610000,
60
30
],
[
1507235620000,
60
30
],
[
1507235630000,
60
30
],
[
1507235640000,
60
30
],
[
1507235650000,
60
30
],
[
1507235660000,
60
30
],
[
1507235670000,
60
30
],
[
1507235680000,
60
30
],
[
1507235690000,
60
30
],
[
1507235700000,
60
30
]
]
}
Expand Down

0 comments on commit 59be31e

Please sign in to comment.