Advertisement
Guest User

Untitled

a guest
Oct 9th, 2019
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.82 KB | None | 0 0
  1. {
  2. "aliasColors": {},
  3. "bars": false,
  4. "dashLength": 10,
  5. "dashes": false,
  6. "datasource": "BobRTC",
  7. "decimals": 0,
  8. "description": "This panel shows how many calls each user is currently making.",
  9. "fill": 3,
  10. "fillGradient": 0,
  11. "gridPos": {
  12. "h": 6,
  13. "w": 23,
  14. "x": 0,
  15. "y": 0
  16. },
  17. "id": 2,
  18. "legend": {
  19. "avg": false,
  20. "current": false,
  21. "hideEmpty": false,
  22. "hideZero": false,
  23. "max": false,
  24. "min": false,
  25. "show": true,
  26. "total": true,
  27. "values": true
  28. },
  29. "lines": true,
  30. "linewidth": 2,
  31. "nullPointMode": "null",
  32. "options": {
  33. "dataLinks": []
  34. },
  35. "percentage": false,
  36. "pointradius": 2,
  37. "points": false,
  38. "renderer": "flot",
  39. "repeat": null,
  40. "seriesOverrides": [],
  41. "spaceLength": 10,
  42. "stack": false,
  43. "steppedLine": false,
  44. "targets": [
  45. {
  46. "format": "time_series",
  47. "group": [
  48. {
  49. "params": [
  50. "1s",
  51. "previous"
  52. ],
  53. "type": "time"
  54. }
  55. ],
  56. "metricColumn": "name",
  57. "rawQuery": false,
  58. "rawSql": "SELECT\n UNIX_TIMESTAMP(<time_column>) as time_sec,\n <value column> as value,\n <series name column> as metric\nFROM <table name>\nWHERE $__timeFilter(time_column)\nORDER BY <time_column> ASC\n",
  59. "refId": "A",
  60. "select": [
  61. [
  62. {
  63. "params": [
  64. "id"
  65. ],
  66. "type": "column"
  67. },
  68. {
  69. "params": [
  70. "count"
  71. ],
  72. "type": "aggregate"
  73. }
  74. ]
  75. ],
  76. "table": "ongoing_calls",
  77. "timeColumn": "created_at",
  78. "timeColumnType": "timestamp",
  79. "where": [
  80. {
  81. "name": "$__timeFilter",
  82. "params": [],
  83. "type": "macro"
  84. },
  85. {
  86. "datatype": "varchar",
  87. "name": "",
  88. "params": [
  89. "number",
  90. "=",
  91. "\"18665789726\""
  92. ],
  93. "type": "expression"
  94. }
  95. ]
  96. }
  97. ],
  98. "thresholds": [],
  99. "timeFrom": null,
  100. "timeRegions": [],
  101. "timeShift": null,
  102. "title": "User Calls",
  103. "tooltip": {
  104. "shared": true,
  105. "sort": 0,
  106. "value_type": "individual"
  107. },
  108. "type": "graph",
  109. "xaxis": {
  110. "buckets": null,
  111. "mode": "time",
  112. "name": null,
  113. "show": true,
  114. "values": []
  115. },
  116. "yaxes": [
  117. {
  118. "decimals": 0,
  119. "format": "short",
  120. "label": "Call Count",
  121. "logBase": 2,
  122. "max": null,
  123. "min": "0",
  124. "show": true
  125. },
  126. {
  127. "decimals": 0,
  128. "format": "short",
  129. "label": "",
  130. "logBase": 2,
  131. "max": null,
  132. "min": "0",
  133. "show": true
  134. }
  135. ],
  136. "yaxis": {
  137. "align": false,
  138. "alignLevel": null
  139. }
  140. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement