[Stack Monitoring] Re-order items in segment count legend (#43752) (#43975)

* Switch the order of primaries and total in legend

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

This reverts commit 895960af10.

* Reorder legend items

* Functional test fixes
This commit is contained in:
Mike Place 2019-08-26 16:17:29 +00:00 committed by GitHub
parent ba857a0dff
commit 59be31e7f3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 98 additions and 98 deletions

View file

@ -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'
}
]

View file

@ -893,103 +893,6 @@
}
],
"index_segment_count": [
{
"bucket_size": "10 seconds",
"timeRange": {
"min": 1507235508000,
"max": 1507235712000
},
"metric": {
"app": "elasticsearch",
"field": "index_stats.primaries.segments.count",
"metricAgg": "max",
"label": "Primaries",
"title": "Segment Count",
"description": "Number of segments for primary shards.",
"units": "",
"format": "0,0.[00]",
"hasCalculation": false,
"isDerivative": false
},
"data": [
[
1507235520000,
30
],
[
1507235530000,
30
],
[
1507235540000,
30
],
[
1507235550000,
30
],
[
1507235560000,
30
],
[
1507235570000,
30
],
[
1507235580000,
30
],
[
1507235590000,
30
],
[
1507235600000,
30
],
[
1507235610000,
30
],
[
1507235620000,
30
],
[
1507235630000,
30
],
[
1507235640000,
30
],
[
1507235650000,
30
],
[
1507235660000,
30
],
[
1507235670000,
30
],
[
1507235680000,
30
],
[
1507235690000,
30
],
[
1507235700000,
30
]
]
},
{
"bucket_size": "10 seconds",
"timeRange": {
@ -1086,6 +989,103 @@
60
]
]
},
{
"bucket_size": "10 seconds",
"timeRange": {
"min": 1507235508000,
"max": 1507235712000
},
"metric": {
"app": "elasticsearch",
"field": "index_stats.primaries.segments.count",
"metricAgg": "max",
"label": "Primaries",
"title": "Segment Count",
"description": "Number of segments for primary shards.",
"units": "",
"format": "0,0.[00]",
"hasCalculation": false,
"isDerivative": false
},
"data": [
[
1507235520000,
30
],
[
1507235530000,
30
],
[
1507235540000,
30
],
[
1507235550000,
30
],
[
1507235560000,
30
],
[
1507235570000,
30
],
[
1507235580000,
30
],
[
1507235590000,
30
],
[
1507235600000,
30
],
[
1507235610000,
30
],
[
1507235620000,
30
],
[
1507235630000,
30
],
[
1507235640000,
30
],
[
1507235650000,
30
],
[
1507235660000,
30
],
[
1507235670000,
30
],
[
1507235680000,
30
],
[
1507235690000,
30
],
[
1507235700000,
30
]
]
}
]
},