|
200 | 200 | "y": 9 |
201 | 201 | } |
202 | 202 | }, |
203 | | - { |
204 | | - "id": 5, |
205 | | - "title": "Services Disk Usage", |
206 | | - "type": "timeseries", |
207 | | - "targets": [ |
208 | | - { |
209 | | - "expr": "system_disk_usage_percent_percent{service=~\"$service\"}", |
210 | | - "legendFormat": "{{service}} Disk", |
211 | | - "refId": "A" |
212 | | - } |
213 | | - ], |
214 | | - "fieldConfig": { |
215 | | - "defaults": { |
216 | | - "color": { |
217 | | - "mode": "palette-classic" |
218 | | - }, |
219 | | - "custom": { |
220 | | - "axisPlacement": "auto", |
221 | | - "axisLabel": "Disk Usage (%)", |
222 | | - "drawStyle": "line", |
223 | | - "lineInterpolation": "smooth", |
224 | | - "lineWidth": 2, |
225 | | - "fillOpacity": 20 |
226 | | - }, |
227 | | - "unit": "percent", |
228 | | - "min": 0, |
229 | | - "max": 100 |
230 | | - } |
231 | | - }, |
232 | | - "gridPos": { |
233 | | - "h": 9, |
234 | | - "w": 12, |
235 | | - "x": 0, |
236 | | - "y": 17 |
237 | | - } |
238 | | - }, |
239 | 203 | { |
240 | 204 | "id": 6, |
241 | 205 | "title": "Services Network QPS", |
|
266 | 230 | }, |
267 | 231 | "gridPos": { |
268 | 232 | "h": 9, |
269 | | - "w": 12, |
270 | | - "x": 12, |
| 233 | + "w": 24, |
| 234 | + "x": 0, |
271 | 235 | "y": 17 |
272 | 236 | } |
273 | 237 | }, |
|
337 | 301 | "expr": "system_memory_usage_percent_percent{service=~\"$service\"}", |
338 | 302 | "legendFormat": "{{service}} Memory", |
339 | 303 | "refId": "B" |
340 | | - }, |
341 | | - { |
342 | | - "expr": "system_disk_usage_percent_percent{service=~\"$service\"}", |
343 | | - "legendFormat": "{{service}} Disk", |
344 | | - "refId": "C" |
345 | 304 | } |
346 | 305 | ], |
347 | 306 | "fieldConfig": { |
|
405 | 364 | "instant": true, |
406 | 365 | "format": "table" |
407 | 366 | }, |
408 | | - { |
409 | | - "expr": "system_disk_usage_percent_percent{service=~\"$service\"}", |
410 | | - "legendFormat": "", |
411 | | - "refId": "C", |
412 | | - "instant": true, |
413 | | - "format": "table" |
414 | | - }, |
415 | 367 | { |
416 | 368 | "expr": "system_network_qps_per_second{service=~\"$service\"}", |
417 | 369 | "legendFormat": "", |
418 | | - "refId": "D", |
| 370 | + "refId": "C", |
419 | 371 | "instant": true, |
420 | 372 | "format": "table" |
421 | 373 | }, |
422 | 374 | { |
423 | 375 | "expr": "system_machine_online_status{service=~\"$service\"}", |
424 | 376 | "legendFormat": "", |
425 | | - "refId": "E", |
| 377 | + "refId": "D", |
426 | 378 | "instant": true, |
427 | 379 | "format": "table" |
428 | 380 | } |
|
447 | 399 | "service": "Service", |
448 | 400 | "Value #A": "CPU (%)", |
449 | 401 | "Value #B": "Memory (%)", |
450 | | - "Value #C": "Disk (%)", |
451 | | - "Value #D": "Network QPS", |
452 | | - "Value #E": "Status" |
| 402 | + "Value #C": "Network QPS", |
| 403 | + "Value #D": "Status" |
453 | 404 | } |
454 | 405 | } |
455 | 406 | } |
|
0 commit comments