|
31 | 31 | "color": { |
32 | 32 | "mode": "thresholds" |
33 | 33 | }, |
| 34 | + "decimals": 0, |
34 | 35 | "mappings": [], |
35 | 36 | "thresholds": { |
36 | 37 | "mode": "absolute", |
|
49 | 50 | "overrides": [ |
50 | 51 | { |
51 | 52 | "matcher": { |
52 | | - "id": "byName", |
53 | | - "options": "{__name__=\"rtcstats_session_count\", instance=\"rtcstats-server:8095\", job=\"prometheus\"}" |
| 53 | + "id": "byFrameRefID", |
| 54 | + "options": "session count" |
54 | 55 | }, |
55 | 56 | "properties": [ |
56 | 57 | { |
|
73 | 74 | }, |
74 | 75 | { |
75 | 76 | "matcher": { |
76 | | - "id": "byName", |
77 | | - "options": "{__name__=\"rtcstats_session_error_count\", instance=\"rtcstats-server:8095\", job=\"prometheus\"}" |
| 77 | + "id": "byFrameRefID", |
| 78 | + "options": "error count" |
78 | 79 | }, |
79 | 80 | "properties": [ |
80 | 81 | { |
|
108 | 109 | "colorMode": "value", |
109 | 110 | "graphMode": "area", |
110 | 111 | "justifyMode": "auto", |
111 | | - "orientation": "auto", |
| 112 | + "orientation": "horizontal", |
112 | 113 | "reduceOptions": { |
113 | 114 | "calcs": [ |
114 | 115 | "lastNotNull" |
|
126 | 127 | "uid": "d301145e-8c4e-4027-bf6e-43e81f095020" |
127 | 128 | }, |
128 | 129 | "disableTextWrap": false, |
129 | | - "editorMode": "builder", |
| 130 | + "editorMode": "code", |
130 | 131 | "exemplar": false, |
131 | | - "expr": "rtcstats_session_count", |
| 132 | + "expr": "increase(rtcstats_session_count[$__range])", |
132 | 133 | "format": "time_series", |
133 | 134 | "fullMetaSearch": false, |
134 | 135 | "includeNullMetadata": true, |
|
144 | 145 | "uid": "d301145e-8c4e-4027-bf6e-43e81f095020" |
145 | 146 | }, |
146 | 147 | "disableTextWrap": false, |
147 | | - "editorMode": "builder", |
148 | | - "expr": "rtcstats_session_error_count", |
| 148 | + "editorMode": "code", |
| 149 | + "expr": "increase(rtcstats_session_error_count[$__range])", |
149 | 150 | "format": "time_series", |
150 | 151 | "fullMetaSearch": false, |
151 | 152 | "hide": false, |
|
219 | 220 | "overrides": [ |
220 | 221 | { |
221 | 222 | "matcher": { |
222 | | - "id": "byName", |
223 | | - "options": "{__name__=\"rtcstats_websocket_connections\", instance=\"rtcstats-server:8095\", job=\"prometheus\"}" |
| 223 | + "id": "byFrameRefID", |
| 224 | + "options": "A" |
224 | 225 | }, |
225 | 226 | "properties": [ |
226 | 227 | { |
|
231 | 232 | }, |
232 | 233 | { |
233 | 234 | "matcher": { |
234 | | - "id": "byName", |
235 | | - "options": "{__name__=\"rtcstats_websocket_connection_error\", instance=\"rtcstats-server:8095\", job=\"prometheus\"}" |
| 235 | + "id": "byFrameRefID", |
| 236 | + "options": "B" |
236 | 237 | }, |
237 | 238 | "properties": [ |
238 | 239 | { |
|
269 | 270 | "uid": "d301145e-8c4e-4027-bf6e-43e81f095020" |
270 | 271 | }, |
271 | 272 | "disableTextWrap": false, |
272 | | - "editorMode": "builder", |
| 273 | + "editorMode": "code", |
273 | 274 | "expr": "rtcstats_websocket_connections", |
274 | 275 | "fullMetaSearch": false, |
275 | 276 | "hide": false, |
|
286 | 287 | "uid": "d301145e-8c4e-4027-bf6e-43e81f095020" |
287 | 288 | }, |
288 | 289 | "disableTextWrap": false, |
289 | | - "editorMode": "builder", |
290 | | - "expr": "rtcstats_websocket_connection_error", |
| 290 | + "editorMode": "code", |
| 291 | + "expr": "rate(rtcstats_websocket_connection_error[$__rate_interval])", |
291 | 292 | "fullMetaSearch": false, |
292 | 293 | "hide": false, |
293 | 294 | "includeNullMetadata": true, |
|
358 | 359 | ] |
359 | 360 | } |
360 | 361 | }, |
361 | | - "overrides": [] |
| 362 | + "overrides": [ |
| 363 | + { |
| 364 | + "matcher": { |
| 365 | + "id": "byFrameRefID", |
| 366 | + "options": "rtcstats" |
| 367 | + }, |
| 368 | + "properties": [ |
| 369 | + { |
| 370 | + "id": "displayName", |
| 371 | + "value": "rtcstats client" |
| 372 | + } |
| 373 | + ] |
| 374 | + }, |
| 375 | + { |
| 376 | + "matcher": { |
| 377 | + "id": "byFrameRefID", |
| 378 | + "options": "jvb" |
| 379 | + }, |
| 380 | + "properties": [ |
| 381 | + { |
| 382 | + "id": "displayName", |
| 383 | + "value": "jvb" |
| 384 | + } |
| 385 | + ] |
| 386 | + }, |
| 387 | + { |
| 388 | + "matcher": { |
| 389 | + "id": "byFrameRefID", |
| 390 | + "options": "jicofo" |
| 391 | + }, |
| 392 | + "properties": [ |
| 393 | + { |
| 394 | + "id": "displayName", |
| 395 | + "value": "jiconfo" |
| 396 | + } |
| 397 | + ] |
| 398 | + }, |
| 399 | + { |
| 400 | + "matcher": { |
| 401 | + "id": "byFrameRefID", |
| 402 | + "options": "jibri" |
| 403 | + }, |
| 404 | + "properties": [ |
| 405 | + { |
| 406 | + "id": "displayName", |
| 407 | + "value": "jibri" |
| 408 | + } |
| 409 | + ] |
| 410 | + }, |
| 411 | + { |
| 412 | + "matcher": { |
| 413 | + "id": "byFrameRefID", |
| 414 | + "options": "jigasi" |
| 415 | + }, |
| 416 | + "properties": [ |
| 417 | + { |
| 418 | + "id": "displayName", |
| 419 | + "value": "jigasi" |
| 420 | + } |
| 421 | + ] |
| 422 | + }, |
| 423 | + { |
| 424 | + "matcher": { |
| 425 | + "id": "byFrameRefID", |
| 426 | + "options": "unknown" |
| 427 | + }, |
| 428 | + "properties": [ |
| 429 | + { |
| 430 | + "id": "displayName", |
| 431 | + "value": "unknow" |
| 432 | + } |
| 433 | + ] |
| 434 | + } |
| 435 | + ] |
362 | 436 | }, |
363 | 437 | "gridPos": { |
364 | 438 | "h": 8, |
|
372 | 446 | "calcs": [], |
373 | 447 | "displayMode": "list", |
374 | 448 | "placement": "bottom", |
375 | | - "showLegend": false |
| 449 | + "showLegend": true |
376 | 450 | }, |
377 | 451 | "tooltip": { |
378 | 452 | "mode": "single", |
|
386 | 460 | "uid": "d301145e-8c4e-4027-bf6e-43e81f095020" |
387 | 461 | }, |
388 | 462 | "disableTextWrap": false, |
389 | | - "editorMode": "builder", |
390 | | - "expr": "rtcstats_dump_size_bytes_count", |
| 463 | + "editorMode": "code", |
| 464 | + "expr": "increase(rtcstats_dump_size_bytes_count[$__rate_interval])", |
391 | 465 | "fullMetaSearch": false, |
392 | 466 | "includeNullMetadata": true, |
393 | 467 | "instant": false, |
394 | 468 | "legendFormat": "__auto", |
395 | 469 | "range": true, |
396 | | - "refId": "A", |
| 470 | + "refId": "rtcstats", |
397 | 471 | "useBackend": false |
| 472 | + }, |
| 473 | + { |
| 474 | + "datasource": { |
| 475 | + "type": "prometheus", |
| 476 | + "uid": "d301145e-8c4e-4027-bf6e-43e81f095020" |
| 477 | + }, |
| 478 | + "disableTextWrap": false, |
| 479 | + "editorMode": "code", |
| 480 | + "expr": "increase(jvb_dump_size_bytes_count[$__rate_interval])", |
| 481 | + "fullMetaSearch": false, |
| 482 | + "hide": false, |
| 483 | + "includeNullMetadata": true, |
| 484 | + "instant": false, |
| 485 | + "legendFormat": "__auto", |
| 486 | + "range": true, |
| 487 | + "refId": "jvb", |
| 488 | + "useBackend": false |
| 489 | + }, |
| 490 | + { |
| 491 | + "datasource": { |
| 492 | + "type": "prometheus", |
| 493 | + "uid": "d301145e-8c4e-4027-bf6e-43e81f095020" |
| 494 | + }, |
| 495 | + "editorMode": "code", |
| 496 | + "expr": "increase(jicofo_dump_size_bytes_count[$__rate_interval])", |
| 497 | + "hide": false, |
| 498 | + "instant": false, |
| 499 | + "legendFormat": "__auto", |
| 500 | + "range": true, |
| 501 | + "refId": "jicofo" |
| 502 | + }, |
| 503 | + { |
| 504 | + "datasource": { |
| 505 | + "type": "prometheus", |
| 506 | + "uid": "d301145e-8c4e-4027-bf6e-43e81f095020" |
| 507 | + }, |
| 508 | + "editorMode": "code", |
| 509 | + "expr": "increase(jibri_dump_size_bytes_count[$__rate_interval])", |
| 510 | + "hide": false, |
| 511 | + "instant": false, |
| 512 | + "legendFormat": "__auto", |
| 513 | + "range": true, |
| 514 | + "refId": "jibri" |
| 515 | + }, |
| 516 | + { |
| 517 | + "datasource": { |
| 518 | + "type": "prometheus", |
| 519 | + "uid": "d301145e-8c4e-4027-bf6e-43e81f095020" |
| 520 | + }, |
| 521 | + "editorMode": "code", |
| 522 | + "expr": "increase(jigasi_dump_size_bytes_count[$__rate_interval])", |
| 523 | + "hide": false, |
| 524 | + "instant": false, |
| 525 | + "legendFormat": "__auto", |
| 526 | + "range": true, |
| 527 | + "refId": "jigasi" |
| 528 | + }, |
| 529 | + { |
| 530 | + "datasource": { |
| 531 | + "type": "prometheus", |
| 532 | + "uid": "d301145e-8c4e-4027-bf6e-43e81f095020" |
| 533 | + }, |
| 534 | + "editorMode": "code", |
| 535 | + "expr": "increase(unknown_dump_size_bytes_count[$__rate_interval])", |
| 536 | + "hide": false, |
| 537 | + "instant": false, |
| 538 | + "legendFormat": "__auto", |
| 539 | + "range": true, |
| 540 | + "refId": "unknown" |
398 | 541 | } |
399 | 542 | ], |
400 | 543 | "title": "Dump Size Bytes Count", |
|
486 | 629 | "uid": "d301145e-8c4e-4027-bf6e-43e81f095020" |
487 | 630 | }, |
488 | 631 | "disableTextWrap": false, |
489 | | - "editorMode": "builder", |
| 632 | + "editorMode": "code", |
490 | 633 | "exemplar": false, |
491 | 634 | "expr": "rtcstats_disk_queue_size", |
492 | 635 | "format": "time_series", |
|
504 | 647 | "type": "timeseries" |
505 | 648 | } |
506 | 649 | ], |
507 | | - "refresh": "5s", |
| 650 | + "refresh": "30s", |
508 | 651 | "schemaVersion": 38, |
509 | 652 | "tags": [], |
510 | 653 | "templating": { |
511 | 654 | "list": [] |
512 | 655 | }, |
513 | 656 | "time": { |
514 | | - "from": "now-30m", |
| 657 | + "from": "now-6h", |
515 | 658 | "to": "now" |
516 | 659 | }, |
517 | 660 | "timepicker": {}, |
518 | 661 | "timezone": "", |
519 | 662 | "title": "rtcstats", |
520 | 663 | "uid": "e4e8c548-c977-4f95-bc91-995d0a757f8e", |
521 | | - "version": 1, |
| 664 | + "version": 2, |
522 | 665 | "weekStart": "" |
523 | 666 | } |
0 commit comments