|
@@ -90,7 +90,7 @@ setup:
|
|
|
"Downsample index":
|
|
|
- skip:
|
|
|
version: " - 8.4.99"
|
|
|
- reason: "rollup renamed to downsample in 8.5.0"
|
|
|
+ reason: "Downsampling GA-ed in 8.7.0"
|
|
|
|
|
|
- do:
|
|
|
indices.downsample:
|
|
@@ -110,23 +110,23 @@ setup:
|
|
|
|
|
|
- length: { hits.hits: 4 }
|
|
|
- match: { hits.hits.0._source._doc_count: 2 }
|
|
|
- - match: { hits.hits.0._source.k8s\.pod\.uid: 947e4ced-1786-4e53-9e0c-5c447e959507 }
|
|
|
+ - match: { hits.hits.0._source.k8s.pod.uid: 947e4ced-1786-4e53-9e0c-5c447e959507 }
|
|
|
- match: { hits.hits.0._source.metricset: pod }
|
|
|
- match: { hits.hits.0._source.@timestamp: 2021-04-28T18:00:00.000Z }
|
|
|
- - match: { hits.hits.0._source.k8s\.pod\.multi-counter: 21 }
|
|
|
- - match: { hits.hits.0._source.k8s\.pod\.multi-gauge.min: 90 }
|
|
|
- - match: { hits.hits.0._source.k8s\.pod\.multi-gauge.max: 200 }
|
|
|
- - match: { hits.hits.0._source.k8s\.pod\.multi-gauge.sum: 726 }
|
|
|
- - match: { hits.hits.0._source.k8s\.pod\.multi-gauge.value_count: 6 }
|
|
|
- - match: { hits.hits.0._source.k8s\.pod\.network\.tx.min: 2001818691 }
|
|
|
- - match: { hits.hits.0._source.k8s\.pod\.network\.tx.max: 2005177954 }
|
|
|
- - match: { hits.hits.0._source.k8s\.pod\.network\.tx.value_count: 2 }
|
|
|
- - match: { hits.hits.0._source.k8s\.pod\.ip: "10.10.55.26" }
|
|
|
- - match: { hits.hits.0._source.k8s\.pod\.created_at: "2021-04-28T19:35:00.000Z" }
|
|
|
- - match: { hits.hits.0._source.k8s\.pod\.number_of_containers: 2 }
|
|
|
- - match: { hits.hits.0._source.k8s\.pod\.tags: ["backend", "prod", "us-west1"] }
|
|
|
- - match: { hits.hits.0._source.k8s\.pod\.values: [1, 1, 3] }
|
|
|
- - is_true: hits.hits.0._source.k8s\.pod\.running
|
|
|
+ - match: { hits.hits.0._source.k8s.pod.multi-counter: 21 }
|
|
|
+ - match: { hits.hits.0._source.k8s.pod.multi-gauge.min: 90 }
|
|
|
+ - match: { hits.hits.0._source.k8s.pod.multi-gauge.max: 200 }
|
|
|
+ - match: { hits.hits.0._source.k8s.pod.multi-gauge.sum: 726 }
|
|
|
+ - match: { hits.hits.0._source.k8s.pod.multi-gauge.value_count: 6 }
|
|
|
+ - match: { hits.hits.0._source.k8s.pod.network.tx.min: 2001818691 }
|
|
|
+ - match: { hits.hits.0._source.k8s.pod.network.tx.max: 2005177954 }
|
|
|
+ - match: { hits.hits.0._source.k8s.pod.network.tx.value_count: 2 }
|
|
|
+ - match: { hits.hits.0._source.k8s.pod.ip: "10.10.55.26" }
|
|
|
+ - match: { hits.hits.0._source.k8s.pod.created_at: "2021-04-28T19:35:00.000Z" }
|
|
|
+ - match: { hits.hits.0._source.k8s.pod.number_of_containers: 2 }
|
|
|
+ - match: { hits.hits.0._source.k8s.pod.tags: ["backend", "prod", "us-west1"] }
|
|
|
+ - match: { hits.hits.0._source.k8s.pod.values: [1, 1, 3] }
|
|
|
+ - is_true: hits.hits.0._source.k8s.pod.running
|
|
|
|
|
|
# Assert rollup index settings
|
|
|
- do:
|
|
@@ -345,8 +345,8 @@ setup:
|
|
|
---
|
|
|
"Downsample a downsampled index":
|
|
|
- skip:
|
|
|
- version: " - 8.4.99"
|
|
|
- reason: "Rollup of rollups introduced in 8.5.0"
|
|
|
+ version: " - 8.6.99"
|
|
|
+ reason: "Rollup GA-ed in 8.7.0"
|
|
|
|
|
|
- do:
|
|
|
indices.downsample:
|
|
@@ -398,29 +398,29 @@ setup:
|
|
|
|
|
|
- length: { hits.hits: 3 }
|
|
|
- match: { hits.hits.0._source._doc_count: 2 }
|
|
|
- - match: { hits.hits.0._source.k8s\.pod\.uid: 947e4ced-1786-4e53-9e0c-5c447e959507 }
|
|
|
+ - match: { hits.hits.0._source.k8s.pod.uid: 947e4ced-1786-4e53-9e0c-5c447e959507 }
|
|
|
- match: { hits.hits.0._source.metricset: pod }
|
|
|
- match: { hits.hits.0._source.@timestamp: 2021-04-28T18:00:00.000Z }
|
|
|
- - match: { hits.hits.0._source.k8s\.pod\.multi-counter: 21 }
|
|
|
- - match: { hits.hits.0._source.k8s\.pod\.multi-gauge.min: 90 }
|
|
|
- - match: { hits.hits.0._source.k8s\.pod\.multi-gauge.max: 200 }
|
|
|
- - match: { hits.hits.0._source.k8s\.pod\.multi-gauge.sum: 726 }
|
|
|
- - match: { hits.hits.0._source.k8s\.pod\.multi-gauge.value_count: 6 }
|
|
|
- - match: { hits.hits.0._source.k8s\.pod\.network\.tx.min: 2001818691 }
|
|
|
- - match: { hits.hits.0._source.k8s\.pod\.network\.tx.max: 2005177954 }
|
|
|
- - match: { hits.hits.0._source.k8s\.pod\.network\.tx.value_count: 2 }
|
|
|
- - match: { hits.hits.0._source.k8s\.pod\.ip: "10.10.55.26" }
|
|
|
- - match: { hits.hits.0._source.k8s\.pod\.created_at: "2021-04-28T19:35:00.000Z" }
|
|
|
- - match: { hits.hits.0._source.k8s\.pod\.number_of_containers: 2 }
|
|
|
- - match: { hits.hits.0._source.k8s\.pod\.tags: [ "backend", "prod", "us-west1" ] }
|
|
|
- - match: { hits.hits.0._source.k8s\.pod\.values: [ 1, 1, 3 ] }
|
|
|
-
|
|
|
- - match: { hits.hits.1._source.k8s\.pod\.uid: 947e4ced-1786-4e53-9e0c-5c447e959507 }
|
|
|
+ - match: { hits.hits.0._source.k8s.pod.multi-counter: 21 }
|
|
|
+ - match: { hits.hits.0._source.k8s.pod.multi-gauge.min: 90 }
|
|
|
+ - match: { hits.hits.0._source.k8s.pod.multi-gauge.max: 200 }
|
|
|
+ - match: { hits.hits.0._source.k8s.pod.multi-gauge.sum: 726 }
|
|
|
+ - match: { hits.hits.0._source.k8s.pod.multi-gauge.value_count: 6 }
|
|
|
+ - match: { hits.hits.0._source.k8s.pod.network.tx.min: 2001818691 }
|
|
|
+ - match: { hits.hits.0._source.k8s.pod.network.tx.max: 2005177954 }
|
|
|
+ - match: { hits.hits.0._source.k8s.pod.network.tx.value_count: 2 }
|
|
|
+ - match: { hits.hits.0._source.k8s.pod.ip: "10.10.55.26" }
|
|
|
+ - match: { hits.hits.0._source.k8s.pod.created_at: "2021-04-28T19:35:00.000Z" }
|
|
|
+ - match: { hits.hits.0._source.k8s.pod.number_of_containers: 2 }
|
|
|
+ - match: { hits.hits.0._source.k8s.pod.tags: [ "backend", "prod", "us-west1" ] }
|
|
|
+ - match: { hits.hits.0._source.k8s.pod.values: [ 1, 1, 3 ] }
|
|
|
+
|
|
|
+ - match: { hits.hits.1._source.k8s.pod.uid: 947e4ced-1786-4e53-9e0c-5c447e959507 }
|
|
|
- match: { hits.hits.1._source.metricset: pod }
|
|
|
- match: { hits.hits.1._source.@timestamp: 2021-04-28T20:00:00.000Z }
|
|
|
- match: { hits.hits.1._source._doc_count: 2 }
|
|
|
|
|
|
- - match: { hits.hits.2._source.k8s\.pod\.uid: df3145b3-0563-4d3b-a0f7-897eb2876ea9 }
|
|
|
+ - match: { hits.hits.2._source.k8s.pod.uid: df3145b3-0563-4d3b-a0f7-897eb2876ea9 }
|
|
|
- match: { hits.hits.2._source.metricset: pod }
|
|
|
- match: { hits.hits.2._source.@timestamp: 2021-04-28T18:00:00.000Z }
|
|
|
- match: { hits.hits.2._source._doc_count: 4 }
|