summaryrefslogtreecommitdiffstats
path: root/monitoring/ceph-mixin/tests_dashboards/features/self.feature
diff options
context:
space:
mode:
Diffstat (limited to 'monitoring/ceph-mixin/tests_dashboards/features/self.feature')
-rw-r--r--monitoring/ceph-mixin/tests_dashboards/features/self.feature8
1 files changed, 4 insertions, 4 deletions
diff --git a/monitoring/ceph-mixin/tests_dashboards/features/self.feature b/monitoring/ceph-mixin/tests_dashboards/features/self.feature
index 2b44ce0dcec..c45abf65f3b 100644
--- a/monitoring/ceph-mixin/tests_dashboards/features/self.feature
+++ b/monitoring/ceph-mixin/tests_dashboards/features/self.feature
@@ -9,7 +9,7 @@ Scenario: "Simple query works"
| node_network_transmit_bytes{instance="127.0.0.1", device="eth2"} | 10 100 |
| node_network_transmit_bytes{instance="192.168.100.2", device="bond0"} | 20 200 |
| node_network_transmit_bytes{instance="192.168.100.1", device="bond0"} | 20 200 |
- | bonding_slaves{instance="127.0.0.1", master="bond0"} | 2 |
+ | node_bonding_slaves{instance="127.0.0.1", master="bond0"} | 2 |
Then query `node_network_transmit_bytes{instance="127.0.0.1"} > 0` produces:
| metrics | values |
| node_network_transmit_bytes{instance="127.0.0.1", device="eth1"} | 100 |
@@ -24,7 +24,7 @@ Scenario: "Query with evaluation time"
| node_network_transmit_bytes{instance="127.0.0.1", device="eth2"} | 10 100 |
| node_network_transmit_bytes{instance="192.168.100.2", device="bond0"} | 20 200 |
| node_network_transmit_bytes{instance="192.168.100.1", device="bond0"} | 20 200 |
- | bonding_slaves{instance="127.0.0.1", master="bond0"} | 2 |
+ | node_bonding_slaves{instance="127.0.0.1", master="bond0"} | 2 |
When evaluation time is `0m`
Then query `node_network_transmit_bytes{instance="127.0.0.1"} > 0` produces:
| metrics | values |
@@ -40,7 +40,7 @@ Scenario: "Query with evaluation time and variable value"
| node_network_transmit_bytes{instance="127.0.0.1", device="eth2"} | 10 100 |
| node_network_transmit_bytes{instance="192.168.100.2", device="bond0"} | 20 200 |
| node_network_transmit_bytes{instance="192.168.100.1", device="bond0"} | 20 200 |
- | bonding_slaves{instance="127.0.0.1", master="bond0"} | 2 |
+ | node_bonding_slaves{instance="127.0.0.1", master="bond0"} | 2 |
When evaluation time is `0m`
And variable `osd_hosts` is `127.0.0.1`
Then query `node_network_transmit_bytes{instance="$osd_hosts"} > 0` produces:
@@ -57,7 +57,7 @@ Scenario: "Query with interval time"
| node_network_transmit_bytes{instance="127.0.0.1", device="eth2"} | 10 100 200 |
| node_network_transmit_bytes{instance="192.168.100.2", device="bond0"} | 20 200 300 |
| node_network_transmit_bytes{instance="192.168.100.1", device="bond0"} | 20 200 300 |
- | bonding_slaves{instance="127.0.0.1", master="bond0"} | 2 |
+ | node_bonding_slaves{instance="127.0.0.1", master="bond0"} | 2 |
When evaluation time is `2h`
And evaluation interval is `1h`
And interval is `1h`