Prosody-Dashboard.json 33 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393
  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. "id": 20,
  22. "links": [],
  23. "liveNow": false,
  24. "panels": [
  25. {
  26. "collapsed": false,
  27. "gridPos": {
  28. "h": 1,
  29. "w": 24,
  30. "x": 0,
  31. "y": 0
  32. },
  33. "id": 4,
  34. "panels": [],
  35. "title": "Session Activity",
  36. "type": "row"
  37. },
  38. {
  39. "datasource": {
  40. "type": "prometheus",
  41. "uid": "bbb38190-2464-44ea-8080-f9ca9e3dcd61"
  42. },
  43. "fieldConfig": {
  44. "defaults": {
  45. "color": {
  46. "mode": "palette-classic"
  47. },
  48. "custom": {
  49. "axisBorderShow": false,
  50. "axisCenteredZero": false,
  51. "axisColorMode": "text",
  52. "axisLabel": "",
  53. "axisPlacement": "auto",
  54. "barAlignment": 0,
  55. "drawStyle": "line",
  56. "fillOpacity": 0,
  57. "gradientMode": "none",
  58. "hideFrom": {
  59. "legend": false,
  60. "tooltip": false,
  61. "viz": false
  62. },
  63. "insertNulls": false,
  64. "lineInterpolation": "linear",
  65. "lineWidth": 1,
  66. "pointSize": 5,
  67. "scaleDistribution": {
  68. "type": "linear"
  69. },
  70. "showPoints": "auto",
  71. "spanNulls": false,
  72. "stacking": {
  73. "group": "A",
  74. "mode": "none"
  75. },
  76. "thresholdsStyle": {
  77. "mode": "off"
  78. }
  79. },
  80. "mappings": [],
  81. "thresholds": {
  82. "mode": "absolute",
  83. "steps": [
  84. {
  85. "color": "green",
  86. "value": null
  87. },
  88. {
  89. "color": "red",
  90. "value": 80
  91. }
  92. ]
  93. }
  94. },
  95. "overrides": []
  96. },
  97. "gridPos": {
  98. "h": 8,
  99. "w": 12,
  100. "x": 0,
  101. "y": 1
  102. },
  103. "id": 1,
  104. "options": {
  105. "legend": {
  106. "calcs": [],
  107. "displayMode": "list",
  108. "placement": "bottom",
  109. "showLegend": true
  110. },
  111. "tooltip": {
  112. "mode": "single",
  113. "sort": "none"
  114. }
  115. },
  116. "targets": [
  117. {
  118. "datasource": {
  119. "type": "prometheus",
  120. "uid": "${DS_PROMETHEUS}"
  121. },
  122. "editorMode": "code",
  123. "expr": "sum(rate(prosody_mod_smacks__sessions_started_total[5m]))",
  124. "instant": false,
  125. "legendFormat": "Smacks Sessions",
  126. "range": true,
  127. "refId": "A"
  128. }
  129. ],
  130. "title": "Smacks Sessions started",
  131. "type": "timeseries"
  132. },
  133. {
  134. "datasource": {},
  135. "fieldConfig": {
  136. "defaults": {
  137. "color": {
  138. "mode": "palette-classic"
  139. },
  140. "custom": {
  141. "axisBorderShow": false,
  142. "axisCenteredZero": false,
  143. "axisColorMode": "text",
  144. "axisLabel": "",
  145. "axisPlacement": "auto",
  146. "barAlignment": 0,
  147. "drawStyle": "line",
  148. "fillOpacity": 0,
  149. "gradientMode": "none",
  150. "hideFrom": {
  151. "legend": false,
  152. "tooltip": false,
  153. "viz": false
  154. },
  155. "insertNulls": false,
  156. "lineInterpolation": "linear",
  157. "lineWidth": 1,
  158. "pointSize": 5,
  159. "scaleDistribution": {
  160. "type": "linear"
  161. },
  162. "showPoints": "auto",
  163. "spanNulls": false,
  164. "stacking": {
  165. "group": "A",
  166. "mode": "none"
  167. },
  168. "thresholdsStyle": {
  169. "mode": "off"
  170. }
  171. },
  172. "mappings": [],
  173. "thresholds": {
  174. "mode": "absolute",
  175. "steps": [
  176. {
  177. "color": "green",
  178. "value": null
  179. },
  180. {
  181. "color": "red",
  182. "value": 80
  183. }
  184. ]
  185. }
  186. },
  187. "overrides": []
  188. },
  189. "gridPos": {
  190. "h": 8,
  191. "w": 12,
  192. "x": 12,
  193. "y": 1
  194. },
  195. "id": 2,
  196. "options": {
  197. "legend": {
  198. "calcs": [],
  199. "displayMode": "list",
  200. "placement": "bottom",
  201. "showLegend": true
  202. },
  203. "tooltip": {
  204. "mode": "single",
  205. "sort": "none"
  206. }
  207. },
  208. "targets": [
  209. {
  210. "datasource": {
  211. "type": "prometheus",
  212. "uid": "${DS_PROMETHEUS}"
  213. },
  214. "editorMode": "code",
  215. "expr": "sum(prosody_mod_smacks__session_resumption_expired_total)",
  216. "instant": false,
  217. "legendFormat": "Session Resumption Expired",
  218. "range": true,
  219. "refId": "A"
  220. }
  221. ],
  222. "title": "Session Resumption Expired",
  223. "type": "timeseries"
  224. },
  225. {
  226. "datasource": {},
  227. "fieldConfig": {
  228. "defaults": {
  229. "color": {
  230. "mode": "palette-classic"
  231. },
  232. "custom": {
  233. "axisBorderShow": false,
  234. "axisCenteredZero": false,
  235. "axisColorMode": "text",
  236. "axisLabel": "",
  237. "axisPlacement": "auto",
  238. "barAlignment": 0,
  239. "drawStyle": "line",
  240. "fillOpacity": 0,
  241. "gradientMode": "none",
  242. "hideFrom": {
  243. "legend": false,
  244. "tooltip": false,
  245. "viz": false
  246. },
  247. "insertNulls": false,
  248. "lineInterpolation": "linear",
  249. "lineWidth": 1,
  250. "pointSize": 5,
  251. "scaleDistribution": {
  252. "type": "linear"
  253. },
  254. "showPoints": "auto",
  255. "spanNulls": false,
  256. "stacking": {
  257. "group": "A",
  258. "mode": "none"
  259. },
  260. "thresholdsStyle": {
  261. "mode": "off"
  262. }
  263. },
  264. "mappings": [],
  265. "thresholds": {
  266. "mode": "absolute",
  267. "steps": [
  268. {
  269. "color": "green",
  270. "value": null
  271. },
  272. {
  273. "color": "red",
  274. "value": 80
  275. }
  276. ]
  277. }
  278. },
  279. "overrides": []
  280. },
  281. "gridPos": {
  282. "h": 8,
  283. "w": 12,
  284. "x": 0,
  285. "y": 9
  286. },
  287. "id": 3,
  288. "options": {
  289. "legend": {
  290. "calcs": [],
  291. "displayMode": "list",
  292. "placement": "bottom",
  293. "showLegend": true
  294. },
  295. "tooltip": {
  296. "mode": "single",
  297. "sort": "none"
  298. }
  299. },
  300. "targets": [
  301. {
  302. "datasource": {
  303. "type": "prometheus",
  304. "uid": "${DS_PROMETHEUS}"
  305. },
  306. "editorMode": "code",
  307. "expr": "sum(prosody_mod_bosh__active_sessions)",
  308. "instant": false,
  309. "legendFormat": "Bosh active sessions",
  310. "range": true,
  311. "refId": "A"
  312. }
  313. ],
  314. "title": "Bosh Active Sessions",
  315. "type": "timeseries"
  316. },
  317. {
  318. "datasource": {},
  319. "fieldConfig": {
  320. "defaults": {
  321. "color": {
  322. "mode": "palette-classic"
  323. },
  324. "custom": {
  325. "axisBorderShow": false,
  326. "axisCenteredZero": false,
  327. "axisColorMode": "text",
  328. "axisLabel": "",
  329. "axisPlacement": "auto",
  330. "barAlignment": 0,
  331. "drawStyle": "line",
  332. "fillOpacity": 0,
  333. "gradientMode": "none",
  334. "hideFrom": {
  335. "legend": false,
  336. "tooltip": false,
  337. "viz": false
  338. },
  339. "insertNulls": false,
  340. "lineInterpolation": "linear",
  341. "lineWidth": 1,
  342. "pointSize": 5,
  343. "scaleDistribution": {
  344. "type": "linear"
  345. },
  346. "showPoints": "auto",
  347. "spanNulls": false,
  348. "stacking": {
  349. "group": "A",
  350. "mode": "none"
  351. },
  352. "thresholdsStyle": {
  353. "mode": "off"
  354. }
  355. },
  356. "mappings": [],
  357. "thresholds": {
  358. "mode": "absolute",
  359. "steps": [
  360. {
  361. "color": "green",
  362. "value": null
  363. },
  364. {
  365. "color": "red",
  366. "value": 80
  367. }
  368. ]
  369. }
  370. },
  371. "overrides": []
  372. },
  373. "gridPos": {
  374. "h": 8,
  375. "w": 12,
  376. "x": 12,
  377. "y": 9
  378. },
  379. "id": 6,
  380. "options": {
  381. "legend": {
  382. "calcs": [],
  383. "displayMode": "hidden",
  384. "placement": "right",
  385. "showLegend": false
  386. },
  387. "tooltip": {
  388. "mode": "single",
  389. "sort": "none"
  390. }
  391. },
  392. "targets": [
  393. {
  394. "datasource": {
  395. "type": "prometheus",
  396. "uid": "${DS_PROMETHEUS}"
  397. },
  398. "editorMode": "code",
  399. "expr": "sum(prosody_mod_c2s__connections) by (ip_family)",
  400. "instant": false,
  401. "legendFormat": "{{label_name}}",
  402. "range": true,
  403. "refId": "A"
  404. }
  405. ],
  406. "title": "C2S Connections by IP Family",
  407. "type": "timeseries"
  408. },
  409. {
  410. "collapsed": false,
  411. "gridPos": {
  412. "h": 1,
  413. "w": 24,
  414. "x": 0,
  415. "y": 17
  416. },
  417. "id": 10,
  418. "panels": [],
  419. "title": "Stanza Handling",
  420. "type": "row"
  421. },
  422. {
  423. "datasource": {},
  424. "fieldConfig": {
  425. "defaults": {
  426. "color": {
  427. "mode": "palette-classic"
  428. },
  429. "custom": {
  430. "axisBorderShow": false,
  431. "axisCenteredZero": false,
  432. "axisColorMode": "text",
  433. "axisLabel": "",
  434. "axisPlacement": "auto",
  435. "barAlignment": 0,
  436. "drawStyle": "line",
  437. "fillOpacity": 0,
  438. "gradientMode": "none",
  439. "hideFrom": {
  440. "legend": false,
  441. "tooltip": false,
  442. "viz": false
  443. },
  444. "insertNulls": false,
  445. "lineInterpolation": "linear",
  446. "lineWidth": 1,
  447. "pointSize": 5,
  448. "scaleDistribution": {
  449. "type": "linear"
  450. },
  451. "showPoints": "auto",
  452. "spanNulls": false,
  453. "stacking": {
  454. "group": "A",
  455. "mode": "none"
  456. },
  457. "thresholdsStyle": {
  458. "mode": "off"
  459. }
  460. },
  461. "mappings": [],
  462. "thresholds": {
  463. "mode": "absolute",
  464. "steps": [
  465. {
  466. "color": "green",
  467. "value": null
  468. },
  469. {
  470. "color": "red",
  471. "value": 80
  472. }
  473. ]
  474. }
  475. },
  476. "overrides": []
  477. },
  478. "gridPos": {
  479. "h": 8,
  480. "w": 12,
  481. "x": 0,
  482. "y": 18
  483. },
  484. "id": 8,
  485. "options": {
  486. "legend": {
  487. "calcs": [],
  488. "displayMode": "list",
  489. "placement": "bottom",
  490. "showLegend": true
  491. },
  492. "tooltip": {
  493. "mode": "single",
  494. "sort": "none"
  495. }
  496. },
  497. "targets": [
  498. {
  499. "datasource": {
  500. "type": "prometheus",
  501. "uid": "${DS_PROMETHEUS}"
  502. },
  503. "editorMode": "code",
  504. "expr": "sum(prosody_mod_smacks__tx_queued_stanzas_total)",
  505. "instant": false,
  506. "legendFormat": "TX Queued Stanzas",
  507. "range": true,
  508. "refId": "A"
  509. }
  510. ],
  511. "title": "TX Queued Stanzas",
  512. "type": "timeseries"
  513. },
  514. {
  515. "datasource": {
  516. "type": "prometheus",
  517. "uid": "bbb38190-2464-44ea-8080-f9ca9e3dcd61"
  518. },
  519. "fieldConfig": {
  520. "defaults": {
  521. "color": {
  522. "mode": "palette-classic"
  523. },
  524. "custom": {
  525. "axisBorderShow": false,
  526. "axisCenteredZero": false,
  527. "axisColorMode": "text",
  528. "axisLabel": "",
  529. "axisPlacement": "auto",
  530. "barAlignment": 0,
  531. "drawStyle": "line",
  532. "fillOpacity": 0,
  533. "gradientMode": "none",
  534. "hideFrom": {
  535. "legend": false,
  536. "tooltip": false,
  537. "viz": false
  538. },
  539. "insertNulls": false,
  540. "lineInterpolation": "linear",
  541. "lineWidth": 1,
  542. "pointSize": 5,
  543. "scaleDistribution": {
  544. "type": "linear"
  545. },
  546. "showPoints": "auto",
  547. "spanNulls": false,
  548. "stacking": {
  549. "group": "A",
  550. "mode": "none"
  551. },
  552. "thresholdsStyle": {
  553. "mode": "off"
  554. }
  555. },
  556. "mappings": [],
  557. "thresholds": {
  558. "mode": "absolute",
  559. "steps": [
  560. {
  561. "color": "green",
  562. "value": null
  563. },
  564. {
  565. "color": "red",
  566. "value": 80
  567. }
  568. ]
  569. }
  570. },
  571. "overrides": []
  572. },
  573. "gridPos": {
  574. "h": 8,
  575. "w": 12,
  576. "x": 12,
  577. "y": 18
  578. },
  579. "id": 21,
  580. "options": {
  581. "legend": {
  582. "calcs": [],
  583. "displayMode": "list",
  584. "placement": "bottom",
  585. "showLegend": true
  586. },
  587. "tooltip": {
  588. "mode": "single",
  589. "sort": "none"
  590. }
  591. },
  592. "targets": [
  593. {
  594. "datasource": {
  595. "type": "prometheus",
  596. "uid": "bbb38190-2464-44ea-8080-f9ca9e3dcd61"
  597. },
  598. "editorMode": "code",
  599. "expr": "sum(prosody_mod_measure_stanza_counts__received_total)by(stanza_kind)",
  600. "instant": false,
  601. "legendFormat": "__auto",
  602. "range": true,
  603. "refId": "A"
  604. }
  605. ],
  606. "title": "Stanza Counts",
  607. "type": "timeseries"
  608. },
  609. {
  610. "datasource": {},
  611. "fieldConfig": {
  612. "defaults": {
  613. "color": {
  614. "mode": "palette-classic"
  615. },
  616. "custom": {
  617. "axisBorderShow": false,
  618. "axisCenteredZero": false,
  619. "axisColorMode": "text",
  620. "axisLabel": "",
  621. "axisPlacement": "auto",
  622. "barAlignment": 0,
  623. "drawStyle": "line",
  624. "fillOpacity": 0,
  625. "gradientMode": "none",
  626. "hideFrom": {
  627. "legend": false,
  628. "tooltip": false,
  629. "viz": false
  630. },
  631. "insertNulls": false,
  632. "lineInterpolation": "linear",
  633. "lineWidth": 1,
  634. "pointSize": 5,
  635. "scaleDistribution": {
  636. "type": "linear"
  637. },
  638. "showPoints": "auto",
  639. "spanNulls": false,
  640. "stacking": {
  641. "group": "A",
  642. "mode": "none"
  643. },
  644. "thresholdsStyle": {
  645. "mode": "off"
  646. }
  647. },
  648. "mappings": [],
  649. "thresholds": {
  650. "mode": "absolute",
  651. "steps": [
  652. {
  653. "color": "green",
  654. "value": null
  655. },
  656. {
  657. "color": "red",
  658. "value": 80
  659. }
  660. ]
  661. }
  662. },
  663. "overrides": []
  664. },
  665. "gridPos": {
  666. "h": 8,
  667. "w": 12,
  668. "x": 0,
  669. "y": 26
  670. },
  671. "id": 9,
  672. "options": {
  673. "legend": {
  674. "calcs": [],
  675. "displayMode": "list",
  676. "placement": "bottom",
  677. "showLegend": true
  678. },
  679. "tooltip": {
  680. "mode": "single",
  681. "sort": "none"
  682. }
  683. },
  684. "targets": [
  685. {
  686. "datasource": {
  687. "type": "prometheus",
  688. "uid": "${DS_PROMETHEUS}"
  689. },
  690. "editorMode": "code",
  691. "expr": "sum(rate(prosody_mod_smacks__tx_dropped_stanzas_count[5m]))",
  692. "instant": false,
  693. "legendFormat": "Rate of Dropped Stanzas",
  694. "range": true,
  695. "refId": "A"
  696. }
  697. ],
  698. "title": "Dropped Stanzas Rate",
  699. "type": "timeseries"
  700. },
  701. {
  702. "collapsed": false,
  703. "gridPos": {
  704. "h": 1,
  705. "w": 24,
  706. "x": 0,
  707. "y": 34
  708. },
  709. "id": 13,
  710. "panels": [],
  711. "title": "Processing Performance",
  712. "type": "row"
  713. },
  714. {
  715. "datasource": {},
  716. "fieldConfig": {
  717. "defaults": {
  718. "color": {
  719. "mode": "palette-classic"
  720. },
  721. "custom": {
  722. "axisBorderShow": false,
  723. "axisCenteredZero": false,
  724. "axisColorMode": "text",
  725. "axisLabel": "",
  726. "axisPlacement": "auto",
  727. "barAlignment": 0,
  728. "drawStyle": "line",
  729. "fillOpacity": 0,
  730. "gradientMode": "none",
  731. "hideFrom": {
  732. "legend": false,
  733. "tooltip": false,
  734. "viz": false
  735. },
  736. "insertNulls": false,
  737. "lineInterpolation": "linear",
  738. "lineWidth": 1,
  739. "pointSize": 5,
  740. "scaleDistribution": {
  741. "type": "linear"
  742. },
  743. "showPoints": "auto",
  744. "spanNulls": false,
  745. "stacking": {
  746. "group": "A",
  747. "mode": "none"
  748. },
  749. "thresholdsStyle": {
  750. "mode": "off"
  751. }
  752. },
  753. "mappings": [],
  754. "thresholds": {
  755. "mode": "absolute",
  756. "steps": [
  757. {
  758. "color": "green",
  759. "value": null
  760. },
  761. {
  762. "color": "red",
  763. "value": 80
  764. }
  765. ]
  766. }
  767. },
  768. "overrides": []
  769. },
  770. "gridPos": {
  771. "h": 8,
  772. "w": 12,
  773. "x": 0,
  774. "y": 35
  775. },
  776. "id": 12,
  777. "options": {
  778. "legend": {
  779. "calcs": [],
  780. "displayMode": "hidden",
  781. "placement": "right",
  782. "showLegend": false
  783. },
  784. "tooltip": {
  785. "mode": "single",
  786. "sort": "none"
  787. }
  788. },
  789. "targets": [
  790. {
  791. "datasource": {
  792. "type": "prometheus",
  793. "uid": "${DS_PROMETHEUS}"
  794. },
  795. "editorMode": "code",
  796. "expr": "sum(rate(prosody_stats_processing_seconds_sum[5m]))*1000000",
  797. "instant": false,
  798. "legendFormat": "Processing in microsecond",
  799. "range": true,
  800. "refId": "A"
  801. }
  802. ],
  803. "title": "Processing time Sum",
  804. "type": "timeseries"
  805. },
  806. {
  807. "datasource": {},
  808. "fieldConfig": {
  809. "defaults": {
  810. "color": {
  811. "mode": "thresholds"
  812. },
  813. "custom": {
  814. "fillOpacity": 80,
  815. "gradientMode": "none",
  816. "hideFrom": {
  817. "legend": false,
  818. "tooltip": false,
  819. "viz": false
  820. },
  821. "lineWidth": 1
  822. },
  823. "mappings": [],
  824. "thresholds": {
  825. "mode": "absolute",
  826. "steps": [
  827. {
  828. "color": "green",
  829. "value": null
  830. },
  831. {
  832. "color": "red",
  833. "value": 80
  834. }
  835. ]
  836. }
  837. },
  838. "overrides": [
  839. {
  840. "__systemRef": "hideSeriesFrom",
  841. "matcher": {
  842. "id": "byNames",
  843. "options": {
  844. "mode": "exclude",
  845. "names": [
  846. "Processing"
  847. ],
  848. "prefix": "All except:",
  849. "readOnly": true
  850. }
  851. },
  852. "properties": [
  853. {
  854. "id": "custom.hideFrom",
  855. "value": {
  856. "legend": false,
  857. "tooltip": false,
  858. "viz": true
  859. }
  860. }
  861. ]
  862. },
  863. {
  864. "matcher": {
  865. "id": "byName",
  866. "options": "Processing"
  867. },
  868. "properties": [
  869. {
  870. "id": "color",
  871. "value": {
  872. "fixedColor": "green",
  873. "mode": "fixed"
  874. }
  875. }
  876. ]
  877. }
  878. ]
  879. },
  880. "gridPos": {
  881. "h": 8,
  882. "w": 12,
  883. "x": 12,
  884. "y": 35
  885. },
  886. "id": 11,
  887. "options": {
  888. "bucketOffset": 0,
  889. "legend": {
  890. "calcs": [],
  891. "displayMode": "list",
  892. "placement": "bottom",
  893. "showLegend": true
  894. }
  895. },
  896. "pluginVersion": "10.2.0",
  897. "targets": [
  898. {
  899. "datasource": {
  900. "type": "prometheus",
  901. "uid": "${DS_PROMETHEUS}"
  902. },
  903. "editorMode": "code",
  904. "expr": "histogram_quantile(0.90, sum(rate(prosody_stats_processing_seconds_bucket[5m])) by (le))",
  905. "instant": false,
  906. "legendFormat": "Processing",
  907. "range": true,
  908. "refId": "A"
  909. }
  910. ],
  911. "title": "Processing time Histogram",
  912. "type": "histogram"
  913. },
  914. {
  915. "collapsed": false,
  916. "gridPos": {
  917. "h": 1,
  918. "w": 24,
  919. "x": 0,
  920. "y": 43
  921. },
  922. "id": 16,
  923. "panels": [],
  924. "title": "Room Metrics",
  925. "type": "row"
  926. },
  927. {
  928. "datasource": {
  929. "type": "prometheus",
  930. "uid": "bbb38190-2464-44ea-8080-f9ca9e3dcd61"
  931. },
  932. "fieldConfig": {
  933. "defaults": {
  934. "color": {
  935. "mode": "palette-classic"
  936. },
  937. "custom": {
  938. "axisBorderShow": false,
  939. "axisCenteredZero": false,
  940. "axisColorMode": "text",
  941. "axisLabel": "",
  942. "axisPlacement": "auto",
  943. "barAlignment": 0,
  944. "drawStyle": "line",
  945. "fillOpacity": 0,
  946. "gradientMode": "none",
  947. "hideFrom": {
  948. "legend": false,
  949. "tooltip": false,
  950. "viz": false
  951. },
  952. "insertNulls": false,
  953. "lineInterpolation": "linear",
  954. "lineWidth": 1,
  955. "pointSize": 5,
  956. "scaleDistribution": {
  957. "type": "linear"
  958. },
  959. "showPoints": "auto",
  960. "spanNulls": false,
  961. "stacking": {
  962. "group": "A",
  963. "mode": "none"
  964. },
  965. "thresholdsStyle": {
  966. "mode": "off"
  967. }
  968. },
  969. "mappings": [],
  970. "thresholds": {
  971. "mode": "absolute",
  972. "steps": [
  973. {
  974. "color": "green"
  975. },
  976. {
  977. "color": "red",
  978. "value": 80
  979. }
  980. ]
  981. }
  982. },
  983. "overrides": []
  984. },
  985. "gridPos": {
  986. "h": 8,
  987. "w": 12,
  988. "x": 0,
  989. "y": 44
  990. },
  991. "id": 15,
  992. "options": {
  993. "legend": {
  994. "calcs": [],
  995. "displayMode": "list",
  996. "placement": "bottom",
  997. "showLegend": true
  998. },
  999. "tooltip": {
  1000. "mode": "single",
  1001. "sort": "none"
  1002. }
  1003. },
  1004. "targets": [
  1005. {
  1006. "datasource": {
  1007. "type": "prometheus",
  1008. "uid": "${DS_PROMETHEUS}"
  1009. },
  1010. "editorMode": "code",
  1011. "expr": "sum(prosody_mod_muc__room_hit_total{host!~\"internal-muc.*\"}) by (host)",
  1012. "instant": false,
  1013. "legendFormat": "__auto",
  1014. "range": true,
  1015. "refId": "A"
  1016. }
  1017. ],
  1018. "title": "Room Hits",
  1019. "type": "timeseries"
  1020. },
  1021. {
  1022. "datasource": {
  1023. "type": "prometheus",
  1024. "uid": "bbb38190-2464-44ea-8080-f9ca9e3dcd61"
  1025. },
  1026. "fieldConfig": {
  1027. "defaults": {
  1028. "mappings": [],
  1029. "thresholds": {
  1030. "mode": "percentage",
  1031. "steps": [
  1032. {
  1033. "color": "green"
  1034. },
  1035. {
  1036. "color": "orange",
  1037. "value": 70
  1038. },
  1039. {
  1040. "color": "red",
  1041. "value": 85
  1042. }
  1043. ]
  1044. }
  1045. },
  1046. "overrides": []
  1047. },
  1048. "gridPos": {
  1049. "h": 8,
  1050. "w": 12,
  1051. "x": 12,
  1052. "y": 44
  1053. },
  1054. "id": 14,
  1055. "options": {
  1056. "minVizHeight": 75,
  1057. "minVizWidth": 75,
  1058. "orientation": "auto",
  1059. "reduceOptions": {
  1060. "calcs": [
  1061. "lastNotNull"
  1062. ],
  1063. "fields": "",
  1064. "values": false
  1065. },
  1066. "showThresholdLabels": false,
  1067. "showThresholdMarkers": true
  1068. },
  1069. "pluginVersion": "10.2.0",
  1070. "targets": [
  1071. {
  1072. "datasource": {
  1073. "type": "prometheus",
  1074. "uid": "${DS_PROMETHEUS}"
  1075. },
  1076. "editorMode": "code",
  1077. "expr": "sum(prosody_mod_muc__live_room{host!~\"internal-muc.*\"})by(host)\n",
  1078. "instant": false,
  1079. "legendFormat": "__auto",
  1080. "range": true,
  1081. "refId": "A"
  1082. }
  1083. ],
  1084. "title": "Live MUC Rooms",
  1085. "type": "gauge"
  1086. },
  1087. {
  1088. "datasource": {
  1089. "type": "prometheus",
  1090. "uid": "bbb38190-2464-44ea-8080-f9ca9e3dcd61"
  1091. },
  1092. "fieldConfig": {
  1093. "defaults": {
  1094. "color": {
  1095. "mode": "palette-classic"
  1096. },
  1097. "custom": {
  1098. "axisBorderShow": false,
  1099. "axisCenteredZero": false,
  1100. "axisColorMode": "text",
  1101. "axisLabel": "",
  1102. "axisPlacement": "auto",
  1103. "barAlignment": 0,
  1104. "drawStyle": "line",
  1105. "fillOpacity": 0,
  1106. "gradientMode": "none",
  1107. "hideFrom": {
  1108. "legend": false,
  1109. "tooltip": false,
  1110. "viz": false
  1111. },
  1112. "insertNulls": false,
  1113. "lineInterpolation": "linear",
  1114. "lineWidth": 1,
  1115. "pointSize": 5,
  1116. "scaleDistribution": {
  1117. "type": "linear"
  1118. },
  1119. "showPoints": "auto",
  1120. "spanNulls": false,
  1121. "stacking": {
  1122. "group": "A",
  1123. "mode": "none"
  1124. },
  1125. "thresholdsStyle": {
  1126. "mode": "off"
  1127. }
  1128. },
  1129. "mappings": [],
  1130. "thresholds": {
  1131. "mode": "absolute",
  1132. "steps": [
  1133. {
  1134. "color": "green"
  1135. },
  1136. {
  1137. "color": "red",
  1138. "value": 80
  1139. }
  1140. ]
  1141. }
  1142. },
  1143. "overrides": []
  1144. },
  1145. "gridPos": {
  1146. "h": 8,
  1147. "w": 12,
  1148. "x": 0,
  1149. "y": 52
  1150. },
  1151. "id": 20,
  1152. "options": {
  1153. "legend": {
  1154. "calcs": [],
  1155. "displayMode": "list",
  1156. "placement": "bottom",
  1157. "showLegend": true
  1158. },
  1159. "tooltip": {
  1160. "mode": "single",
  1161. "sort": "none"
  1162. }
  1163. },
  1164. "targets": [
  1165. {
  1166. "datasource": {
  1167. "type": "prometheus",
  1168. "uid": "${DS_PROMETHEUS}"
  1169. },
  1170. "editorMode": "code",
  1171. "expr": "sum(prosody_mod_muc__room_miss_total{host!~\"internal-muc.*\"})by(host)",
  1172. "instant": false,
  1173. "legendFormat": "__auto",
  1174. "range": true,
  1175. "refId": "A"
  1176. }
  1177. ],
  1178. "title": "MUC Room Miss",
  1179. "type": "timeseries"
  1180. },
  1181. {
  1182. "collapsed": false,
  1183. "gridPos": {
  1184. "h": 1,
  1185. "w": 24,
  1186. "x": 0,
  1187. "y": 60
  1188. },
  1189. "id": 19,
  1190. "panels": [],
  1191. "title": "Error Monitoring",
  1192. "type": "row"
  1193. },
  1194. {
  1195. "datasource": {},
  1196. "fieldConfig": {
  1197. "defaults": {
  1198. "color": {
  1199. "mode": "palette-classic"
  1200. },
  1201. "custom": {
  1202. "axisBorderShow": false,
  1203. "axisCenteredZero": false,
  1204. "axisColorMode": "text",
  1205. "axisLabel": "",
  1206. "axisPlacement": "auto",
  1207. "barAlignment": 0,
  1208. "drawStyle": "line",
  1209. "fillOpacity": 0,
  1210. "gradientMode": "none",
  1211. "hideFrom": {
  1212. "legend": false,
  1213. "tooltip": false,
  1214. "viz": false
  1215. },
  1216. "insertNulls": false,
  1217. "lineInterpolation": "linear",
  1218. "lineWidth": 1,
  1219. "pointSize": 5,
  1220. "scaleDistribution": {
  1221. "type": "linear"
  1222. },
  1223. "showPoints": "auto",
  1224. "spanNulls": false,
  1225. "stacking": {
  1226. "group": "A",
  1227. "mode": "none"
  1228. },
  1229. "thresholdsStyle": {
  1230. "mode": "off"
  1231. }
  1232. },
  1233. "mappings": [],
  1234. "thresholds": {
  1235. "mode": "absolute",
  1236. "steps": [
  1237. {
  1238. "color": "green"
  1239. },
  1240. {
  1241. "color": "red",
  1242. "value": 80
  1243. }
  1244. ]
  1245. }
  1246. },
  1247. "overrides": []
  1248. },
  1249. "gridPos": {
  1250. "h": 8,
  1251. "w": 12,
  1252. "x": 0,
  1253. "y": 61
  1254. },
  1255. "id": 17,
  1256. "options": {
  1257. "legend": {
  1258. "calcs": [],
  1259. "displayMode": "list",
  1260. "placement": "bottom",
  1261. "showLegend": true
  1262. },
  1263. "tooltip": {
  1264. "mode": "single",
  1265. "sort": "none"
  1266. }
  1267. },
  1268. "targets": [
  1269. {
  1270. "datasource": {
  1271. "type": "prometheus",
  1272. "uid": "${DS_PROMETHEUS}"
  1273. },
  1274. "editorMode": "code",
  1275. "expr": "sum(prosody_mod_bosh__bad_sid_total)",
  1276. "instant": false,
  1277. "legendFormat": "Bad Bosh Sessions",
  1278. "range": true,
  1279. "refId": "A"
  1280. }
  1281. ],
  1282. "title": "Bad Bosh Session IDs",
  1283. "type": "timeseries"
  1284. },
  1285. {
  1286. "datasource": {},
  1287. "fieldConfig": {
  1288. "defaults": {
  1289. "color": {
  1290. "mode": "palette-classic"
  1291. },
  1292. "custom": {
  1293. "axisBorderShow": false,
  1294. "axisCenteredZero": false,
  1295. "axisColorMode": "text",
  1296. "axisLabel": "",
  1297. "axisPlacement": "auto",
  1298. "barAlignment": 0,
  1299. "drawStyle": "line",
  1300. "fillOpacity": 0,
  1301. "gradientMode": "none",
  1302. "hideFrom": {
  1303. "legend": false,
  1304. "tooltip": false,
  1305. "viz": false
  1306. },
  1307. "insertNulls": false,
  1308. "lineInterpolation": "linear",
  1309. "lineWidth": 1,
  1310. "pointSize": 5,
  1311. "scaleDistribution": {
  1312. "type": "linear"
  1313. },
  1314. "showPoints": "auto",
  1315. "spanNulls": false,
  1316. "stacking": {
  1317. "group": "A",
  1318. "mode": "none"
  1319. },
  1320. "thresholdsStyle": {
  1321. "mode": "off"
  1322. }
  1323. },
  1324. "mappings": [],
  1325. "thresholds": {
  1326. "mode": "absolute",
  1327. "steps": [
  1328. {
  1329. "color": "green"
  1330. },
  1331. {
  1332. "color": "red",
  1333. "value": 80
  1334. }
  1335. ]
  1336. }
  1337. },
  1338. "overrides": []
  1339. },
  1340. "gridPos": {
  1341. "h": 8,
  1342. "w": 12,
  1343. "x": 12,
  1344. "y": 61
  1345. },
  1346. "id": 18,
  1347. "options": {
  1348. "legend": {
  1349. "calcs": [],
  1350. "displayMode": "list",
  1351. "placement": "bottom",
  1352. "showLegend": true
  1353. },
  1354. "tooltip": {
  1355. "mode": "single",
  1356. "sort": "none"
  1357. }
  1358. },
  1359. "targets": [
  1360. {
  1361. "datasource": {
  1362. "type": "prometheus",
  1363. "uid": "${DS_PROMETHEUS}"
  1364. },
  1365. "editorMode": "code",
  1366. "expr": "sum(prosody_mod_bosh__new_sid_total)",
  1367. "instant": false,
  1368. "legendFormat": "New Bosh",
  1369. "range": true,
  1370. "refId": "A"
  1371. }
  1372. ],
  1373. "title": "New Bosh SIDs",
  1374. "type": "timeseries"
  1375. }
  1376. ],
  1377. "refresh": "5s",
  1378. "schemaVersion": 38,
  1379. "tags": [],
  1380. "templating": {
  1381. "list": []
  1382. },
  1383. "time": {
  1384. "from": "now-1h",
  1385. "to": "now"
  1386. },
  1387. "timepicker": {},
  1388. "timezone": "",
  1389. "title": "Prosody Dashboard",
  1390. "uid": "c8b1b5f8-6b45-4fa7-92b2-01cc164e2f94asdf",
  1391. "version": 1,
  1392. "weekStart": ""
  1393. }