jitsi-web.json 6.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275
  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": 5,
  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. "pluginVersion": "10.2.0",
  47. "targets": [
  48. {
  49. "datasource": {
  50. "type": "loki",
  51. "uid": "a4bdfb3e-762a-46e5-a79f-2e7bbe88d444"
  52. },
  53. "editorMode": "code",
  54. "expr": "{exporter=\"OTLP\"} | json | attributes_attrs_service=\"jitsi-web\"",
  55. "queryType": "range",
  56. "refId": "A"
  57. }
  58. ],
  59. "title": "Jitsi Web Logs",
  60. "type": "logs"
  61. },
  62. {
  63. "datasource": {
  64. "type": "loki",
  65. "uid": "a4bdfb3e-762a-46e5-a79f-2e7bbe88d444"
  66. },
  67. "fieldConfig": {
  68. "defaults": {
  69. "color": {
  70. "mode": "palette-classic"
  71. },
  72. "custom": {
  73. "hideFrom": {
  74. "legend": false,
  75. "tooltip": false,
  76. "viz": false
  77. }
  78. },
  79. "mappings": []
  80. },
  81. "overrides": []
  82. },
  83. "gridPos": {
  84. "h": 8,
  85. "w": 12,
  86. "x": 12,
  87. "y": 0
  88. },
  89. "id": 4,
  90. "options": {
  91. "displayLabels": [
  92. "percent"
  93. ],
  94. "legend": {
  95. "calcs": [],
  96. "displayMode": "hidden",
  97. "placement": "right",
  98. "showLegend": false,
  99. "values": []
  100. },
  101. "pieType": "pie",
  102. "reduceOptions": {
  103. "calcs": [
  104. "lastNotNull"
  105. ],
  106. "fields": "",
  107. "values": false
  108. },
  109. "tooltip": {
  110. "mode": "single",
  111. "sort": "none"
  112. }
  113. },
  114. "targets": [
  115. {
  116. "datasource": {
  117. "type": "loki",
  118. "uid": "a4bdfb3e-762a-46e5-a79f-2e7bbe88d444"
  119. },
  120. "editorMode": "code",
  121. "expr": "sum by (attributes_level) (\n rate({exporter=\"OTLP\"} | json|attributes_attrs_service=\"jitsi-web\"| line_format \"{{.log}}\" | logfmt | pattern \"[<_>] <_level>: <_>\"[5m])\n)",
  122. "legendFormat": "Level: {{attributes_level}}",
  123. "queryType": "range",
  124. "refId": "A"
  125. }
  126. ],
  127. "title": "Jitsi Web Log Levels Pie Chart",
  128. "type": "piechart"
  129. },
  130. {
  131. "datasource": {
  132. "type": "loki",
  133. "uid": "a4bdfb3e-762a-46e5-a79f-2e7bbe88d444"
  134. },
  135. "fieldConfig": {
  136. "defaults": {
  137. "color": {
  138. "mode": "continuous-GrYlRd"
  139. },
  140. "mappings": [],
  141. "thresholds": {
  142. "mode": "absolute",
  143. "steps": [
  144. {
  145. "color": "green",
  146. "value": null
  147. },
  148. {
  149. "color": "red",
  150. "value": 80
  151. }
  152. ]
  153. }
  154. },
  155. "overrides": []
  156. },
  157. "gridPos": {
  158. "h": 8,
  159. "w": 12,
  160. "x": 0,
  161. "y": 8
  162. },
  163. "id": 3,
  164. "options": {
  165. "displayMode": "lcd",
  166. "minVizHeight": 10,
  167. "minVizWidth": 0,
  168. "namePlacement": "auto",
  169. "orientation": "horizontal",
  170. "reduceOptions": {
  171. "calcs": [
  172. "lastNotNull"
  173. ],
  174. "fields": "",
  175. "values": false
  176. },
  177. "showUnfilled": true,
  178. "valueMode": "color"
  179. },
  180. "pluginVersion": "10.2.0",
  181. "targets": [
  182. {
  183. "datasource": {
  184. "type": "loki",
  185. "uid": "a4bdfb3e-762a-46e5-a79f-2e7bbe88d444"
  186. },
  187. "editorMode": "code",
  188. "expr": "sum by (attributes_level, attributes_attrs_service) (\n rate({exporter=\"OTLP\"} | json|attributes_attrs_service=\"jitsi-web\"| line_format \"{{.attributes_message}}\" | logfmt | pattern \"[<_>] <attributes_level>#<attributes_attrs_service>: <_>\"[5m]))",
  189. "legendFormat": "Level: {{attributes_level}}",
  190. "queryType": "range",
  191. "refId": "A"
  192. }
  193. ],
  194. "title": "Jitsi Web Log Levels Bar Chart",
  195. "type": "bargauge"
  196. },
  197. {
  198. "datasource": {
  199. "type": "loki",
  200. "uid": "a4bdfb3e-762a-46e5-a79f-2e7bbe88d444"
  201. },
  202. "fieldConfig": {
  203. "defaults": {
  204. "mappings": [],
  205. "thresholds": {
  206. "mode": "percentage",
  207. "steps": [
  208. {
  209. "color": "green",
  210. "value": null
  211. },
  212. {
  213. "color": "semi-dark-red",
  214. "value": 80
  215. }
  216. ]
  217. }
  218. },
  219. "overrides": []
  220. },
  221. "gridPos": {
  222. "h": 8,
  223. "w": 12,
  224. "x": 12,
  225. "y": 8
  226. },
  227. "id": 2,
  228. "options": {
  229. "minVizHeight": 75,
  230. "minVizWidth": 75,
  231. "orientation": "auto",
  232. "reduceOptions": {
  233. "calcs": [
  234. "lastNotNull"
  235. ],
  236. "fields": "",
  237. "values": false
  238. },
  239. "showThresholdLabels": false,
  240. "showThresholdMarkers": true
  241. },
  242. "pluginVersion": "10.2.0",
  243. "targets": [
  244. {
  245. "datasource": {
  246. "type": "loki",
  247. "uid": "a4bdfb3e-762a-46e5-a79f-2e7bbe88d444"
  248. },
  249. "editorMode": "code",
  250. "expr": "sum(count_over_time({exporter=\"OTLP\"} | json | attributes_attrs_service=\"jitsi-web\" |= \"GET\" [5m])) by (instance)",
  251. "queryType": "range",
  252. "refId": "A"
  253. }
  254. ],
  255. "title": "Jitsi Web Sum of 'GET' Log Counts",
  256. "type": "gauge"
  257. }
  258. ],
  259. "refresh": "",
  260. "schemaVersion": 38,
  261. "tags": [],
  262. "templating": {
  263. "list": []
  264. },
  265. "time": {
  266. "from": "now-6h",
  267. "to": "now"
  268. },
  269. "timepicker": {},
  270. "timezone": "",
  271. "title": "Jitsi Web Dashboard",
  272. "uid": "d1f8ba02-9b8d-42c7-8934-d30ea3559a49",
  273. "version": 4,
  274. "weekStart": ""
  275. }