]> git.proxmox.com Git - ceph.git/blame - ceph/monitoring/ceph-mixin/tests_dashboards/features/osd-device-details.feature
import ceph quincy 17.2.4
[ceph.git] / ceph / monitoring / ceph-mixin / tests_dashboards / features / osd-device-details.feature
CommitLineData
20effc67
TL
1Feature: OSD device details
2
3Scenario: "Test Physical Device Latency for $osd - Reads"
4 Given the following series:
5 | metrics | values |
6 | node_disk_reads_completed_total{device="sda",instance="localhost"} | 10 60 |
7 | node_disk_reads_completed_total{device="sdb",instance="localhost"} | 10 60 |
8 | node_disk_read_time_seconds_total{device="sda",instance="localhost"} | 100 600 |
9 | node_disk_read_time_seconds_total{device="sdb",instance="localhost"} | 100 600 |
2a845540
TL
10 | ceph_disk_occupation_human{job="ceph",ceph_daemon="osd.0",device="/dev/sda",instance="localhost:9283"} | 1.0 |
11 | ceph_disk_occupation_human{job="ceph",ceph_daemon="osd.1",device="/dev/sdb",instance="localhost:9283"} | 1.0 |
20effc67
TL
12 When variable `osd` is `osd.0`
13 Then Grafana panel `Physical Device Latency for $osd` with legend `{{instance}}/{{device}} Reads` shows:
14 | metrics | values |
15 | {device="sda",instance="localhost"} | 10 |
16
17Scenario: "Test Physical Device Latency for $osd - Writes"
18 Given the following series:
19 | metrics | values |
20 | node_disk_writes_completed_total{device="sda",instance="localhost"} | 10 60 |
21 | node_disk_writes_completed_total{device="sdb",instance="localhost"} | 10 60 |
22 | node_disk_write_time_seconds_total{device="sda",instance="localhost"} | 100 600 |
23 | node_disk_write_time_seconds_total{device="sdb",instance="localhost"} | 100 600 |
2a845540
TL
24 | ceph_disk_occupation_human{job="ceph",ceph_daemon="osd.0",device="/dev/sda",instance="localhost:9283"} | 1.0 |
25 | ceph_disk_occupation_human{job="ceph",ceph_daemon="osd.1",device="/dev/sdb",instance="localhost:9283"} | 1.0 |
20effc67
TL
26 When variable `osd` is `osd.0`
27 Then Grafana panel `Physical Device Latency for $osd` with legend `{{instance}}/{{device}} Writes` shows:
28 | metrics | values |
29 | {device="sda",instance="localhost"} | 10 |
30
31Scenario: "Test Physical Device R/W IOPS for $osd - Writes"
32 Given the following series:
33 | metrics | values |
34 | node_disk_writes_completed_total{device="sda",instance="localhost"} | 10 100 |
35 | node_disk_writes_completed_total{device="sdb",instance="localhost"} | 10 100 |
2a845540
TL
36 | ceph_disk_occupation_human{job="ceph",ceph_daemon="osd.0",device="/dev/sda",instance="localhost:9283"} | 1.0 |
37 | ceph_disk_occupation_human{job="ceph",ceph_daemon="osd.1",device="/dev/sdb",instance="localhost:9283"} | 1.0 |
20effc67
TL
38 When variable `osd` is `osd.0`
39 Then Grafana panel `Physical Device R/W IOPS for $osd` with legend `{{device}} on {{instance}} Writes` shows:
40 | metrics | values |
41 | {device="sda",instance="localhost"} | 1.5 |
42
43Scenario: "Test Physical Device R/W IOPS for $osd - Reads"
44 Given the following series:
45 | metrics | values |
46 | node_disk_reads_completed_total{device="sda",instance="localhost"} | 10 100 |
47 | node_disk_reads_completed_total{device="sdb",instance="localhost"} | 10 100 |
2a845540
TL
48 | ceph_disk_occupation_human{job="ceph",ceph_daemon="osd.0",device="/dev/sda",instance="localhost:9283"} | 1.0 |
49 | ceph_disk_occupation_human{job="ceph",ceph_daemon="osd.1",device="/dev/sdb",instance="localhost:9283"} | 1.0 |
20effc67
TL
50 When variable `osd` is `osd.0`
51 Then Grafana panel `Physical Device R/W IOPS for $osd` with legend `{{device}} on {{instance}} Reads` shows:
52 | metrics | values |
53 | {device="sda",instance="localhost"} | 1.5 |
54
55Scenario: "Test Physical Device R/W Bytes for $osd - Reads"
56 Given the following series:
57 | metrics | values |
58 | node_disk_reads_completed_total{device="sda",instance="localhost"} | 10 100 |
59 | node_disk_reads_completed_total{device="sdb",instance="localhost"} | 10 100 |
2a845540
TL
60 | ceph_disk_occupation_human{job="ceph",ceph_daemon="osd.0",device="/dev/sda",instance="localhost:9283"} | 1.0 |
61 | ceph_disk_occupation_human{job="ceph",ceph_daemon="osd.1",device="/dev/sdb",instance="localhost:9283"} | 1.0 |
20effc67
TL
62 When variable `osd` is `osd.0`
63 Then Grafana panel `Physical Device R/W IOPS for $osd` with legend `{{device}} on {{instance}} Reads` shows:
64 | metrics | values |
65 | {device="sda",instance="localhost"} | 1.5 |
66
67Scenario: "Test Physical Device R/W Bytes for $osd - Writes"
68 Given the following series:
69 | metrics | values |
70 | node_disk_writes_completed_total{device="sda",instance="localhost"} | 10 100 |
71 | node_disk_writes_completed_total{device="sdb",instance="localhost"} | 10 100 |
2a845540
TL
72 | ceph_disk_occupation_human{job="ceph",ceph_daemon="osd.0",device="/dev/sda",instance="localhost:9283"} | 1.0 |
73 | ceph_disk_occupation_human{job="ceph",ceph_daemon="osd.1",device="/dev/sdb",instance="localhost:9283"} | 1.0 |
20effc67
TL
74 When variable `osd` is `osd.0`
75 Then Grafana panel `Physical Device R/W IOPS for $osd` with legend `{{device}} on {{instance}} Writes` shows:
76 | metrics | values |
77 | {device="sda",instance="localhost"} | 1.5 |
78
79Scenario: "Test Physical Device Util% for $osd"
80 Given the following series:
81 | metrics | values |
82 | node_disk_io_time_seconds_total{device="sda",instance="localhost:9100"} | 10 100 |
2a845540
TL
83 | ceph_disk_occupation_human{job="ceph",ceph_daemon="osd.0",device="/dev/sda",instance="localhost:9283"} | 1.0 |
84 | ceph_disk_occupation_human{job="ceph",ceph_daemon="osd.1",device="/dev/sdb",instance="localhost:9283"} | 1.0 |
20effc67
TL
85 When variable `osd` is `osd.0`
86 Then Grafana panel `Physical Device Util% for $osd` with legend `{{device}} on {{instance}}` shows:
87 | metrics | values |
88 | {device="sda",instance="localhost"} | 1.5 |