]> git.proxmox.com Git - ceph.git/blame - ceph/monitoring/ceph-mixin/tests_dashboards/features/radosgw-detail.feature
import ceph quincy 17.2.4
[ceph.git] / ceph / monitoring / ceph-mixin / tests_dashboards / features / radosgw-detail.feature
CommitLineData
20effc67
TL
1Feature: RGW Host Detail Dashboard
2
3Scenario: "Test $rgw_servers GET/PUT Latencies - GET"
4 Given the following series:
5 | metrics | values |
6 | ceph_rgw_get_initial_lat_sum{instance="127.0.0.1", instance_id="58892247", job="ceph"} | 10 50 100 |
7 | ceph_rgw_get_initial_lat_count{instance="127.0.0.1", instance_id="58892247", job="ceph"} | 20 60 80 |
8 | ceph_rgw_metadata{ceph_daemon="rgw.foo", hostname="localhost", instance="127.0.0.1", instance_id="58892247", job="ceph"} | 1 1 1 |
9 When interval is `30s`
10 And variable `rgw_servers` is `rgw.foo`
11 Then Grafana panel `$rgw_servers GET/PUT Latencies` with legend `GET {{ceph_daemon}}` shows:
12 | metrics | values |
2a845540 13 | {ceph_daemon="rgw.foo", instance_id="58892247"} | 1.5 |
20effc67
TL
14
15Scenario: "Test $rgw_servers GET/PUT Latencies - PUT"
16 Given the following series:
17 | metrics | values |
18 | ceph_rgw_put_initial_lat_sum{instance="127.0.0.1", instance_id="58892247", job="ceph"} | 15 35 55 |
19 | ceph_rgw_put_initial_lat_count{instance="127.0.0.1", instance_id="58892247", job="ceph"} | 10 30 50 |
20 | ceph_rgw_metadata{ceph_daemon="rgw.foo", hostname="localhost", instance="127.0.0.1", instance_id="58892247", job="ceph"} | 1 1 1 |
21 When interval is `30s`
22 And variable `rgw_servers` is `rgw.foo`
23 Then Grafana panel `$rgw_servers GET/PUT Latencies` with legend `PUT {{ceph_daemon}}` shows:
24 | metrics | values |
25 | {ceph_daemon="rgw.foo", instance_id="58892247"} | 1 |
26
27Scenario: "Test Bandwidth by HTTP Operation - GET"
28 Given the following series:
29 | metrics | values |
30 | ceph_rgw_get_b{instance="127.0.0.1", instance_id="92806566", job="ceph"} | 10 50 100 |
31 | ceph_rgw_metadata{ceph_daemon="rgw.1", hostname="localhost", instance="127.0.0.1", instance_id="92806566", job="ceph"} | 1 1 1 |
32 When interval is `30s`
33 And variable `rgw_servers` is `rgw.1`
34 Then Grafana panel `Bandwidth by HTTP Operation` with legend `GETs {{ceph_daemon}}` shows:
35 | metrics | values |
2a845540 36 | {ceph_daemon="rgw.1", instance="127.0.0.1", instance_id="92806566", job="ceph"} | 1.5 |
20effc67
TL
37
38Scenario: "Test Bandwidth by HTTP Operation - PUT"
39 Given the following series:
40 | metrics | values |
41 | ceph_rgw_put_b{instance="127.0.0.1", instance_id="92806566", job="ceph"} | 5 20 50 |
42 | ceph_rgw_metadata{ceph_daemon="rgw.1", hostname="localhost", instance="127.0.0.1", instance_id="92806566", job="ceph"} | 1 1 1 |
43 When interval is `30s`
44 And variable `rgw_servers` is `rgw.1`
45 Then Grafana panel `Bandwidth by HTTP Operation` with legend `PUTs {{ceph_daemon}}` shows:
46 | metrics | values |
2a845540 47 | {ceph_daemon="rgw.1", instance="127.0.0.1", instance_id="92806566", job="ceph"} | 7.5E-01 |
20effc67
TL
48
49Scenario: "Test HTTP Request Breakdown - Requests Failed"
50 Given the following series:
51 | metrics | values |
52 | ceph_rgw_failed_req{instance="127.0.0.1", instance_id="58892247", job="ceph"} | 1 5 7 |
53 | ceph_rgw_metadata{ceph_daemon="rgw.foo", hostname="localhost", instance="127.0.0.1", instance_id="58892247", job="ceph"} | 1 1 1 |
54 When interval is `30s`
55 And variable `rgw_servers` is `rgw.foo`
56 Then Grafana panel `HTTP Request Breakdown` with legend `Requests Failed {{ceph_daemon}}` shows:
57 | metrics | values |
2a845540 58 | {ceph_daemon="rgw.foo", instance="127.0.0.1", instance_id="58892247", job="ceph"} | 1E-01 |
20effc67
TL
59
60Scenario: "Test HTTP Request Breakdown - GET"
61 Given the following series:
62 | metrics | values |
63 | ceph_rgw_get{instance="127.0.0.1", instance_id="58892247", job="ceph"} | 100 150 170 |
64 | ceph_rgw_metadata{ceph_daemon="rgw.foo", hostname="localhost", instance="127.0.0.1", instance_id="58892247", job="ceph"} | 1 1 1 |
65 When interval is `30s`
66 And variable `rgw_servers` is `rgw.foo`
67 Then Grafana panel `HTTP Request Breakdown` with legend `GETs {{ceph_daemon}}` shows:
68 | metrics | values |
2a845540 69 | {ceph_daemon="rgw.foo", instance="127.0.0.1", instance_id="58892247", job="ceph"} | 1.1666666666666667 |
20effc67
TL
70
71Scenario: "Test HTTP Request Breakdown - PUT"
72 Given the following series:
73 | metrics | values |
74 | ceph_rgw_put{instance="127.0.0.1", instance_id="58892247", job="ceph"} | 70 90 160 |
75 | ceph_rgw_metadata{ceph_daemon="rgw.foo", hostname="localhost", instance="127.0.0.1", instance_id="58892247", job="ceph"} | 1 1 1 |
76 When interval is `30s`
77 And variable `rgw_servers` is `rgw.foo`
78 Then Grafana panel `HTTP Request Breakdown` with legend `PUTs {{ceph_daemon}}` shows:
79 | metrics | values |
2a845540 80 | {ceph_daemon="rgw.foo", instance="127.0.0.1", instance_id="58892247", job="ceph"} | 1.5 |
20effc67
TL
81
82Scenario: "Test HTTP Request Breakdown - Other"
83 Given the following series:
84 | metrics | values |
85 | ceph_rgw_req{instance="127.0.0.1", instance_id="58892247", job="ceph"} | 175 250 345 |
86 | ceph_rgw_get{instance="127.0.0.1", instance_id="58892247", job="ceph"} | 100 150 170 |
87 | ceph_rgw_put{instance="127.0.0.1", instance_id="58892247", job="ceph"} | 70 90 160 |
88 | ceph_rgw_metadata{ceph_daemon="rgw.foo", hostname="localhost", instance="127.0.0.1", instance_id="58892247", job="ceph"} | 1 1 1 |
89 When interval is `30s`
90 And variable `rgw_servers` is `rgw.foo`
91 Then Grafana panel `HTTP Request Breakdown` with legend `Other {{ceph_daemon}}` shows:
92 | metrics | values |
93 | {ceph_daemon="rgw.foo", instance="127.0.0.1", instance_id="58892247", job="ceph"} | .16666666666666652 |
94
95Scenario: "Test Workload Breakdown - Failures"
96 Given the following series:
97 | metrics | values |
98 | ceph_rgw_failed_req{instance="127.0.0.1", instance_id="58892247", job="ceph"} | 1 5 7 |
99 | ceph_rgw_metadata{ceph_daemon="rgw.foo", hostname="localhost", instance="127.0.0.1", instance_id="58892247", job="ceph"} | 1 1 1 |
100 When interval is `30s`
101 And variable `rgw_servers` is `rgw.foo`
102 Then Grafana panel `Workload Breakdown` with legend `Failures {{ceph_daemon}}` shows:
103 | metrics | values |
2a845540 104 | {ceph_daemon="rgw.foo", instance="127.0.0.1", instance_id="58892247", job="ceph"} | 1E-01 |
20effc67
TL
105
106Scenario: "Test Workload Breakdown - GETs"
107 Given the following series:
108 | metrics | values |
109 | ceph_rgw_get{instance="127.0.0.1", instance_id="58892247", job="ceph"} | 100 150 170 |
110 | ceph_rgw_metadata{ceph_daemon="rgw.foo", hostname="localhost", instance="127.0.0.1", instance_id="58892247", job="ceph"} | 1 1 1 |
111 When interval is `30s`
112 And variable `rgw_servers` is `rgw.foo`
113 Then Grafana panel `Workload Breakdown` with legend `GETs {{ceph_daemon}}` shows:
114 | metrics | values |
2a845540 115 | {ceph_daemon="rgw.foo", instance="127.0.0.1", instance_id="58892247", job="ceph"} | 1.1666666666666667 |
20effc67
TL
116
117Scenario: "Test Workload Breakdown - PUTs"
118 Given the following series:
119 | metrics | values |
120 | ceph_rgw_put{instance="127.0.0.1", instance_id="58892247", job="ceph"} | 70 90 160 |
121 | ceph_rgw_metadata{ceph_daemon="rgw.foo", hostname="localhost", instance="127.0.0.1", instance_id="58892247", job="ceph"} | 1 1 1 |
122 When interval is `30s`
123 And variable `rgw_servers` is `rgw.foo`
124 Then Grafana panel `Workload Breakdown` with legend `PUTs {{ceph_daemon}}` shows:
125 | metrics | values |
2a845540 126 | {ceph_daemon="rgw.foo", instance="127.0.0.1", instance_id="58892247", job="ceph"} | 1.5 |
20effc67
TL
127
128Scenario: "Test Workload Breakdown - Other"
129 Given the following series:
130 | metrics | values |
131 | ceph_rgw_req{instance="127.0.0.1", instance_id="58892247", job="ceph"} | 175 250 345 |
132 | ceph_rgw_get{instance="127.0.0.1", instance_id="58892247", job="ceph"} | 100 150 170 |
133 | ceph_rgw_put{instance="127.0.0.1", instance_id="58892247", job="ceph"} | 70 90 160 |
134 | ceph_rgw_metadata{ceph_daemon="rgw.foo", hostname="localhost", instance="127.0.0.1", instance_id="58892247", job="ceph"} | 1 1 1 |
135 When interval is `30s`
136 And variable `rgw_servers` is `rgw.foo`
137 Then Grafana panel `Workload Breakdown` with legend `Other (DELETE,LIST) {{ceph_daemon}}` shows:
138 | metrics | values |
139 | {ceph_daemon="rgw.foo", instance="127.0.0.1", instance_id="58892247", job="ceph"} | .16666666666666652 |