diff options
Diffstat (limited to 'monitoring/ceph-mixin/tests_dashboards/features/osd-device-details.feature')
-rw-r--r-- | monitoring/ceph-mixin/tests_dashboards/features/osd-device-details.feature | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/monitoring/ceph-mixin/tests_dashboards/features/osd-device-details.feature b/monitoring/ceph-mixin/tests_dashboards/features/osd-device-details.feature index 0d6ca8b1715..f25167aaf66 100644 --- a/monitoring/ceph-mixin/tests_dashboards/features/osd-device-details.feature +++ b/monitoring/ceph-mixin/tests_dashboards/features/osd-device-details.feature @@ -7,8 +7,8 @@ Scenario: "Test Physical Device Latency for $osd - Reads" | node_disk_reads_completed_total{device="sdb",instance="localhost"} | 10 60 | | node_disk_read_time_seconds_total{device="sda",instance="localhost"} | 100 600 | | node_disk_read_time_seconds_total{device="sdb",instance="localhost"} | 100 600 | - | ceph_disk_occupation_human{job="ceph",ceph_daemon="osd.0",device="/dev/sda",instance="localhost:9283"} | 1.0 | - | ceph_disk_occupation_human{job="ceph",ceph_daemon="osd.1",device="/dev/sdb",instance="localhost:9283"} | 1.0 | + | ceph_disk_occupation_human{job="ceph",cluster="mycluster",ceph_daemon="osd.0",device="/dev/sda",instance="localhost:9283"} | 1.0 | + | ceph_disk_occupation_human{job="ceph",cluster="mycluster",ceph_daemon="osd.1",device="/dev/sdb",instance="localhost:9283"} | 1.0 | When variable `osd` is `osd.0` Then Grafana panel `Physical Device Latency for $osd` with legend `{{instance}}/{{device}} Reads` shows: | metrics | values | @@ -21,8 +21,8 @@ Scenario: "Test Physical Device Latency for $osd - Writes" | node_disk_writes_completed_total{device="sdb",instance="localhost"} | 10 60 | | node_disk_write_time_seconds_total{device="sda",instance="localhost"} | 100 600 | | node_disk_write_time_seconds_total{device="sdb",instance="localhost"} | 100 600 | - | ceph_disk_occupation_human{job="ceph",ceph_daemon="osd.0",device="/dev/sda",instance="localhost:9283"} | 1.0 | - | ceph_disk_occupation_human{job="ceph",ceph_daemon="osd.1",device="/dev/sdb",instance="localhost:9283"} | 1.0 | + | ceph_disk_occupation_human{job="ceph",cluster="mycluster",ceph_daemon="osd.0",device="/dev/sda",instance="localhost:9283"} | 1.0 | + | ceph_disk_occupation_human{job="ceph",cluster="mycluster",ceph_daemon="osd.1",device="/dev/sdb",instance="localhost:9283"} | 1.0 | When variable `osd` is `osd.0` Then Grafana panel `Physical Device Latency for $osd` with legend `{{instance}}/{{device}} Writes` shows: | metrics | values | @@ -33,8 +33,8 @@ Scenario: "Test Physical Device R/W IOPS for $osd - Writes" | metrics | values | | node_disk_writes_completed_total{device="sda",instance="localhost"} | 10 100 | | node_disk_writes_completed_total{device="sdb",instance="localhost"} | 10 100 | - | ceph_disk_occupation_human{job="ceph",ceph_daemon="osd.0",device="/dev/sda",instance="localhost:9283"} | 1.0 | - | ceph_disk_occupation_human{job="ceph",ceph_daemon="osd.1",device="/dev/sdb",instance="localhost:9283"} | 1.0 | + | ceph_disk_occupation_human{job="ceph",cluster="mycluster",ceph_daemon="osd.0",device="/dev/sda",instance="localhost:9283"} | 1.0 | + | ceph_disk_occupation_human{job="ceph",cluster="mycluster",ceph_daemon="osd.1",device="/dev/sdb",instance="localhost:9283"} | 1.0 | When variable `osd` is `osd.0` Then Grafana panel `Physical Device R/W IOPS for $osd` with legend `{{device}} on {{instance}} Writes` shows: | metrics | values | @@ -45,8 +45,8 @@ Scenario: "Test Physical Device R/W IOPS for $osd - Reads" | metrics | values | | node_disk_reads_completed_total{device="sda",instance="localhost"} | 10 100 | | node_disk_reads_completed_total{device="sdb",instance="localhost"} | 10 100 | - | ceph_disk_occupation_human{job="ceph",ceph_daemon="osd.0",device="/dev/sda",instance="localhost:9283"} | 1.0 | - | ceph_disk_occupation_human{job="ceph",ceph_daemon="osd.1",device="/dev/sdb",instance="localhost:9283"} | 1.0 | + | ceph_disk_occupation_human{job="ceph",cluster="mycluster",ceph_daemon="osd.0",device="/dev/sda",instance="localhost:9283"} | 1.0 | + | ceph_disk_occupation_human{job="ceph",cluster="mycluster",ceph_daemon="osd.1",device="/dev/sdb",instance="localhost:9283"} | 1.0 | When variable `osd` is `osd.0` Then Grafana panel `Physical Device R/W IOPS for $osd` with legend `{{device}} on {{instance}} Reads` shows: | metrics | values | @@ -57,8 +57,8 @@ Scenario: "Test Physical Device R/W Bytes for $osd - Reads" | metrics | values | | node_disk_reads_completed_total{device="sda",instance="localhost"} | 10 100 | | node_disk_reads_completed_total{device="sdb",instance="localhost"} | 10 100 | - | ceph_disk_occupation_human{job="ceph",ceph_daemon="osd.0",device="/dev/sda",instance="localhost:9283"} | 1.0 | - | ceph_disk_occupation_human{job="ceph",ceph_daemon="osd.1",device="/dev/sdb",instance="localhost:9283"} | 1.0 | + | ceph_disk_occupation_human{job="ceph",cluster="mycluster",ceph_daemon="osd.0",device="/dev/sda",instance="localhost:9283"} | 1.0 | + | ceph_disk_occupation_human{job="ceph",cluster="mycluster",ceph_daemon="osd.1",device="/dev/sdb",instance="localhost:9283"} | 1.0 | When variable `osd` is `osd.0` Then Grafana panel `Physical Device R/W IOPS for $osd` with legend `{{device}} on {{instance}} Reads` shows: | metrics | values | @@ -69,8 +69,8 @@ Scenario: "Test Physical Device R/W Bytes for $osd - Writes" | metrics | values | | node_disk_writes_completed_total{device="sda",instance="localhost"} | 10 100 | | node_disk_writes_completed_total{device="sdb",instance="localhost"} | 10 100 | - | ceph_disk_occupation_human{job="ceph",ceph_daemon="osd.0",device="/dev/sda",instance="localhost:9283"} | 1.0 | - | ceph_disk_occupation_human{job="ceph",ceph_daemon="osd.1",device="/dev/sdb",instance="localhost:9283"} | 1.0 | + | ceph_disk_occupation_human{job="ceph",cluster="mycluster",ceph_daemon="osd.0",device="/dev/sda",instance="localhost:9283"} | 1.0 | + | ceph_disk_occupation_human{job="ceph",cluster="mycluster",ceph_daemon="osd.1",device="/dev/sdb",instance="localhost:9283"} | 1.0 | When variable `osd` is `osd.0` Then Grafana panel `Physical Device R/W IOPS for $osd` with legend `{{device}} on {{instance}} Writes` shows: | metrics | values | @@ -80,8 +80,8 @@ Scenario: "Test Physical Device Util% for $osd" Given the following series: | metrics | values | | node_disk_io_time_seconds_total{device="sda",instance="localhost:9100"} | 10 100 | - | ceph_disk_occupation_human{job="ceph",ceph_daemon="osd.0",device="/dev/sda",instance="localhost:9283"} | 1.0 | - | ceph_disk_occupation_human{job="ceph",ceph_daemon="osd.1",device="/dev/sdb",instance="localhost:9283"} | 1.0 | + | ceph_disk_occupation_human{job="ceph",cluster="mycluster",ceph_daemon="osd.0",device="/dev/sda",instance="localhost:9283"} | 1.0 | + | ceph_disk_occupation_human{job="ceph",cluster="mycluster",ceph_daemon="osd.1",device="/dev/sdb",instance="localhost:9283"} | 1.0 | When variable `osd` is `osd.0` Then Grafana panel `Physical Device Util% for $osd` with legend `{{device}} on {{instance}}` shows: | metrics | values | |