|
1 | 1 | { |
2 | 2 | "__inputs": [], |
3 | 3 | "__requires": [ |
| 4 | + { |
| 5 | + "type": "panel", |
| 6 | + "id": "gauge", |
| 7 | + "name": "Gauge", |
| 8 | + "version": "" |
| 9 | + }, |
4 | 10 | { |
5 | 11 | "type": "grafana", |
6 | 12 | "id": "grafana", |
7 | 13 | "name": "Grafana", |
8 | 14 | "version": "7.5.1" |
9 | 15 | }, |
10 | | - { |
11 | | - "type": "panel", |
12 | | - "id": "graph", |
13 | | - "name": "Graph", |
14 | | - "version": "" |
15 | | - }, |
16 | 16 | { |
17 | 17 | "type": "datasource", |
18 | 18 | "id": "redis-datasource", |
|
49 | 49 | "gnetId": null, |
50 | 50 | "graphTooltip": 0, |
51 | 51 | "id": null, |
52 | | - "iteration": 1617298330015, |
| 52 | + "iteration": 1617386726701, |
53 | 53 | "links": [], |
54 | 54 | "panels": [ |
55 | 55 | { |
56 | 56 | "datasource": "$redis", |
57 | 57 | "fieldConfig": { |
58 | 58 | "defaults": { |
| 59 | + "color": { |
| 60 | + "mode": "thresholds" |
| 61 | + }, |
59 | 62 | "mappings": [], |
| 63 | + "max": 10000, |
| 64 | + "min": 0, |
60 | 65 | "noValue": "0", |
61 | 66 | "thresholds": { |
62 | 67 | "mode": "absolute", |
|
86 | 91 | }, |
87 | 92 | "id": 4, |
88 | 93 | "options": { |
89 | | - "colorMode": "background", |
90 | | - "graphMode": "area", |
91 | | - "justifyMode": "center", |
92 | 94 | "orientation": "auto", |
93 | 95 | "reduceOptions": { |
94 | 96 | "calcs": ["mean"], |
95 | 97 | "fields": "", |
96 | 98 | "values": false |
97 | 99 | }, |
98 | | - "text": {}, |
99 | | - "textMode": "auto" |
| 100 | + "showThresholdLabels": false, |
| 101 | + "showThresholdMarkers": true, |
| 102 | + "text": {} |
100 | 103 | }, |
101 | 104 | "pluginVersion": "7.5.1", |
102 | 105 | "targets": [ |
|
105 | 108 | "keyName": "product", |
106 | 109 | "query": "", |
107 | 110 | "refId": "A", |
| 111 | + "streaming": true, |
| 112 | + "streamingDataType": "DataFrame", |
108 | 113 | "type": "command" |
109 | 114 | } |
110 | 115 | ], |
111 | 116 | "timeFrom": null, |
112 | 117 | "timeShift": null, |
113 | 118 | "title": "Product Available", |
114 | | - "type": "stat" |
| 119 | + "type": "gauge" |
115 | 120 | }, |
116 | 121 | { |
117 | 122 | "datasource": "$redis", |
|
172 | 177 | "options": { |
173 | 178 | "legend": { |
174 | 179 | "calcs": [], |
175 | | - "displayMode": "list", |
| 180 | + "displayMode": "hidden", |
176 | 181 | "placement": "bottom" |
177 | 182 | }, |
178 | 183 | "tooltipOptions": { |
|
251 | 256 | "options": { |
252 | 257 | "legend": { |
253 | 258 | "calcs": [], |
254 | | - "displayMode": "list", |
| 259 | + "displayMode": "hidden", |
255 | 260 | "placement": "bottom" |
256 | 261 | }, |
257 | 262 | "tooltipOptions": { |
|
283 | 288 | "fieldConfig": { |
284 | 289 | "defaults": { |
285 | 290 | "mappings": [], |
| 291 | + "min": 0, |
286 | 292 | "thresholds": { |
287 | 293 | "mode": "absolute", |
288 | 294 | "steps": [ |
|
322 | 328 | "keyName": "queue:complete", |
323 | 329 | "query": "", |
324 | 330 | "refId": "A", |
| 331 | + "streaming": true, |
| 332 | + "streamingDataType": "TimeSeries", |
325 | 333 | "type": "command" |
326 | 334 | } |
327 | 335 | ], |
|
401 | 409 | "options": { |
402 | 410 | "legend": { |
403 | 411 | "calcs": [], |
404 | | - "displayMode": "list", |
| 412 | + "displayMode": "hidden", |
405 | 413 | "placement": "bottom" |
406 | 414 | }, |
407 | 415 | "tooltipOptions": { |
408 | | - "mode": "single" |
| 416 | + "mode": "multi" |
409 | 417 | } |
410 | 418 | }, |
411 | 419 | "pluginVersion": "7.5.1", |
|
426 | 434 | "type": "timeseries" |
427 | 435 | }, |
428 | 436 | { |
429 | | - "aliasColors": {}, |
430 | | - "bars": false, |
431 | | - "dashLength": 10, |
432 | | - "dashes": false, |
433 | 437 | "datasource": "$redis", |
434 | 438 | "fieldConfig": { |
435 | 439 | "defaults": { |
436 | | - "links": [] |
| 440 | + "color": { |
| 441 | + "mode": "palette-classic" |
| 442 | + }, |
| 443 | + "custom": { |
| 444 | + "axisLabel": "", |
| 445 | + "axisPlacement": "auto", |
| 446 | + "barAlignment": 0, |
| 447 | + "drawStyle": "line", |
| 448 | + "fillOpacity": 10, |
| 449 | + "gradientMode": "none", |
| 450 | + "hideFrom": { |
| 451 | + "graph": false, |
| 452 | + "legend": false, |
| 453 | + "tooltip": false |
| 454 | + }, |
| 455 | + "lineInterpolation": "linear", |
| 456 | + "lineWidth": 1, |
| 457 | + "pointSize": 5, |
| 458 | + "scaleDistribution": { |
| 459 | + "type": "linear" |
| 460 | + }, |
| 461 | + "showPoints": "never", |
| 462 | + "spanNulls": true |
| 463 | + }, |
| 464 | + "decimals": 0, |
| 465 | + "mappings": [], |
| 466 | + "min": 0, |
| 467 | + "thresholds": { |
| 468 | + "mode": "absolute", |
| 469 | + "steps": [ |
| 470 | + { |
| 471 | + "color": "green", |
| 472 | + "value": null |
| 473 | + }, |
| 474 | + { |
| 475 | + "color": "red", |
| 476 | + "value": 80 |
| 477 | + } |
| 478 | + ] |
| 479 | + }, |
| 480 | + "unit": "short" |
437 | 481 | }, |
438 | 482 | "overrides": [] |
439 | 483 | }, |
440 | | - "fill": 1, |
441 | | - "fillGradient": 0, |
442 | 484 | "gridPos": { |
443 | 485 | "h": 8, |
444 | 486 | "w": 12, |
445 | 487 | "x": 12, |
446 | 488 | "y": 9 |
447 | 489 | }, |
448 | | - "hiddenSeries": false, |
449 | 490 | "id": 19, |
450 | | - "legend": { |
451 | | - "avg": false, |
452 | | - "current": false, |
453 | | - "max": false, |
454 | | - "min": false, |
455 | | - "show": true, |
456 | | - "total": false, |
457 | | - "values": false |
458 | | - }, |
459 | | - "lines": true, |
460 | | - "linewidth": 1, |
461 | | - "nullPointMode": "null", |
462 | 491 | "options": { |
463 | | - "alertThreshold": true |
| 492 | + "graph": {}, |
| 493 | + "legend": { |
| 494 | + "calcs": [], |
| 495 | + "displayMode": "hidden", |
| 496 | + "placement": "bottom" |
| 497 | + }, |
| 498 | + "tooltipOptions": { |
| 499 | + "mode": "single" |
| 500 | + } |
464 | 501 | }, |
465 | | - "percentage": false, |
466 | 502 | "pluginVersion": "7.5.1", |
467 | | - "pointradius": 2, |
468 | | - "points": false, |
469 | | - "renderer": "flot", |
470 | | - "seriesOverrides": [], |
471 | | - "spaceLength": 10, |
472 | | - "stack": false, |
473 | | - "steppedLine": false, |
474 | 503 | "targets": [ |
475 | 504 | { |
476 | 505 | "command": "ts.get", |
|
482 | 511 | "type": "timeSeries" |
483 | 512 | } |
484 | 513 | ], |
485 | | - "thresholds": [], |
486 | 514 | "timeFrom": null, |
487 | | - "timeRegions": [], |
488 | 515 | "timeShift": null, |
489 | 516 | "title": "Completed Flow", |
490 | | - "tooltip": { |
491 | | - "shared": true, |
492 | | - "sort": 0, |
493 | | - "value_type": "individual" |
494 | | - }, |
495 | | - "type": "graph", |
496 | | - "xaxis": { |
497 | | - "buckets": null, |
498 | | - "mode": "time", |
499 | | - "name": null, |
500 | | - "show": true, |
501 | | - "values": [] |
502 | | - }, |
503 | | - "yaxes": [ |
504 | | - { |
505 | | - "decimals": 0, |
506 | | - "format": "short", |
507 | | - "label": null, |
508 | | - "logBase": 1, |
509 | | - "max": null, |
510 | | - "min": "0", |
511 | | - "show": true |
512 | | - }, |
513 | | - { |
514 | | - "format": "short", |
515 | | - "label": null, |
516 | | - "logBase": 1, |
517 | | - "max": null, |
518 | | - "min": null, |
519 | | - "show": true |
520 | | - } |
521 | | - ], |
522 | | - "yaxis": { |
523 | | - "align": false, |
524 | | - "alignLevel": null |
525 | | - } |
| 517 | + "type": "timeseries" |
526 | 518 | } |
527 | 519 | ], |
528 | 520 | "refresh": "", |
|
574 | 566 | "timezone": "", |
575 | 567 | "title": "Pop-up (Real-time)", |
576 | 568 | "uid": "0LC0Sm7Ml", |
577 | | - "version": 14 |
| 569 | + "version": 4 |
578 | 570 | } |
0 commit comments