jvb.json 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213
  1. {
  2. "annotations": {
  3. "list": [
  4. {
  5. "builtIn": 1,
  6. "datasource": {
  7. "type": "grafana",
  8. "uid": "-- Grafana --"
  9. },
  10. "enable": true,
  11. "hide": true,
  12. "iconColor": "rgba(0, 211, 255, 1)",
  13. "name": "Annotations & Alerts",
  14. "type": "dashboard"
  15. }
  16. ]
  17. },
  18. "editable": true,
  19. "fiscalYearStartMonth": 0,
  20. "graphTooltip": 0,
  21. "links": [],
  22. "liveNow": false,
  23. "panels": [
  24. {
  25. "datasource": {
  26. "type": "loki",
  27. "uid": "a4bdfb3e-762a-46e5-a79f-2e7bbe88d444"
  28. },
  29. "gridPos": {
  30. "h": 8,
  31. "w": 12,
  32. "x": 0,
  33. "y": 0
  34. },
  35. "id": 3,
  36. "options": {
  37. "dedupStrategy": "none",
  38. "enableLogDetails": true,
  39. "prettifyLogMessage": false,
  40. "showCommonLabels": false,
  41. "showLabels": false,
  42. "showTime": false,
  43. "sortOrder": "Descending",
  44. "wrapLogMessage": false
  45. },
  46. "targets": [
  47. {
  48. "datasource": {
  49. "type": "loki",
  50. "uid": "a4bdfb3e-762a-46e5-a79f-2e7bbe88d444"
  51. },
  52. "editorMode": "code",
  53. "expr": "{exporter=\"OTLP\"} | json | attributes_attrs_service=\"jitsi-jvb\"",
  54. "queryType": "range",
  55. "refId": "A"
  56. }
  57. ],
  58. "title": "JVB Logs",
  59. "type": "logs"
  60. },
  61. {
  62. "datasource": {
  63. "type": "loki",
  64. "uid": "a4bdfb3e-762a-46e5-a79f-2e7bbe88d444"
  65. },
  66. "fieldConfig": {
  67. "defaults": {
  68. "color": {
  69. "mode": "palette-classic"
  70. },
  71. "custom": {
  72. "hideFrom": {
  73. "legend": false,
  74. "tooltip": false,
  75. "viz": false
  76. }
  77. },
  78. "mappings": []
  79. },
  80. "overrides": []
  81. },
  82. "gridPos": {
  83. "h": 8,
  84. "w": 12,
  85. "x": 12,
  86. "y": 0
  87. },
  88. "id": 2,
  89. "options": {
  90. "displayLabels": [
  91. "percent",
  92. "name"
  93. ],
  94. "legend": {
  95. "displayMode": "list",
  96. "placement": "bottom",
  97. "showLegend": true
  98. },
  99. "pieType": "pie",
  100. "reduceOptions": {
  101. "calcs": [
  102. "lastNotNull"
  103. ],
  104. "fields": "",
  105. "values": false
  106. },
  107. "tooltip": {
  108. "mode": "single",
  109. "sort": "none"
  110. }
  111. },
  112. "targets": [
  113. {
  114. "datasource": {
  115. "type": "loki",
  116. "uid": "b8130a28-4867-4668-917d-539c93852857"
  117. },
  118. "editorMode": "code",
  119. "expr": "sum by (attributes_level) (\n rate({exporter=\"OTLP\"} | json|attributes_attrs_service=\"jitsi-jvb\"| line_format \"{{.log}}\" | logfmt | pattern \"[<_>] <_level>: <_>\"[5m])\n)",
  120. "legendFormat": "Level: {{attributes_level}}",
  121. "queryType": "range",
  122. "refId": "A"
  123. }
  124. ],
  125. "title": "JVB Log Levels Pie Chart",
  126. "type": "piechart"
  127. },
  128. {
  129. "datasource": {
  130. "type": "loki",
  131. "uid": "a4bdfb3e-762a-46e5-a79f-2e7bbe88d444"
  132. },
  133. "fieldConfig": {
  134. "defaults": {
  135. "color": {
  136. "mode": "continuous-GrYlRd"
  137. },
  138. "mappings": [],
  139. "thresholds": {
  140. "mode": "absolute",
  141. "steps": [
  142. {
  143. "color": "green",
  144. "value": null
  145. },
  146. {
  147. "color": "red",
  148. "value": 80
  149. }
  150. ]
  151. },
  152. "unit": "percent"
  153. },
  154. "overrides": []
  155. },
  156. "gridPos": {
  157. "h": 8,
  158. "w": 12,
  159. "x": 0,
  160. "y": 8
  161. },
  162. "id": 1,
  163. "options": {
  164. "displayMode": "lcd",
  165. "minVizHeight": 10,
  166. "minVizWidth": 0,
  167. "namePlacement": "auto",
  168. "orientation": "horizontal",
  169. "reduceOptions": {
  170. "calcs": [
  171. "lastNotNull"
  172. ],
  173. "fields": "",
  174. "values": false
  175. },
  176. "showUnfilled": true,
  177. "valueMode": "color"
  178. },
  179. "pluginVersion": "10.2.0",
  180. "targets": [
  181. {
  182. "datasource": {
  183. "type": "loki",
  184. "uid": "b8130a28-4867-4668-917d-539c93852857"
  185. },
  186. "editorMode": "code",
  187. "expr": "sum by (attributes_level, attributes_attrs_service) (\n rate({exporter=\"OTLP\"} | json|attributes_attrs_service=\"jitsi-jvb\" | line_format \"{{.attributes_message}}\" | logfmt | pattern \"[<_>] <attributes_level>#<attributes_attrs_service>: <_>\"[5m]))",
  188. "legendFormat": "Level: {{attributes_level}}",
  189. "queryType": "range",
  190. "refId": "A"
  191. }
  192. ],
  193. "title": "JVB Log Levels Bar Chart",
  194. "type": "bargauge"
  195. }
  196. ],
  197. "refresh": "",
  198. "schemaVersion": 38,
  199. "tags": [],
  200. "templating": {
  201. "list": []
  202. },
  203. "time": {
  204. "from": "now-6h",
  205. "to": "now"
  206. },
  207. "timepicker": {},
  208. "timezone": "",
  209. "title": "JVB Dashboard",
  210. "uid": "d53a9efb-ca3b-4f47-af3a-9638de8a35fa",
  211. "version": 10,
  212. "weekStart": ""
  213. }