1 Feature: RGW Overview Dashboard
3 Scenario: "Test Average GET Latencies"
4 Given the following series:
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 |
10 Then Grafana panel `Average GET/PUT Latencies` with legend `GET AVG` shows:
12 | {ceph_daemon="rgw.foo",instance="127.0.0.1", instance_id="58892247", job="ceph"} | 2.5000000000000004 |
14 Scenario: "Test Average PUT Latencies"
15 Given the following series:
17 | ceph_rgw_put_initial_lat_sum{instance="127.0.0.1", instance_id="58892247", job="ceph"} | 15 35 55 |
18 | ceph_rgw_put_initial_lat_count{instance="127.0.0.1", instance_id="58892247", job="ceph"} | 10 30 50 |
19 | ceph_rgw_metadata{ceph_daemon="rgw.foo", hostname="localhost", instance="127.0.0.1", instance_id="58892247", job="ceph"} | 1 1 1 |
20 When interval is `30s`
21 Then Grafana panel `Average GET/PUT Latencies` with legend `PUT AVG` shows:
23 | {ceph_daemon="rgw.foo",instance="127.0.0.1", instance_id="58892247", job="ceph"} | 1 |
25 Scenario: "Test Total Requests/sec by RGW Instance"
26 Given the following series:
28 | ceph_rgw_req{instance="127.0.0.1", instance_id="92806566", job="ceph"} | 10 50 100 |
29 | ceph_rgw_metadata{ceph_daemon="rgw.1", hostname="localhost", instance="127.0.0.1", instance_id="92806566", job="ceph"} | 1 1 1 |
30 When interval is `30s`
31 Then Grafana panel `Total Requests/sec by RGW Instance` with legend `{{rgw_host}}` shows:
33 | {rgw_host="1"} | 1.6666666666666667 |
35 Scenario: "Test GET Latencies by RGW Instance"
36 Given the following series:
38 | ceph_rgw_get_initial_lat_sum{instance="127.0.0.1", instance_id="58892247", job="ceph"} | 10 50 100 |
39 | ceph_rgw_get_initial_lat_count{instance="127.0.0.1", instance_id="58892247", job="ceph"} | 20 60 80 |
40 | ceph_rgw_metadata{ceph_daemon="rgw.foo", hostname="localhost", instance="127.0.0.1", instance_id="58892247", job="ceph"} | 1 1 1 |
41 When interval is `30s`
42 Then Grafana panel `GET Latencies by RGW Instance` with legend `{{rgw_host}}` shows:
44 | {ceph_daemon="rgw.foo", instance="127.0.0.1", instance_id="58892247", job="ceph", rgw_host="foo"} | 2.5000000000000004 |
46 Scenario: "Test Bandwidth Consumed by Type- GET"
47 Given the following series:
49 | ceph_rgw_get_b{instance="127.0.0.1", instance_id="92806566", job="ceph"} | 10 50 100 |
50 When evaluation time is `1m`
52 Then Grafana panel `Bandwidth Consumed by Type` with legend `GETs` shows:
54 | {} | 1.6666666666666667 |
56 Scenario: "Test Bandwidth Consumed by Type- PUT"
57 Given the following series:
59 | ceph_rgw_put_b{instance="127.0.0.1", instance_id="92806566", job="ceph"} | 5 20 50 |
60 When evaluation time is `1m`
62 Then Grafana panel `Bandwidth Consumed by Type` with legend `PUTs` shows:
66 Scenario: "Test Bandwidth by RGW Instance"
67 Given the following series:
69 | ceph_rgw_get_b{instance="127.0.0.1", instance_id="92806566", job="ceph"} | 10 50 100 |
70 | ceph_rgw_put_b{instance="127.0.0.1", instance_id="92806566", job="ceph"} | 5 20 50 |
71 | ceph_rgw_metadata{ceph_daemon="rgw.1", hostname="localhost", instance="127.0.0.1", instance_id="92806566", job="ceph"} | 1 1 1 |
72 When evaluation time is `1m`
74 Then Grafana panel `Bandwidth by RGW Instance` with legend `{{rgw_host}}` shows:
76 | {ceph_daemon="rgw.1", instance_id="92806566", rgw_host="1"} | 2.666666666666667 |
78 Scenario: "Test PUT Latencies by RGW Instance"
79 Given the following series:
81 | ceph_rgw_put_initial_lat_sum{instance="127.0.0.1", instance_id="58892247", job="ceph"} | 15 35 55 |
82 | ceph_rgw_put_initial_lat_count{instance="127.0.0.1", instance_id="58892247", job="ceph"} | 10 30 50 |
83 | ceph_rgw_metadata{ceph_daemon="rgw.foo", hostname="localhost", instance="127.0.0.1", instance_id="58892247", job="ceph"} | 1 1 1 |
84 When evaluation time is `1m`
86 Then Grafana panel `PUT Latencies by RGW Instance` with legend `{{rgw_host}}` shows:
88 | {ceph_daemon="rgw.foo", instance="127.0.0.1", instance_id="58892247", job="ceph", rgw_host="foo"} | 1 |
90 Scenario: "Test Total backend responses by HTTP code"
91 Given the following series:
93 | haproxy_backend_http_responses_total{code="200",instance="ingress.rgw.1",proxy="backend"} | 10 100 |
94 | haproxy_backend_http_responses_total{code="404",instance="ingress.rgw.1",proxy="backend"} | 20 200 |
95 When variable `ingress_service` is `ingress.rgw.1`
96 When variable `code` is `200`
97 Then Grafana panel `Total responses by HTTP code` with legend `Backend {{ code }}` shows:
99 | {code="200"} | 1.5 |
101 Scenario: "Test Total frontend responses by HTTP code"
102 Given the following series:
104 | haproxy_frontend_http_responses_total{code="200",instance="ingress.rgw.1",proxy="frontend"} | 10 100 |
105 | haproxy_frontend_http_responses_total{code="404",instance="ingress.rgw.1",proxy="frontend"} | 20 200 |
106 When variable `ingress_service` is `ingress.rgw.1`
107 When variable `code` is `200`
108 Then Grafana panel `Total responses by HTTP code` with legend `Frontend {{ code }}` shows:
110 | {code="200"} | 1.5 |
112 Scenario: "Test Total http frontend requests by instance"
113 Given the following series:
115 | haproxy_frontend_http_requests_total{proxy="frontend",instance="ingress.rgw.1"} | 10 100 |
116 | haproxy_frontend_http_requests_total{proxy="frontend",instance="ingress.rgw.1"} | 20 200 |
117 When variable `ingress_service` is `ingress.rgw.1`
118 Then Grafana panel `Total requests / responses` with legend `Requests` shows:
120 | {instance="ingress.rgw.1"} | 3 |
122 Scenario: "Test Total backend response errors by instance"
123 Given the following series:
125 | haproxy_backend_response_errors_total{proxy="backend",instance="ingress.rgw.1"} | 10 100 |
126 | haproxy_backend_response_errors_total{proxy="backend",instance="ingress.rgw.1"} | 20 200 |
127 When variable `ingress_service` is `ingress.rgw.1`
128 Then Grafana panel `Total requests / responses` with legend `Response errors` shows:
130 | {instance="ingress.rgw.1"} | 3 |
132 Scenario: "Test Total frontend requests errors by instance"
133 Given the following series:
135 | haproxy_frontend_request_errors_total{proxy="frontend",instance="ingress.rgw.1"} | 10 100 |
136 | haproxy_frontend_request_errors_total{proxy="frontend",instance="ingress.rgw.1"} | 20 200 |
137 When variable `ingress_service` is `ingress.rgw.1`
138 Then Grafana panel `Total requests / responses` with legend `Requests errors` shows:
140 | {instance="ingress.rgw.1"} | 3 |
142 Scenario: "Test Total backend redispatch warnings by instance"
143 Given the following series:
145 | haproxy_backend_redispatch_warnings_total{proxy="backend",instance="ingress.rgw.1"} | 10 100 |
146 | haproxy_backend_redispatch_warnings_total{proxy="backend",instance="ingress.rgw.1"} | 20 200 |
147 When variable `ingress_service` is `ingress.rgw.1`
148 Then Grafana panel `Total requests / responses` with legend `Backend redispatch` shows:
150 | {instance="ingress.rgw.1"} | 3 |
152 Scenario: "Test Total backend retry warnings by instance"
153 Given the following series:
155 | haproxy_backend_retry_warnings_total{proxy="backend",instance="ingress.rgw.1"} | 10 100 |
156 | haproxy_backend_retry_warnings_total{proxy="backend",instance="ingress.rgw.1"} | 20 200 |
157 When variable `ingress_service` is `ingress.rgw.1`
158 Then Grafana panel `Total requests / responses` with legend `Backend retry` shows:
160 | {instance="ingress.rgw.1"} | 3 |
162 Scenario: "Test Total frontend requests denied by instance"
163 Given the following series:
165 | haproxy_frontend_requests_denied_total{proxy="frontend",instance="ingress.rgw.1"} | 10 100 |
166 | haproxy_frontend_requests_denied_total{proxy="frontend",instance="ingress.rgw.1"} | 20 200 |
167 When variable `ingress_service` is `ingress.rgw.1`
168 Then Grafana panel `Total requests / responses` with legend `Request denied` shows:
170 | {instance="ingress.rgw.1"} | 3 |
172 Scenario: "Test Total backend current queue by instance"
173 Given the following series:
175 | haproxy_backend_current_queue{proxy="backend",instance="ingress.rgw.1"} | 10 100 |
176 | haproxy_backend_current_queue{proxy="backend",instance="ingress.rgw.1"} | 20 200 |
177 When variable `ingress_service` is `ingress.rgw.1`
178 Then Grafana panel `Total requests / responses` with legend `Backend Queued` shows:
180 | {instance="ingress.rgw.1"} | 200 |
182 Scenario: "Test Total frontend connections by instance"
183 Given the following series:
185 | haproxy_frontend_connections_total{proxy="frontend",instance="ingress.rgw.1"} | 10 100 |
186 | haproxy_frontend_connections_total{proxy="frontend",instance="ingress.rgw.1"} | 20 200 |
187 When variable `ingress_service` is `ingress.rgw.1`
188 Then Grafana panel `Total number of connections` with legend `Front` shows:
190 | {instance="ingress.rgw.1"} | 3 |
192 Scenario: "Test Total backend connections attempts by instance"
193 Given the following series:
195 | haproxy_backend_connection_attempts_total{proxy="backend",instance="ingress.rgw.1"} | 10 100 |
196 | haproxy_backend_connection_attempts_total{proxy="backend",instance="ingress.rgw.1"} | 20 200 |
197 When variable `ingress_service` is `ingress.rgw.1`
198 Then Grafana panel `Total number of connections` with legend `Back` shows:
200 | {instance="ingress.rgw.1"} | 3 |
202 Scenario: "Test Total backend connections error by instance"
203 Given the following series:
205 | haproxy_backend_connection_errors_total{proxy="backend",instance="ingress.rgw.1"} | 10 100 |
206 | haproxy_backend_connection_errors_total{proxy="backend",instance="ingress.rgw.1"} | 20 200 |
207 When variable `ingress_service` is `ingress.rgw.1`
208 Then Grafana panel `Total number of connections` with legend `Back errors` shows:
210 | {instance="ingress.rgw.1"} | 3 |
212 Scenario: "Test Total frontend bytes incoming by instance"
213 Given the following series:
215 | haproxy_frontend_bytes_in_total{proxy="frontend",instance="ingress.rgw.1"} | 10 100 |
216 | haproxy_frontend_bytes_in_total{proxy="frontend",instance="ingress.rgw.1"} | 20 200 |
217 When variable `ingress_service` is `ingress.rgw.1`
218 Then Grafana panel `Current total of incoming / outgoing bytes` with legend `IN Front` shows:
220 | {instance="ingress.rgw.1"} | 24 |
222 Scenario: "Test Total frontend bytes outgoing by instance"
223 Given the following series:
225 | haproxy_frontend_bytes_out_total{proxy="frontend",instance="ingress.rgw.1"} | 10 100 |
226 | haproxy_frontend_bytes_out_total{proxy="frontend",instance="ingress.rgw.1"} | 20 200 |
227 When variable `ingress_service` is `ingress.rgw.1`
228 Then Grafana panel `Current total of incoming / outgoing bytes` with legend `OUT Front` shows:
230 | {instance="ingress.rgw.1"} | 24 |
232 Scenario: "Test Total backend bytes incoming by instance"
233 Given the following series:
235 | haproxy_backend_bytes_in_total{proxy="backend",instance="ingress.rgw.1"} | 10 100 |
236 | haproxy_backend_bytes_in_total{proxy="backend",instance="ingress.rgw.1"} | 20 200 |
237 When variable `ingress_service` is `ingress.rgw.1`
238 Then Grafana panel `Current total of incoming / outgoing bytes` with legend `IN Back` shows:
240 | {instance="ingress.rgw.1"} | 24 |
242 Scenario: "Test Total backend bytes outgoing by instance"
243 Given the following series:
245 | haproxy_backend_bytes_out_total{proxy="backend",instance="ingress.rgw.1"} | 10 100 |
246 | haproxy_backend_bytes_out_total{proxy="backend",instance="ingress.rgw.1"} | 20 200 |
247 When variable `ingress_service` is `ingress.rgw.1`
248 Then Grafana panel `Current total of incoming / outgoing bytes` with legend `OUT Back` shows:
250 | {instance="ingress.rgw.1"} | 24 |