helm collabora kubernetes
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

2902 lines
69 KiB

  1. {
  2. "__inputs": [
  3. ],
  4. "__elements": {},
  5. "__requires": [
  6. {
  7. "type": "grafana",
  8. "id": "grafana",
  9. "name": "Grafana",
  10. "version": "9.0.5"
  11. },
  12. {
  13. "type": "datasource",
  14. "id": "prometheus",
  15. "name": "Prometheus",
  16. "version": "1.0.0"
  17. },
  18. {
  19. "type": "panel",
  20. "id": "stat",
  21. "name": "Stat",
  22. "version": ""
  23. },
  24. {
  25. "type": "panel",
  26. "id": "timeseries",
  27. "name": "Time series",
  28. "version": ""
  29. }
  30. ],
  31. "annotations": {
  32. "list": [
  33. {
  34. "builtIn": 1,
  35. "datasource": {
  36. "type": "grafana",
  37. "uid": "-- Grafana --"
  38. },
  39. "enable": true,
  40. "hide": true,
  41. "iconColor": "rgba(0, 211, 255, 1)",
  42. "name": "Annotations & Alerts",
  43. "target": {
  44. "limit": 100,
  45. "matchAny": false,
  46. "tags": [],
  47. "type": "dashboard"
  48. },
  49. "type": "dashboard"
  50. }
  51. ]
  52. },
  53. "editable": true,
  54. "fiscalYearStartMonth": 0,
  55. "graphTooltip": 0,
  56. "id": null,
  57. "links": [],
  58. "liveNow": false,
  59. "panels": [
  60. {
  61. "datasource": {
  62. "type": "prometheus",
  63. "uid": "${DS_PROMETHEUS}"
  64. },
  65. "fieldConfig": {
  66. "defaults": {
  67. "color": {
  68. "fixedColor": "dark-blue",
  69. "mode": "fixed"
  70. },
  71. "mappings": [],
  72. "thresholds": {
  73. "mode": "absolute",
  74. "steps": [
  75. {
  76. "color": "green",
  77. "value": null
  78. }
  79. ]
  80. }
  81. },
  82. "overrides": []
  83. },
  84. "gridPos": {
  85. "h": 4,
  86. "w": 5,
  87. "x": 0,
  88. "y": 0
  89. },
  90. "id": 4,
  91. "options": {
  92. "colorMode": "value",
  93. "graphMode": "area",
  94. "justifyMode": "auto",
  95. "orientation": "auto",
  96. "reduceOptions": {
  97. "calcs": [
  98. "lastNotNull"
  99. ],
  100. "fields": "",
  101. "values": false
  102. },
  103. "textMode": "auto"
  104. },
  105. "pluginVersion": "9.0.5",
  106. "targets": [
  107. {
  108. "datasource": {
  109. "type": "prometheus",
  110. "uid": "${DS_PROMETHEUS}"
  111. },
  112. "editorMode": "code",
  113. "expr": "sum(kubelet_node_name{env_id=~\"$env_id\"})by(env_id)",
  114. "legendFormat": "{{env_id}}",
  115. "range": true,
  116. "refId": "A"
  117. }
  118. ],
  119. "title": "Nodes",
  120. "transparent": true,
  121. "type": "stat"
  122. },
  123. {
  124. "datasource": {
  125. "type": "prometheus",
  126. "uid": "${DS_PROMETHEUS}"
  127. },
  128. "fieldConfig": {
  129. "defaults": {
  130. "color": {
  131. "mode": "fixed"
  132. },
  133. "mappings": [],
  134. "thresholds": {
  135. "mode": "absolute",
  136. "steps": [
  137. {
  138. "color": "green",
  139. "value": null
  140. }
  141. ]
  142. }
  143. },
  144. "overrides": []
  145. },
  146. "gridPos": {
  147. "h": 4,
  148. "w": 5,
  149. "x": 5,
  150. "y": 0
  151. },
  152. "id": 19,
  153. "options": {
  154. "colorMode": "value",
  155. "graphMode": "area",
  156. "justifyMode": "auto",
  157. "orientation": "auto",
  158. "reduceOptions": {
  159. "calcs": [
  160. "lastNotNull"
  161. ],
  162. "fields": "",
  163. "values": false
  164. },
  165. "textMode": "auto"
  166. },
  167. "pluginVersion": "9.0.5",
  168. "targets": [
  169. {
  170. "datasource": {
  171. "type": "prometheus",
  172. "uid": "${DS_PROMETHEUS}"
  173. },
  174. "editorMode": "code",
  175. "expr": "count(coolwsd_count{env_id=~\"$env_id\"})by(env_id)",
  176. "legendFormat": "{{env_id}}",
  177. "range": true,
  178. "refId": "A"
  179. }
  180. ],
  181. "title": "Pods",
  182. "transparent": true,
  183. "type": "stat"
  184. },
  185. {
  186. "datasource": {
  187. "type": "prometheus",
  188. "uid": "${DS_PROMETHEUS}"
  189. },
  190. "fieldConfig": {
  191. "defaults": {
  192. "color": {
  193. "fixedColor": "purple",
  194. "mode": "fixed"
  195. },
  196. "mappings": [],
  197. "thresholds": {
  198. "mode": "absolute",
  199. "steps": [
  200. {
  201. "color": "green",
  202. "value": null
  203. }
  204. ]
  205. }
  206. },
  207. "overrides": []
  208. },
  209. "gridPos": {
  210. "h": 4,
  211. "w": 5,
  212. "x": 10,
  213. "y": 0
  214. },
  215. "id": 5,
  216. "options": {
  217. "colorMode": "value",
  218. "graphMode": "area",
  219. "justifyMode": "auto",
  220. "orientation": "auto",
  221. "reduceOptions": {
  222. "calcs": [
  223. "lastNotNull"
  224. ],
  225. "fields": "",
  226. "values": false
  227. },
  228. "textMode": "auto"
  229. },
  230. "pluginVersion": "9.0.5",
  231. "targets": [
  232. {
  233. "datasource": {
  234. "type": "prometheus",
  235. "uid": "${DS_PROMETHEUS}"
  236. },
  237. "editorMode": "code",
  238. "expr": "sum(kit_assigned_count{env_id=~\"$env_id\"})by(env_id)",
  239. "legendFormat": "{{env_id}}",
  240. "range": true,
  241. "refId": "A"
  242. }
  243. ],
  244. "title": "Open Docs",
  245. "transparent": true,
  246. "type": "stat"
  247. },
  248. {
  249. "datasource": {
  250. "type": "prometheus",
  251. "uid": "${DS_PROMETHEUS}"
  252. },
  253. "fieldConfig": {
  254. "defaults": {
  255. "color": {
  256. "fixedColor": "purple",
  257. "mode": "fixed"
  258. },
  259. "mappings": [],
  260. "thresholds": {
  261. "mode": "absolute",
  262. "steps": [
  263. {
  264. "color": "green",
  265. "value": null
  266. }
  267. ]
  268. }
  269. },
  270. "overrides": []
  271. },
  272. "gridPos": {
  273. "h": 4,
  274. "w": 4,
  275. "x": 15,
  276. "y": 0
  277. },
  278. "id": 28,
  279. "options": {
  280. "colorMode": "value",
  281. "graphMode": "area",
  282. "justifyMode": "auto",
  283. "orientation": "auto",
  284. "reduceOptions": {
  285. "calcs": [
  286. "lastNotNull"
  287. ],
  288. "fields": "",
  289. "values": false
  290. },
  291. "textMode": "auto"
  292. },
  293. "pluginVersion": "9.0.5",
  294. "targets": [
  295. {
  296. "datasource": {
  297. "type": "prometheus",
  298. "uid": "${DS_PROMETHEUS}"
  299. },
  300. "editorMode": "code",
  301. "expr": "max(doc_views_active{env_id=~\"$env_id\"})by(env_id)",
  302. "legendFormat": "{{env_id}}",
  303. "range": true,
  304. "refId": "A"
  305. }
  306. ],
  307. "title": "Highes Viewer on Doc",
  308. "transparent": true,
  309. "type": "stat"
  310. },
  311. {
  312. "datasource": {
  313. "type": "prometheus",
  314. "uid": "${DS_PROMETHEUS}"
  315. },
  316. "fieldConfig": {
  317. "defaults": {
  318. "color": {
  319. "mode": "thresholds"
  320. },
  321. "mappings": [],
  322. "thresholds": {
  323. "mode": "absolute",
  324. "steps": [
  325. {
  326. "color": "green",
  327. "value": null
  328. },
  329. {
  330. "color": "red",
  331. "value": 80
  332. }
  333. ]
  334. }
  335. },
  336. "overrides": []
  337. },
  338. "gridPos": {
  339. "h": 4,
  340. "w": 5,
  341. "x": 19,
  342. "y": 0
  343. },
  344. "id": 17,
  345. "options": {
  346. "colorMode": "value",
  347. "graphMode": "area",
  348. "justifyMode": "auto",
  349. "orientation": "auto",
  350. "reduceOptions": {
  351. "calcs": [
  352. "lastNotNull"
  353. ],
  354. "fields": "",
  355. "values": false
  356. },
  357. "textMode": "auto"
  358. },
  359. "pluginVersion": "9.0.5",
  360. "targets": [
  361. {
  362. "datasource": {
  363. "type": "prometheus",
  364. "uid": "${DS_PROMETHEUS}"
  365. },
  366. "editorMode": "code",
  367. "expr": "sum(document_active_views_active_count_total{env_id=~\"$env_id\"})by(env_id)",
  368. "legendFormat": "{{env_id}}",
  369. "range": true,
  370. "refId": "A"
  371. }
  372. ],
  373. "title": "Viewers",
  374. "transparent": true,
  375. "type": "stat"
  376. },
  377. {
  378. "datasource": {
  379. "type": "prometheus",
  380. "uid": "${DS_PROMETHEUS}"
  381. },
  382. "fieldConfig": {
  383. "defaults": {
  384. "color": {
  385. "mode": "palette-classic"
  386. },
  387. "custom": {
  388. "axisLabel": "",
  389. "axisPlacement": "auto",
  390. "barAlignment": 0,
  391. "drawStyle": "line",
  392. "fillOpacity": 0,
  393. "gradientMode": "none",
  394. "hideFrom": {
  395. "legend": false,
  396. "tooltip": false,
  397. "viz": false
  398. },
  399. "lineInterpolation": "linear",
  400. "lineWidth": 1,
  401. "pointSize": 5,
  402. "scaleDistribution": {
  403. "type": "linear"
  404. },
  405. "showPoints": "auto",
  406. "spanNulls": false,
  407. "stacking": {
  408. "group": "A",
  409. "mode": "none"
  410. },
  411. "thresholdsStyle": {
  412. "mode": "off"
  413. }
  414. },
  415. "mappings": [],
  416. "thresholds": {
  417. "mode": "absolute",
  418. "steps": [
  419. {
  420. "color": "green",
  421. "value": null
  422. },
  423. {
  424. "color": "red",
  425. "value": 80
  426. }
  427. ]
  428. }
  429. },
  430. "overrides": []
  431. },
  432. "gridPos": {
  433. "h": 8,
  434. "w": 24,
  435. "x": 0,
  436. "y": 4
  437. },
  438. "id": 44,
  439. "options": {
  440. "legend": {
  441. "calcs": [
  442. "lastNotNull",
  443. "mean",
  444. "max"
  445. ],
  446. "displayMode": "table",
  447. "placement": "right"
  448. },
  449. "tooltip": {
  450. "mode": "single",
  451. "sort": "none"
  452. }
  453. },
  454. "targets": [
  455. {
  456. "datasource": {
  457. "type": "prometheus",
  458. "uid": "${DS_PROMETHEUS}"
  459. },
  460. "editorMode": "code",
  461. "expr": "count(doc_pid{env_id=~\"$env_id\"})by(host,env_id)",
  462. "legendFormat": "{{env_id}}: {{host}}",
  463. "range": true,
  464. "refId": "A"
  465. }
  466. ],
  467. "title": "Documents per WOPI-Host",
  468. "transparent": true,
  469. "type": "timeseries"
  470. },
  471. {
  472. "datasource": {
  473. "type": "prometheus",
  474. "uid": "${DS_PROMETHEUS}"
  475. },
  476. "description": "",
  477. "fieldConfig": {
  478. "defaults": {
  479. "color": {
  480. "mode": "thresholds",
  481. "seriesBy": "last"
  482. },
  483. "custom": {
  484. "axisLabel": "",
  485. "axisPlacement": "auto",
  486. "barAlignment": 0,
  487. "drawStyle": "line",
  488. "fillOpacity": 50,
  489. "gradientMode": "none",
  490. "hideFrom": {
  491. "legend": false,
  492. "tooltip": false,
  493. "viz": false
  494. },
  495. "lineInterpolation": "linear",
  496. "lineStyle": {
  497. "fill": "solid"
  498. },
  499. "lineWidth": 1,
  500. "pointSize": 5,
  501. "scaleDistribution": {
  502. "type": "linear"
  503. },
  504. "showPoints": "auto",
  505. "spanNulls": false,
  506. "stacking": {
  507. "group": "A",
  508. "mode": "none"
  509. },
  510. "thresholdsStyle": {
  511. "mode": "off"
  512. }
  513. },
  514. "mappings": [],
  515. "thresholds": {
  516. "mode": "absolute",
  517. "steps": [
  518. {
  519. "color": "green",
  520. "value": null
  521. }
  522. ]
  523. },
  524. "unit": "none"
  525. },
  526. "overrides": [
  527. {
  528. "matcher": {
  529. "id": "byName",
  530. "options": "Pods"
  531. },
  532. "properties": [
  533. {
  534. "id": "custom.axisPlacement",
  535. "value": "right"
  536. },
  537. {
  538. "id": "color",
  539. "value": {
  540. "mode": "fixed"
  541. }
  542. },
  543. {
  544. "id": "custom.gradientMode",
  545. "value": "opacity"
  546. }
  547. ]
  548. },
  549. {
  550. "matcher": {
  551. "id": "byName",
  552. "options": " Viewers on Pod"
  553. },
  554. "properties": [
  555. {
  556. "id": "custom.fillBelowTo",
  557. "value": "Docs"
  558. }
  559. ]
  560. },
  561. {
  562. "matcher": {
  563. "id": "byName",
  564. "options": "Docs"
  565. },
  566. "properties": [
  567. {
  568. "id": "color",
  569. "value": {
  570. "fixedColor": "purple",
  571. "mode": "fixed"
  572. }
  573. },
  574. {
  575. "id": "custom.lineWidth",
  576. "value": 1
  577. },
  578. {
  579. "id": "custom.fillOpacity",
  580. "value": 0
  581. }
  582. ]
  583. }
  584. ]
  585. },
  586. "gridPos": {
  587. "h": 7,
  588. "w": 24,
  589. "x": 0,
  590. "y": 12
  591. },
  592. "id": 10,
  593. "maxPerRow": 2,
  594. "options": {
  595. "legend": {
  596. "calcs": [
  597. "lastNotNull",
  598. "mean",
  599. "max"
  600. ],
  601. "displayMode": "table",
  602. "placement": "right"
  603. },
  604. "tooltip": {
  605. "mode": "single",
  606. "sort": "none"
  607. }
  608. },
  609. "repeat": "env_id",
  610. "repeatDirection": "h",
  611. "targets": [
  612. {
  613. "datasource": {
  614. "type": "prometheus",
  615. "uid": "${DS_PROMETHEUS}"
  616. },
  617. "editorMode": "code",
  618. "expr": "count(coolwsd_count{env_id=~\"$env_id\"})by(env_id)",
  619. "legendFormat": "Pods",
  620. "range": true,
  621. "refId": "A"
  622. },
  623. {
  624. "datasource": {
  625. "type": "prometheus",
  626. "uid": "${DS_PROMETHEUS}"
  627. },
  628. "editorMode": "code",
  629. "expr": "sum(kit_assigned_count{env_id=~\"$env_id\"})by(env_id)",
  630. "hide": false,
  631. "legendFormat": "Docs",
  632. "range": true,
  633. "refId": "B"
  634. },
  635. {
  636. "datasource": {
  637. "type": "prometheus",
  638. "uid": "${DS_PROMETHEUS}"
  639. },
  640. "editorMode": "code",
  641. "expr": "sum(document_active_views_active_count_total{env_id=~\"$env_id\"})by(env_id)",
  642. "hide": false,
  643. "legendFormat": " Viewers on Pod",
  644. "range": true,
  645. "refId": "C"
  646. }
  647. ],
  648. "title": "Usage Overview (ENV_ID: $env_id)",
  649. "transparent": true,
  650. "type": "timeseries"
  651. },
  652. {
  653. "datasource": {
  654. "type": "prometheus",
  655. "uid": "${DS_PROMETHEUS}"
  656. },
  657. "description": "",
  658. "fieldConfig": {
  659. "defaults": {
  660. "color": {
  661. "fixedColor": "green",
  662. "mode": "fixed",
  663. "seriesBy": "last"
  664. },
  665. "custom": {
  666. "axisLabel": "",
  667. "axisPlacement": "auto",
  668. "barAlignment": 0,
  669. "drawStyle": "line",
  670. "fillOpacity": 20,
  671. "gradientMode": "opacity",
  672. "hideFrom": {
  673. "legend": false,
  674. "tooltip": false,
  675. "viz": false
  676. },
  677. "lineInterpolation": "linear",
  678. "lineStyle": {
  679. "fill": "solid"
  680. },
  681. "lineWidth": 2,
  682. "pointSize": 5,
  683. "scaleDistribution": {
  684. "type": "linear"
  685. },
  686. "showPoints": "auto",
  687. "spanNulls": true,
  688. "stacking": {
  689. "group": "A",
  690. "mode": "none"
  691. },
  692. "thresholdsStyle": {
  693. "mode": "off"
  694. }
  695. },
  696. "mappings": [],
  697. "min": 0,
  698. "thresholds": {
  699. "mode": "absolute",
  700. "steps": [
  701. {
  702. "color": "green",
  703. "value": null
  704. }
  705. ]
  706. },
  707. "unit": "none"
  708. },
  709. "overrides": [
  710. {
  711. "matcher": {
  712. "id": "byName",
  713. "options": "Max"
  714. },
  715. "properties": [
  716. {
  717. "id": "color",
  718. "value": {
  719. "fixedColor": "#e02f4459",
  720. "mode": "fixed"
  721. }
  722. },
  723. {
  724. "id": "custom.fillBelowTo",
  725. "value": "Avg"
  726. },
  727. {
  728. "id": "custom.gradientMode",
  729. "value": "opacity"
  730. },
  731. {
  732. "id": "custom.lineWidth",
  733. "value": 1
  734. }
  735. ]
  736. },
  737. {
  738. "matcher": {
  739. "id": "byName",
  740. "options": "Avg"
  741. },
  742. "properties": [
  743. {
  744. "id": "custom.fillOpacity",
  745. "value": 45
  746. }
  747. ]
  748. }
  749. ]
  750. },
  751. "gridPos": {
  752. "h": 6,
  753. "w": 8,
  754. "x": 0,
  755. "y": 19
  756. },
  757. "id": 38,
  758. "maxPerRow": 2,
  759. "options": {
  760. "legend": {
  761. "calcs": [
  762. "lastNotNull"
  763. ],
  764. "displayMode": "hidden",
  765. "placement": "right"
  766. },
  767. "tooltip": {
  768. "mode": "multi",
  769. "sort": "asc"
  770. }
  771. },
  772. "repeat": "env_id",
  773. "repeatDirection": "v",
  774. "targets": [
  775. {
  776. "datasource": {
  777. "type": "prometheus",
  778. "uid": "${DS_PROMETHEUS}"
  779. },
  780. "editorMode": "code",
  781. "expr": "avg(kit_assigned_count{env_id=~\"$env_id\"})by(env_id)",
  782. "hide": false,
  783. "legendFormat": "Avg",
  784. "range": true,
  785. "refId": "B"
  786. },
  787. {
  788. "datasource": {
  789. "type": "prometheus",
  790. "uid": "${DS_PROMETHEUS}"
  791. },
  792. "editorMode": "code",
  793. "expr": "max(kit_assigned_count{env_id=~\"$env_id\"})by(env_id)",
  794. "hide": false,
  795. "legendFormat": "Max",
  796. "range": true,
  797. "refId": "A"
  798. }
  799. ],
  800. "title": "Docs on Pod (ENV_ID: $env_id)",
  801. "transparent": true,
  802. "type": "timeseries"
  803. },
  804. {
  805. "datasource": {
  806. "type": "prometheus",
  807. "uid": "${DS_PROMETHEUS}"
  808. },
  809. "description": "",
  810. "fieldConfig": {
  811. "defaults": {
  812. "color": {
  813. "fixedColor": "green",
  814. "mode": "fixed",
  815. "seriesBy": "last"
  816. },
  817. "custom": {
  818. "axisLabel": "",
  819. "axisPlacement": "auto",
  820. "barAlignment": 0,
  821. "drawStyle": "line",
  822. "fillOpacity": 20,
  823. "gradientMode": "opacity",
  824. "hideFrom": {
  825. "legend": false,
  826. "tooltip": false,
  827. "viz": false
  828. },
  829. "lineInterpolation": "linear",
  830. "lineStyle": {
  831. "fill": "solid"
  832. },
  833. "lineWidth": 2,
  834. "pointSize": 5,
  835. "scaleDistribution": {
  836. "type": "linear"
  837. },
  838. "showPoints": "auto",
  839. "spanNulls": true,
  840. "stacking": {
  841. "group": "A",
  842. "mode": "none"
  843. },
  844. "thresholdsStyle": {
  845. "mode": "off"
  846. }
  847. },
  848. "mappings": [],
  849. "min": 0,
  850. "thresholds": {
  851. "mode": "absolute",
  852. "steps": [
  853. {
  854. "color": "green",
  855. "value": null
  856. }
  857. ]
  858. },
  859. "unit": "none"
  860. },
  861. "overrides": [
  862. {
  863. "matcher": {
  864. "id": "byName",
  865. "options": "Max"
  866. },
  867. "properties": [
  868. {
  869. "id": "color",
  870. "value": {
  871. "fixedColor": "#e02f4459",
  872. "mode": "fixed"
  873. }
  874. },
  875. {
  876. "id": "custom.fillBelowTo",
  877. "value": "Avg"
  878. },
  879. {
  880. "id": "custom.gradientMode",
  881. "value": "opacity"
  882. },
  883. {
  884. "id": "custom.lineWidth",
  885. "value": 1
  886. }
  887. ]
  888. },
  889. {
  890. "matcher": {
  891. "id": "byName",
  892. "options": "Avg"
  893. },
  894. "properties": [
  895. {
  896. "id": "custom.fillOpacity",
  897. "value": 45
  898. }
  899. ]
  900. }
  901. ]
  902. },
  903. "gridPos": {
  904. "h": 6,
  905. "w": 8,
  906. "x": 8,
  907. "y": 19
  908. },
  909. "id": 37,
  910. "maxPerRow": 2,
  911. "options": {
  912. "legend": {
  913. "calcs": [
  914. "lastNotNull"
  915. ],
  916. "displayMode": "hidden",
  917. "placement": "right"
  918. },
  919. "tooltip": {
  920. "mode": "multi",
  921. "sort": "asc"
  922. }
  923. },
  924. "repeat": "env_id",
  925. "repeatDirection": "v",
  926. "targets": [
  927. {
  928. "datasource": {
  929. "type": "prometheus",
  930. "uid": "${DS_PROMETHEUS}"
  931. },
  932. "editorMode": "code",
  933. "expr": "avg(document_active_views_active_count_total{env_id=~\"$env_id\"})by(env_id)",
  934. "hide": false,
  935. "legendFormat": "Avg",
  936. "range": true,
  937. "refId": "B"
  938. },
  939. {
  940. "datasource": {
  941. "type": "prometheus",
  942. "uid": "${DS_PROMETHEUS}"
  943. },
  944. "editorMode": "code",
  945. "expr": "max(document_active_views_active_count_total{env_id=~\"$env_id\"})by(env_id)",
  946. "hide": false,
  947. "legendFormat": "Max",
  948. "range": true,
  949. "refId": "A"
  950. }
  951. ],
  952. "title": "Viewer on Pod (ENV_ID: $env_id)",
  953. "transparent": true,
  954. "type": "timeseries"
  955. },
  956. {
  957. "datasource": {
  958. "type": "prometheus",
  959. "uid": "${DS_PROMETHEUS}"
  960. },
  961. "description": "",
  962. "fieldConfig": {
  963. "defaults": {
  964. "color": {
  965. "fixedColor": "green",
  966. "mode": "fixed",
  967. "seriesBy": "last"
  968. },
  969. "custom": {
  970. "axisLabel": "",
  971. "axisPlacement": "auto",
  972. "barAlignment": 0,
  973. "drawStyle": "line",
  974. "fillOpacity": 20,
  975. "gradientMode": "opacity",
  976. "hideFrom": {
  977. "legend": false,
  978. "tooltip": false,
  979. "viz": false
  980. },
  981. "lineInterpolation": "linear",
  982. "lineStyle": {
  983. "fill": "solid"
  984. },
  985. "lineWidth": 2,
  986. "pointSize": 5,
  987. "scaleDistribution": {
  988. "type": "linear"
  989. },
  990. "showPoints": "auto",
  991. "spanNulls": true,
  992. "stacking": {
  993. "group": "A",
  994. "mode": "none"
  995. },
  996. "thresholdsStyle": {
  997. "mode": "off"
  998. }
  999. },
  1000. "mappings": [],
  1001. "min": 0,
  1002. "thresholds": {
  1003. "mode": "absolute",
  1004. "steps": [
  1005. {
  1006. "color": "green",
  1007. "value": null
  1008. }
  1009. ]
  1010. },
  1011. "unit": "none"
  1012. },
  1013. "overrides": [
  1014. {
  1015. "matcher": {
  1016. "id": "byName",
  1017. "options": "Max"
  1018. },
  1019. "properties": [
  1020. {
  1021. "id": "color",
  1022. "value": {
  1023. "fixedColor": "#e02f4459",
  1024. "mode": "fixed"
  1025. }
  1026. },
  1027. {
  1028. "id": "custom.fillBelowTo",
  1029. "value": "Avg"
  1030. },
  1031. {
  1032. "id": "custom.gradientMode",
  1033. "value": "opacity"
  1034. },
  1035. {
  1036. "id": "custom.lineWidth",
  1037. "value": 1
  1038. }
  1039. ]
  1040. },
  1041. {
  1042. "matcher": {
  1043. "id": "byName",
  1044. "options": "Avg"
  1045. },
  1046. "properties": [
  1047. {
  1048. "id": "custom.fillOpacity",
  1049. "value": 45
  1050. }
  1051. ]
  1052. }
  1053. ]
  1054. },
  1055. "gridPos": {
  1056. "h": 6,
  1057. "w": 8,
  1058. "x": 16,
  1059. "y": 19
  1060. },
  1061. "id": 36,
  1062. "maxPerRow": 2,
  1063. "options": {
  1064. "legend": {
  1065. "calcs": [
  1066. "lastNotNull"
  1067. ],
  1068. "displayMode": "hidden",
  1069. "placement": "right"
  1070. },
  1071. "tooltip": {
  1072. "mode": "multi",
  1073. "sort": "asc"
  1074. }
  1075. },
  1076. "repeat": "env_id",
  1077. "repeatDirection": "v",
  1078. "targets": [
  1079. {
  1080. "datasource": {
  1081. "type": "prometheus",
  1082. "uid": "${DS_PROMETHEUS}"
  1083. },
  1084. "editorMode": "code",
  1085. "expr": "avg(doc_views_active{env_id=~\"$env_id\"})by(env_id)",
  1086. "hide": false,
  1087. "legendFormat": "Avg",
  1088. "range": true,
  1089. "refId": "B"
  1090. },
  1091. {
  1092. "datasource": {
  1093. "type": "prometheus",
  1094. "uid": "${DS_PROMETHEUS}"
  1095. },
  1096. "editorMode": "code",
  1097. "expr": "max(doc_views_active{env_id=~\"$env_id\"})by(env_id)",
  1098. "hide": false,
  1099. "legendFormat": "Max",
  1100. "range": true,
  1101. "refId": "A"
  1102. }
  1103. ],
  1104. "title": "Viewer on Doc (ENV_ID: $env_id)",
  1105. "transparent": true,
  1106. "type": "timeseries"
  1107. },
  1108. {
  1109. "gridPos": {
  1110. "h": 1,
  1111. "w": 24,
  1112. "x": 0,
  1113. "y": 31
  1114. },
  1115. "id": 16,
  1116. "title": "Errors",
  1117. "type": "row"
  1118. },
  1119. {
  1120. "datasource": {
  1121. "type": "prometheus",
  1122. "uid": "${DS_PROMETHEUS}"
  1123. },
  1124. "description": "",
  1125. "fieldConfig": {
  1126. "defaults": {
  1127. "color": {
  1128. "fixedColor": "green",
  1129. "mode": "fixed",
  1130. "seriesBy": "last"
  1131. },
  1132. "custom": {
  1133. "axisLabel": "",
  1134. "axisPlacement": "auto",
  1135. "barAlignment": 0,
  1136. "drawStyle": "line",
  1137. "fillOpacity": 20,
  1138. "gradientMode": "opacity",
  1139. "hideFrom": {
  1140. "legend": false,
  1141. "tooltip": false,
  1142. "viz": false
  1143. },
  1144. "lineInterpolation": "linear",
  1145. "lineStyle": {
  1146. "fill": "solid"
  1147. },
  1148. "lineWidth": 2,
  1149. "pointSize": 5,
  1150. "scaleDistribution": {
  1151. "type": "linear"
  1152. },
  1153. "showPoints": "auto",
  1154. "spanNulls": true,
  1155. "stacking": {
  1156. "group": "A",
  1157. "mode": "none"
  1158. },
  1159. "thresholdsStyle": {
  1160. "mode": "off"
  1161. }
  1162. },
  1163. "mappings": [],
  1164. "min": 0,
  1165. "thresholds": {
  1166. "mode": "absolute",
  1167. "steps": [
  1168. {
  1169. "color": "green",
  1170. "value": null
  1171. }
  1172. ]
  1173. },
  1174. "unit": "none"
  1175. },
  1176. "overrides": [
  1177. {
  1178. "matcher": {
  1179. "id": "byName",
  1180. "options": "Max"
  1181. },
  1182. "properties": [
  1183. {
  1184. "id": "color",
  1185. "value": {
  1186. "fixedColor": "#e02f4459",
  1187. "mode": "fixed"
  1188. }
  1189. },
  1190. {
  1191. "id": "custom.fillBelowTo",
  1192. "value": "Avg"
  1193. },
  1194. {
  1195. "id": "custom.gradientMode",
  1196. "value": "opacity"
  1197. },
  1198. {
  1199. "id": "custom.lineWidth",
  1200. "value": 1
  1201. },
  1202. {
  1203. "id": "custom.axisPlacement",
  1204. "value": "right"
  1205. }
  1206. ]
  1207. },
  1208. {
  1209. "matcher": {
  1210. "id": "byName",
  1211. "options": "Avg"
  1212. },
  1213. "properties": [
  1214. {
  1215. "id": "custom.fillOpacity",
  1216. "value": 45
  1217. },
  1218. {
  1219. "id": "custom.axisPlacement",
  1220. "value": "right"
  1221. }
  1222. ]
  1223. },
  1224. {
  1225. "matcher": {
  1226. "id": "byName",
  1227. "options": "Count"
  1228. },
  1229. "properties": [
  1230. {
  1231. "id": "color",
  1232. "value": {
  1233. "fixedColor": "dark-red",
  1234. "mode": "fixed"
  1235. }
  1236. }
  1237. ]
  1238. }
  1239. ]
  1240. },
  1241. "gridPos": {
  1242. "h": 7,
  1243. "w": 12,
  1244. "x": 0,
  1245. "y": 32
  1246. },
  1247. "id": 45,
  1248. "maxPerRow": 2,
  1249. "options": {
  1250. "legend": {
  1251. "calcs": [
  1252. "lastNotNull"
  1253. ],
  1254. "displayMode": "table",
  1255. "placement": "right"
  1256. },
  1257. "tooltip": {
  1258. "mode": "multi",
  1259. "sort": "asc"
  1260. }
  1261. },
  1262. "repeatDirection": "v",
  1263. "targets": [
  1264. {
  1265. "datasource": {
  1266. "type": "prometheus",
  1267. "uid": "${DS_PROMETHEUS}"
  1268. },
  1269. "editorMode": "code",
  1270. "expr": "avg(count(doc_pid{env_id=~\"$env_id\"})by(key)>1)",
  1271. "hide": false,
  1272. "legendFormat": "Avg",
  1273. "range": true,
  1274. "refId": "B"
  1275. },
  1276. {
  1277. "datasource": {
  1278. "type": "prometheus",
  1279. "uid": "${DS_PROMETHEUS}"
  1280. },
  1281. "editorMode": "code",
  1282. "expr": "max(count(doc_pid{env_id=~\"$env_id\"})by(key)>1)",
  1283. "hide": false,
  1284. "legendFormat": "Max",
  1285. "range": true,
  1286. "refId": "A"
  1287. },
  1288. {
  1289. "datasource": {
  1290. "type": "prometheus",
  1291. "uid": "${DS_PROMETHEUS}"
  1292. },
  1293. "editorMode": "code",
  1294. "expr": "count(count(doc_pid{env_id=~\"$env_id\"})by(key)>1)",
  1295. "hide": false,
  1296. "legendFormat": "Count",
  1297. "range": true,
  1298. "refId": "C"
  1299. }
  1300. ],
  1301. "title": "Error: Duplicated Documents (All ENV_ID)",
  1302. "transparent": true,
  1303. "type": "timeseries"
  1304. },
  1305. {
  1306. "datasource": {
  1307. "type": "prometheus",
  1308. "uid": "${DS_PROMETHEUS}"
  1309. },
  1310. "fieldConfig": {
  1311. "defaults": {
  1312. "color": {
  1313. "mode": "thresholds"
  1314. },
  1315. "mappings": [],
  1316. "thresholds": {
  1317. "mode": "absolute",
  1318. "steps": [
  1319. {
  1320. "color": "green",
  1321. "value": null
  1322. },
  1323. {
  1324. "color": "yellow",
  1325. "value": 1
  1326. },
  1327. {
  1328. "color": "orange",
  1329. "value": 5
  1330. },
  1331. {
  1332. "color": "red",
  1333. "value": 10
  1334. }
  1335. ]
  1336. }
  1337. },
  1338. "overrides": []
  1339. },
  1340. "gridPos": {
  1341. "h": 4,
  1342. "w": 3,
  1343. "x": 12,
  1344. "y": 32
  1345. },
  1346. "id": 29,
  1347. "options": {
  1348. "colorMode": "value",
  1349. "graphMode": "area",
  1350. "justifyMode": "auto",
  1351. "orientation": "auto",
  1352. "reduceOptions": {
  1353. "calcs": [
  1354. "lastNotNull"
  1355. ],
  1356. "fields": "",
  1357. "values": false
  1358. },
  1359. "textMode": "auto"
  1360. },
  1361. "pluginVersion": "9.0.5",
  1362. "targets": [
  1363. {
  1364. "datasource": {
  1365. "type": "prometheus",
  1366. "uid": "${DS_PROMETHEUS}"
  1367. },
  1368. "editorMode": "code",
  1369. "expr": "count(count(doc_pid{env_id=~\"$env_id\"})by(key,env_id)>1)by(env_id)",
  1370. "legendFormat": "{{env_id}}",
  1371. "range": true,
  1372. "refId": "A"
  1373. }
  1374. ],
  1375. "title": "Duplicated Documents",
  1376. "transparent": true,
  1377. "type": "stat"
  1378. },
  1379. {
  1380. "datasource": {
  1381. "type": "prometheus",
  1382. "uid": "${DS_PROMETHEUS}"
  1383. },
  1384. "fieldConfig": {
  1385. "defaults": {
  1386. "color": {
  1387. "mode": "thresholds"
  1388. },
  1389. "mappings": [],
  1390. "thresholds": {
  1391. "mode": "absolute",
  1392. "steps": [
  1393. {
  1394. "color": "green",
  1395. "value": null
  1396. },
  1397. {
  1398. "color": "#EAB839",
  1399. "value": 1
  1400. },
  1401. {
  1402. "color": "orange",
  1403. "value": 5
  1404. },
  1405. {
  1406. "color": "red",
  1407. "value": 10
  1408. }
  1409. ]
  1410. }
  1411. },
  1412. "overrides": []
  1413. },
  1414. "gridPos": {
  1415. "h": 4,
  1416. "w": 3,
  1417. "x": 15,
  1418. "y": 32
  1419. },
  1420. "id": 20,
  1421. "options": {
  1422. "colorMode": "value",
  1423. "graphMode": "area",
  1424. "justifyMode": "auto",
  1425. "orientation": "auto",
  1426. "reduceOptions": {
  1427. "calcs": [
  1428. "lastNotNull"
  1429. ],
  1430. "fields": "",
  1431. "values": false
  1432. },
  1433. "textMode": "auto"
  1434. },
  1435. "pluginVersion": "9.0.5",
  1436. "targets": [
  1437. {
  1438. "datasource": {
  1439. "type": "prometheus",
  1440. "uid": "${DS_PROMETHEUS}"
  1441. },
  1442. "editorMode": "code",
  1443. "expr": "sum(irate(error_storage_space_low{env_id=~\"$env_id\"}[5m]))by(env_id)",
  1444. "legendFormat": "{{env_id}}",
  1445. "range": true,
  1446. "refId": "A"
  1447. }
  1448. ],
  1449. "title": "Storage SpaceLow",
  1450. "transparent": true,
  1451. "type": "stat"
  1452. },
  1453. {
  1454. "datasource": {
  1455. "type": "prometheus",
  1456. "uid": "${DS_PROMETHEUS}"
  1457. },
  1458. "fieldConfig": {
  1459. "defaults": {
  1460. "color": {
  1461. "mode": "thresholds"
  1462. },
  1463. "mappings": [],
  1464. "thresholds": {
  1465. "mode": "absolute",
  1466. "steps": [
  1467. {
  1468. "color": "green",
  1469. "value": null
  1470. },
  1471. {
  1472. "color": "#EAB839",
  1473. "value": 1
  1474. },
  1475. {
  1476. "color": "#EF843C",
  1477. "value": 5
  1478. },
  1479. {
  1480. "color": "red",
  1481. "value": 10
  1482. }
  1483. ]
  1484. }
  1485. },
  1486. "overrides": []
  1487. },
  1488. "gridPos": {
  1489. "h": 4,
  1490. "w": 3,
  1491. "x": 18,
  1492. "y": 32
  1493. },
  1494. "id": 21,
  1495. "options": {
  1496. "colorMode": "value",
  1497. "graphMode": "area",
  1498. "justifyMode": "auto",
  1499. "orientation": "auto",
  1500. "reduceOptions": {
  1501. "calcs": [
  1502. "lastNotNull"
  1503. ],
  1504. "fields": "",
  1505. "values": false
  1506. },
  1507. "textMode": "auto"
  1508. },
  1509. "pluginVersion": "9.0.5",
  1510. "targets": [
  1511. {
  1512. "datasource": {
  1513. "type": "prometheus",
  1514. "uid": "${DS_PROMETHEUS}"
  1515. },
  1516. "editorMode": "code",
  1517. "expr": "sum(irate(error_storage_connection{env_id=~\"$env_id\"}[5m]))by(env_id)",
  1518. "legendFormat": "{{env_id}}",
  1519. "range": true,
  1520. "refId": "A"
  1521. }
  1522. ],
  1523. "title": "Storage Connection",
  1524. "transparent": true,
  1525. "type": "stat"
  1526. },
  1527. {
  1528. "datasource": {
  1529. "type": "prometheus",
  1530. "uid": "${DS_PROMETHEUS}"
  1531. },
  1532. "fieldConfig": {
  1533. "defaults": {
  1534. "color": {
  1535. "mode": "thresholds"
  1536. },
  1537. "mappings": [],
  1538. "thresholds": {
  1539. "mode": "absolute",
  1540. "steps": [
  1541. {
  1542. "color": "green",
  1543. "value": null
  1544. },
  1545. {
  1546. "color": "#EAB839",
  1547. "value": 1
  1548. },
  1549. {
  1550. "color": "#EF843C",
  1551. "value": 5
  1552. },
  1553. {
  1554. "color": "red",
  1555. "value": 10
  1556. }
  1557. ]
  1558. }
  1559. },
  1560. "overrides": []
  1561. },
  1562. "gridPos": {
  1563. "h": 4,
  1564. "w": 3,
  1565. "x": 21,
  1566. "y": 32
  1567. },
  1568. "id": 23,
  1569. "options": {
  1570. "colorMode": "value",
  1571. "graphMode": "area",
  1572. "justifyMode": "auto",
  1573. "orientation": "auto",
  1574. "reduceOptions": {
  1575. "calcs": [
  1576. "lastNotNull"
  1577. ],
  1578. "fields": "",
  1579. "values": false
  1580. },
  1581. "textMode": "auto"
  1582. },
  1583. "pluginVersion": "9.0.5",
  1584. "targets": [
  1585. {
  1586. "datasource": {
  1587. "type": "prometheus",
  1588. "uid": "${DS_PROMETHEUS}"
  1589. },
  1590. "editorMode": "code",
  1591. "expr": "sum(irate(error_bad_argument{env_id=~\"$env_id\"}[5m]))by(env_id)",
  1592. "legendFormat": "{{env_id}}",
  1593. "range": true,
  1594. "refId": "A"
  1595. }
  1596. ],
  1597. "title": "Bad Argument",
  1598. "transparent": true,
  1599. "type": "stat"
  1600. },
  1601. {
  1602. "datasource": {
  1603. "type": "prometheus",
  1604. "uid": "${DS_PROMETHEUS}"
  1605. },
  1606. "fieldConfig": {
  1607. "defaults": {
  1608. "color": {
  1609. "mode": "thresholds"
  1610. },
  1611. "mappings": [],
  1612. "thresholds": {
  1613. "mode": "absolute",
  1614. "steps": [
  1615. {
  1616. "color": "green",
  1617. "value": null
  1618. },
  1619. {
  1620. "color": "#EAB839",
  1621. "value": 1
  1622. },
  1623. {
  1624. "color": "#EF843C",
  1625. "value": 5
  1626. },
  1627. {
  1628. "color": "red",
  1629. "value": 10
  1630. }
  1631. ]
  1632. }
  1633. },
  1634. "overrides": []
  1635. },
  1636. "gridPos": {
  1637. "h": 4,
  1638. "w": 3,
  1639. "x": 12,
  1640. "y": 36
  1641. },
  1642. "id": 24,
  1643. "options": {
  1644. "colorMode": "value",
  1645. "graphMode": "area",
  1646. "justifyMode": "auto",
  1647. "orientation": "auto",
  1648. "reduceOptions": {
  1649. "calcs": [
  1650. "lastNotNull"
  1651. ],
  1652. "fields": "",
  1653. "values": false
  1654. },
  1655. "textMode": "auto"
  1656. },
  1657. "pluginVersion": "9.0.5",
  1658. "targets": [
  1659. {
  1660. "datasource": {
  1661. "type": "prometheus",
  1662. "uid": "${DS_PROMETHEUS}"
  1663. },
  1664. "editorMode": "code",
  1665. "expr": "sum(irate(error_unauthorized_request{env_id=~\"$env_id\"}[5m]))by(env_id)",
  1666. "legendFormat": "{{env_id}}",
  1667. "range": true,
  1668. "refId": "A"
  1669. }
  1670. ],
  1671. "title": "Unauthorized Request",
  1672. "transparent": true,
  1673. "type": "stat"
  1674. },
  1675. {
  1676. "datasource": {
  1677. "type": "prometheus",
  1678. "uid": "${DS_PROMETHEUS}"
  1679. },
  1680. "fieldConfig": {
  1681. "defaults": {
  1682. "color": {
  1683. "mode": "thresholds"
  1684. },
  1685. "mappings": [],
  1686. "thresholds": {
  1687. "mode": "absolute",
  1688. "steps": [
  1689. {
  1690. "color": "green",
  1691. "value": null
  1692. },
  1693. {
  1694. "color": "#EAB839",
  1695. "value": 1
  1696. },
  1697. {
  1698. "color": "#EF843C",
  1699. "value": 5
  1700. },
  1701. {
  1702. "color": "red",
  1703. "value": 10
  1704. }
  1705. ]
  1706. }
  1707. },
  1708. "overrides": []
  1709. },
  1710. "gridPos": {
  1711. "h": 4,
  1712. "w": 3,
  1713. "x": 15,
  1714. "y": 36
  1715. },
  1716. "id": 25,
  1717. "options": {
  1718. "colorMode": "value",
  1719. "graphMode": "area",
  1720. "justifyMode": "auto",
  1721. "orientation": "auto",
  1722. "reduceOptions": {
  1723. "calcs": [
  1724. "lastNotNull"
  1725. ],
  1726. "fields": "",
  1727. "values": false
  1728. },
  1729. "textMode": "auto"
  1730. },
  1731. "pluginVersion": "9.0.5",
  1732. "targets": [
  1733. {
  1734. "datasource": {
  1735. "type": "prometheus",
  1736. "uid": "${DS_PROMETHEUS}"
  1737. },
  1738. "editorMode": "code",
  1739. "expr": "sum(irate(error_service_unavailable{env_id=~\"$env_id\"}[5m]))by(env_id)",
  1740. "legendFormat": "{{env_id}}",
  1741. "range": true,
  1742. "refId": "A"
  1743. }
  1744. ],
  1745. "title": "Service Unavailable",
  1746. "transparent": true,
  1747. "type": "stat"
  1748. },
  1749. {
  1750. "datasource": {
  1751. "type": "prometheus",
  1752. "uid": "${DS_PROMETHEUS}"
  1753. },
  1754. "fieldConfig": {
  1755. "defaults": {
  1756. "color": {
  1757. "mode": "thresholds"
  1758. },
  1759. "mappings": [],
  1760. "thresholds": {
  1761. "mode": "absolute",
  1762. "steps": [
  1763. {
  1764. "color": "green",
  1765. "value": null
  1766. },
  1767. {
  1768. "color": "#EAB839",
  1769. "value": 1
  1770. },
  1771. {
  1772. "color": "#EF843C",
  1773. "value": 5
  1774. },
  1775. {
  1776. "color": "red",
  1777. "value": 10
  1778. }
  1779. ]
  1780. }
  1781. },
  1782. "overrides": []
  1783. },
  1784. "gridPos": {
  1785. "h": 4,
  1786. "w": 3,
  1787. "x": 18,
  1788. "y": 36
  1789. },
  1790. "id": 26,
  1791. "options": {
  1792. "colorMode": "value",
  1793. "graphMode": "area",
  1794. "justifyMode": "auto",
  1795. "orientation": "auto",
  1796. "reduceOptions": {
  1797. "calcs": [
  1798. "lastNotNull"
  1799. ],
  1800. "fields": "",
  1801. "values": false
  1802. },
  1803. "textMode": "auto"
  1804. },
  1805. "pluginVersion": "9.0.5",
  1806. "targets": [
  1807. {
  1808. "datasource": {
  1809. "type": "prometheus",
  1810. "uid": "${DS_PROMETHEUS}"
  1811. },
  1812. "editorMode": "code",
  1813. "expr": "sum(irate(error_parse_error{env_id=~\"$env_id\"}[5m]))by(env_id)",
  1814. "legendFormat": "{{env_id}}",
  1815. "range": true,
  1816. "refId": "A"
  1817. }
  1818. ],
  1819. "title": "Parse Error",
  1820. "transparent": true,
  1821. "type": "stat"
  1822. },
  1823. {
  1824. "datasource": {
  1825. "type": "prometheus",
  1826. "uid": "${DS_PROMETHEUS}"
  1827. },
  1828. "fieldConfig": {
  1829. "defaults": {
  1830. "color": {
  1831. "mode": "thresholds"
  1832. },
  1833. "mappings": [],
  1834. "thresholds": {
  1835. "mode": "absolute",
  1836. "steps": [
  1837. {
  1838. "color": "green",
  1839. "value": null
  1840. },
  1841. {
  1842. "color": "#EAB839",
  1843. "value": 1
  1844. },
  1845. {
  1846. "color": "#EF843C",
  1847. "value": 5
  1848. },
  1849. {
  1850. "color": "red",
  1851. "value": 10
  1852. }
  1853. ]
  1854. }
  1855. },
  1856. "overrides": []
  1857. },
  1858. "gridPos": {
  1859. "h": 4,
  1860. "w": 3,
  1861. "x": 21,
  1862. "y": 36
  1863. },
  1864. "id": 22,
  1865. "options": {
  1866. "colorMode": "value",
  1867. "graphMode": "area",
  1868. "justifyMode": "auto",
  1869. "orientation": "auto",
  1870. "reduceOptions": {
  1871. "calcs": [
  1872. "lastNotNull"
  1873. ],
  1874. "fields": "",
  1875. "values": false
  1876. },
  1877. "textMode": "auto"
  1878. },
  1879. "pluginVersion": "9.0.5",
  1880. "targets": [
  1881. {
  1882. "datasource": {
  1883. "type": "prometheus",
  1884. "uid": "${DS_PROMETHEUS}"
  1885. },
  1886. "editorMode": "code",
  1887. "expr": "sum(irate(error_bad_request{env_id=~\"$env_id\"}[5m]))by(env_id)",
  1888. "legendFormat": "{{env_id}}",
  1889. "range": true,
  1890. "refId": "A"
  1891. }
  1892. ],
  1893. "title": "Bad Request",
  1894. "transparent": true,
  1895. "type": "stat"
  1896. },
  1897. {
  1898. "collapsed": false,
  1899. "gridPos": {
  1900. "h": 1,
  1901. "w": 24,
  1902. "x": 0,
  1903. "y": 40
  1904. },
  1905. "id": 13,
  1906. "panels": [],
  1907. "title": "HA - Allocation",
  1908. "type": "row"
  1909. },
  1910. {
  1911. "datasource": {
  1912. "type": "prometheus",
  1913. "uid": "${DS_PROMETHEUS}"
  1914. },
  1915. "description": "",
  1916. "fieldConfig": {
  1917. "defaults": {
  1918. "color": {
  1919. "mode": "palette-classic"
  1920. },
  1921. "custom": {
  1922. "axisLabel": "",
  1923. "axisPlacement": "auto",
  1924. "barAlignment": 0,
  1925. "drawStyle": "line",
  1926. "fillOpacity": 80,
  1927. "gradientMode": "none",
  1928. "hideFrom": {
  1929. "legend": false,
  1930. "tooltip": false,
  1931. "viz": false
  1932. },
  1933. "lineInterpolation": "linear",
  1934. "lineWidth": 1,
  1935. "pointSize": 5,
  1936. "scaleDistribution": {
  1937. "type": "linear"
  1938. },
  1939. "showPoints": "auto",
  1940. "spanNulls": false,
  1941. "stacking": {
  1942. "group": "A",
  1943. "mode": "percent"
  1944. },
  1945. "thresholdsStyle": {
  1946. "mode": "off"
  1947. }
  1948. },
  1949. "mappings": [],
  1950. "max": 1,
  1951. "min": 0,
  1952. "thresholds": {
  1953. "mode": "absolute",
  1954. "steps": [
  1955. {
  1956. "color": "green"
  1957. },
  1958. {
  1959. "color": "red",
  1960. "value": 80
  1961. }
  1962. ]
  1963. }
  1964. },
  1965. "overrides": []
  1966. },
  1967. "gridPos": {
  1968. "h": 8,
  1969. "w": 9,
  1970. "x": 0,
  1971. "y": 41
  1972. },
  1973. "id": 6,
  1974. "options": {
  1975. "legend": {
  1976. "calcs": [],
  1977. "displayMode": "list",
  1978. "placement": "bottom"
  1979. },
  1980. "tooltip": {
  1981. "mode": "multi",
  1982. "sort": "asc"
  1983. }
  1984. },
  1985. "pluginVersion": "9.0.5",
  1986. "targets": [
  1987. {
  1988. "datasource": {
  1989. "type": "prometheus",
  1990. "uid": "${DS_PROMETHEUS}"
  1991. },
  1992. "editorMode": "code",
  1993. "exemplar": false,
  1994. "expr": "count(kit_assigned_count{env_id=~\"$env_id\"}==0)",
  1995. "format": "time_series",
  1996. "hide": false,
  1997. "instant": false,
  1998. "legendFormat": "Viewers: 0",
  1999. "range": true,
  2000. "refId": "0"
  2001. },
  2002. {
  2003. "datasource": {
  2004. "type": "prometheus",
  2005. "uid": "${DS_PROMETHEUS}"
  2006. },
  2007. "editorMode": "code",
  2008. "exemplar": false,
  2009. "expr": "count(kit_assigned_count{env_id=~\"$env_id\"}==1)",
  2010. "format": "time_series",
  2011. "hide": false,
  2012. "instant": false,
  2013. "legendFormat": "Viewers: 1",
  2014. "range": true,
  2015. "refId": "1"
  2016. },
  2017. {
  2018. "datasource": {
  2019. "type": "prometheus",
  2020. "uid": "${DS_PROMETHEUS}"
  2021. },
  2022. "editorMode": "code",
  2023. "exemplar": false,
  2024. "expr": "count(kit_assigned_count{env_id=~\"$env_id\"}==2)",
  2025. "format": "time_series",
  2026. "hide": false,
  2027. "instant": false,
  2028. "legendFormat": "Viewers: 2",
  2029. "range": true,
  2030. "refId": "2"
  2031. },
  2032. {
  2033. "datasource": {
  2034. "type": "prometheus",
  2035. "uid": "${DS_PROMETHEUS}"
  2036. },
  2037. "editorMode": "code",
  2038. "exemplar": false,
  2039. "expr": "count(kit_assigned_count{env_id=~\"$env_id\"}==3)",
  2040. "format": "time_series",
  2041. "hide": false,
  2042. "instant": false,
  2043. "legendFormat": "Viewers: 3",
  2044. "range": true,
  2045. "refId": "3"
  2046. },
  2047. {
  2048. "datasource": {
  2049. "type": "prometheus",
  2050. "uid": "${DS_PROMETHEUS}"
  2051. },
  2052. "editorMode": "code",
  2053. "exemplar": false,
  2054. "expr": "count(kit_assigned_count{env_id=~\"$env_id\"}==4)",
  2055. "format": "time_series",
  2056. "hide": false,
  2057. "instant": false,
  2058. "legendFormat": "Viewers: 3",
  2059. "range": true,
  2060. "refId": "4"
  2061. },
  2062. {
  2063. "datasource": {
  2064. "type": "prometheus",
  2065. "uid": "${DS_PROMETHEUS}"
  2066. },
  2067. "editorMode": "code",
  2068. "exemplar": false,
  2069. "expr": "count(kit_assigned_count{env_id=~\"$env_id\"}==5)",
  2070. "format": "time_series",
  2071. "hide": false,
  2072. "instant": false,
  2073. "legendFormat": "Viewers: 5",
  2074. "range": true,
  2075. "refId": "5"
  2076. },
  2077. {
  2078. "datasource": {
  2079. "type": "prometheus",
  2080. "uid": "${DS_PROMETHEUS}"
  2081. },
  2082. "editorMode": "code",
  2083. "exemplar": false,
  2084. "expr": "count(5<kit_assigned_count{env_id=~\"$env_id\"}<10)",
  2085. "format": "time_series",
  2086. "hide": false,
  2087. "instant": false,
  2088. "legendFormat": "Viewers: 5-10",
  2089. "range": true,
  2090. "refId": "5-10"
  2091. },
  2092. {
  2093. "datasource": {
  2094. "type": "prometheus",
  2095. "uid": "${DS_PROMETHEUS}"
  2096. },
  2097. "editorMode": "code",
  2098. "exemplar": false,
  2099. "expr": "count(10<kit_assigned_count{env_id=~\"$env_id\"}<15)",
  2100. "format": "time_series",
  2101. "hide": false,
  2102. "instant": false,
  2103. "legendFormat": "Viewers: 10-15",
  2104. "range": true,
  2105. "refId": "10-15"
  2106. },
  2107. {
  2108. "datasource": {
  2109. "type": "prometheus",
  2110. "uid": "${DS_PROMETHEUS}"
  2111. },
  2112. "editorMode": "code",
  2113. "exemplar": false,
  2114. "expr": "count(15<kit_assigned_count{env_id=~\"$env_id\"}<20)",
  2115. "format": "time_series",
  2116. "hide": false,
  2117. "instant": false,
  2118. "legendFormat": "Viewers: 15-20",
  2119. "range": true,
  2120. "refId": "15-20"
  2121. },
  2122. {
  2123. "datasource": {
  2124. "type": "prometheus",
  2125. "uid": "${DS_PROMETHEUS}"
  2126. },
  2127. "editorMode": "code",
  2128. "exemplar": false,
  2129. "expr": "count(20<kit_assigned_count{env_id=~\"$env_id\"}<25)",
  2130. "format": "time_series",
  2131. "hide": false,
  2132. "instant": false,
  2133. "legendFormat": "Viewers: 20-25",
  2134. "range": true,
  2135. "refId": "20-25"
  2136. },
  2137. {
  2138. "datasource": {
  2139. "type": "prometheus",
  2140. "uid": "${DS_PROMETHEUS}"
  2141. },
  2142. "editorMode": "code",
  2143. "exemplar": false,
  2144. "expr": "count(25<kit_assigned_count{env_id=~\"$env_id\"}<30)",
  2145. "format": "time_series",
  2146. "hide": false,
  2147. "instant": false,
  2148. "legendFormat": "Viewers: 25-30",
  2149. "range": true,
  2150. "refId": "25-30"
  2151. },
  2152. {
  2153. "datasource": {
  2154. "type": "prometheus",
  2155. "uid": "${DS_PROMETHEUS}"
  2156. },
  2157. "editorMode": "code",
  2158. "exemplar": false,
  2159. "expr": "count(30<kit_assigned_count{env_id=~\"$env_id\"}<35)",
  2160. "format": "time_series",
  2161. "hide": false,
  2162. "instant": false,
  2163. "legendFormat": "Viewers: 30-35",
  2164. "range": true,
  2165. "refId": "30-35"
  2166. },
  2167. {
  2168. "datasource": {
  2169. "type": "prometheus",
  2170. "uid": "${DS_PROMETHEUS}"
  2171. },
  2172. "editorMode": "code",
  2173. "exemplar": false,
  2174. "expr": "count(35<kit_assigned_count{env_id=~\"$env_id\"})",
  2175. "format": "time_series",
  2176. "hide": false,
  2177. "instant": false,
  2178. "legendFormat": "Viewers: 30-Inf",
  2179. "range": true,
  2180. "refId": "A"
  2181. }
  2182. ],
  2183. "title": "Document per Pod",
  2184. "transformations": [],
  2185. "type": "timeseries"
  2186. },
  2187. {
  2188. "datasource": {
  2189. "type": "prometheus",
  2190. "uid": "${DS_PROMETHEUS}"
  2191. },
  2192. "fieldConfig": {
  2193. "defaults": {
  2194. "color": {
  2195. "mode": "palette-classic"
  2196. },
  2197. "custom": {
  2198. "axisLabel": "",
  2199. "axisPlacement": "auto",
  2200. "barAlignment": 0,
  2201. "drawStyle": "line",
  2202. "fillOpacity": 0,
  2203. "gradientMode": "none",
  2204. "hideFrom": {
  2205. "legend": false,
  2206. "tooltip": false,
  2207. "viz": false
  2208. },
  2209. "lineInterpolation": "linear",
  2210. "lineWidth": 1,
  2211. "pointSize": 5,
  2212. "scaleDistribution": {
  2213. "type": "linear"
  2214. },
  2215. "showPoints": "auto",
  2216. "spanNulls": false,
  2217. "stacking": {
  2218. "group": "A",
  2219. "mode": "none"
  2220. },
  2221. "thresholdsStyle": {
  2222. "mode": "off"
  2223. }
  2224. },
  2225. "mappings": [],
  2226. "noValue": "0",
  2227. "thresholds": {
  2228. "mode": "absolute",
  2229. "steps": [
  2230. {
  2231. "color": "green"
  2232. },
  2233. {
  2234. "color": "red",
  2235. "value": 80
  2236. }
  2237. ]
  2238. }
  2239. },
  2240. "overrides": []
  2241. },
  2242. "gridPos": {
  2243. "h": 8,
  2244. "w": 15,
  2245. "x": 9,
  2246. "y": 41
  2247. },
  2248. "id": 31,
  2249. "options": {
  2250. "legend": {
  2251. "calcs": [
  2252. "last"
  2253. ],
  2254. "displayMode": "table",
  2255. "placement": "right"
  2256. },
  2257. "tooltip": {
  2258. "mode": "single",
  2259. "sort": "none"
  2260. }
  2261. },
  2262. "pluginVersion": "9.0.5",
  2263. "targets": [
  2264. {
  2265. "datasource": {
  2266. "type": "prometheus",
  2267. "uid": "${DS_PROMETHEUS}"
  2268. },
  2269. "editorMode": "code",
  2270. "exemplar": false,
  2271. "expr": "count_values(\"pod\", kit_assigned_count{env_id=~\"$env_id\"})",
  2272. "format": "time_series",
  2273. "instant": false,
  2274. "legendFormat": "{{pod}} docs are open on Pod:",
  2275. "range": true,
  2276. "refId": "A"
  2277. }
  2278. ],
  2279. "title": "Pods hold Documents",
  2280. "transformations": [],
  2281. "type": "timeseries"
  2282. },
  2283. {
  2284. "datasource": {
  2285. "type": "prometheus",
  2286. "uid": "${DS_PROMETHEUS}"
  2287. },
  2288. "fieldConfig": {
  2289. "defaults": {
  2290. "color": {
  2291. "mode": "palette-classic"
  2292. },
  2293. "custom": {
  2294. "axisLabel": "",
  2295. "axisPlacement": "auto",
  2296. "barAlignment": 0,
  2297. "drawStyle": "line",
  2298. "fillOpacity": 80,
  2299. "gradientMode": "none",
  2300. "hideFrom": {
  2301. "legend": false,
  2302. "tooltip": false,
  2303. "viz": false
  2304. },
  2305. "lineInterpolation": "linear",
  2306. "lineWidth": 1,
  2307. "pointSize": 5,
  2308. "scaleDistribution": {
  2309. "type": "linear"
  2310. },
  2311. "showPoints": "auto",
  2312. "spanNulls": false,
  2313. "stacking": {
  2314. "group": "A",
  2315. "mode": "percent"
  2316. },
  2317. "thresholdsStyle": {
  2318. "mode": "off"
  2319. }
  2320. },
  2321. "mappings": [],
  2322. "max": 1,
  2323. "min": 0,
  2324. "thresholds": {
  2325. "mode": "absolute",
  2326. "steps": [
  2327. {
  2328. "color": "green"
  2329. },
  2330. {
  2331. "color": "red",
  2332. "value": 80
  2333. }
  2334. ]
  2335. }
  2336. },
  2337. "overrides": []
  2338. },
  2339. "gridPos": {
  2340. "h": 9,
  2341. "w": 9,
  2342. "x": 0,
  2343. "y": 49
  2344. },
  2345. "id": 30,
  2346. "options": {
  2347. "legend": {
  2348. "calcs": [],
  2349. "displayMode": "list",
  2350. "placement": "bottom"
  2351. },
  2352. "tooltip": {
  2353. "mode": "multi",
  2354. "sort": "asc"
  2355. }
  2356. },
  2357. "pluginVersion": "9.0.5",
  2358. "targets": [
  2359. {
  2360. "datasource": {
  2361. "type": "prometheus",
  2362. "uid": "${DS_PROMETHEUS}"
  2363. },
  2364. "editorMode": "code",
  2365. "exemplar": false,
  2366. "expr": "count(document_active_views_active_count_total{env_id=~\"$env_id\"}==0)",
  2367. "format": "time_series",
  2368. "hide": false,
  2369. "instant": false,
  2370. "legendFormat": "Viewers: 0",
  2371. "range": true,
  2372. "refId": "0"
  2373. },
  2374. {
  2375. "datasource": {
  2376. "type": "prometheus",
  2377. "uid": "${DS_PROMETHEUS}"
  2378. },
  2379. "editorMode": "code",
  2380. "exemplar": false,
  2381. "expr": "count(document_active_views_active_count_total{env_id=~\"$env_id\"}==1)",
  2382. "format": "time_series",
  2383. "hide": false,
  2384. "instant": false,
  2385. "legendFormat": "Viewers: 1",
  2386. "range": true,
  2387. "refId": "1"
  2388. },
  2389. {
  2390. "datasource": {
  2391. "type": "prometheus",
  2392. "uid": "${DS_PROMETHEUS}"
  2393. },
  2394. "editorMode": "code",
  2395. "exemplar": false,
  2396. "expr": "count(document_active_views_active_count_total{env_id=~\"$env_id\"}==2)",
  2397. "format": "time_series",
  2398. "hide": false,
  2399. "instant": false,
  2400. "legendFormat": "Viewers: 2",
  2401. "range": true,
  2402. "refId": "2"
  2403. },
  2404. {
  2405. "datasource": {
  2406. "type": "prometheus",
  2407. "uid": "${DS_PROMETHEUS}"
  2408. },
  2409. "editorMode": "code",
  2410. "exemplar": false,
  2411. "expr": "count(document_active_views_active_count_total{env_id=~\"$env_id\"}==3)",
  2412. "format": "time_series",
  2413. "hide": false,
  2414. "instant": false,
  2415. "legendFormat": "Viewers: 3",
  2416. "range": true,
  2417. "refId": "3"
  2418. },
  2419. {
  2420. "datasource": {
  2421. "type": "prometheus",
  2422. "uid": "${DS_PROMETHEUS}"
  2423. },
  2424. "editorMode": "code",
  2425. "exemplar": false,
  2426. "expr": "count(document_active_views_active_count_total{env_id=~\"$env_id\"}==4)",
  2427. "format": "time_series",
  2428. "hide": false,
  2429. "instant": false,
  2430. "legendFormat": "Viewers: 3",
  2431. "range": true,
  2432. "refId": "4"
  2433. },
  2434. {
  2435. "datasource": {
  2436. "type": "prometheus",
  2437. "uid": "${DS_PROMETHEUS}"
  2438. },
  2439. "editorMode": "code",
  2440. "exemplar": false,
  2441. "expr": "count(document_active_views_active_count_total{env_id=~\"$env_id\"}==5)",
  2442. "format": "time_series",
  2443. "hide": false,
  2444. "instant": false,
  2445. "legendFormat": "Viewers: 5",
  2446. "range": true,
  2447. "refId": "5"
  2448. },
  2449. {
  2450. "datasource": {
  2451. "type": "prometheus",
  2452. "uid": "${DS_PROMETHEUS}"
  2453. },
  2454. "editorMode": "code",
  2455. "exemplar": false,
  2456. "expr": "count(5<document_active_views_active_count_total{env_id=~\"$env_id\"}<10)",
  2457. "format": "time_series",
  2458. "hide": false,
  2459. "instant": false,
  2460. "legendFormat": "Viewers: 5-10",
  2461. "range": true,
  2462. "refId": "5-10"
  2463. },
  2464. {
  2465. "datasource": {
  2466. "type": "prometheus",
  2467. "uid": "${DS_PROMETHEUS}"
  2468. },
  2469. "editorMode": "code",
  2470. "exemplar": false,
  2471. "expr": "count(10<document_active_views_active_count_total{env_id=~\"$env_id\"}<15)",
  2472. "format": "time_series",
  2473. "hide": false,
  2474. "instant": false,
  2475. "legendFormat": "Viewers: 10-15",
  2476. "range": true,
  2477. "refId": "10-15"
  2478. },
  2479. {
  2480. "datasource": {
  2481. "type": "prometheus",
  2482. "uid": "${DS_PROMETHEUS}"
  2483. },
  2484. "editorMode": "code",
  2485. "exemplar": false,
  2486. "expr": "count(15<document_active_views_active_count_total{env_id=~\"$env_id\"}<20)",
  2487. "format": "time_series",
  2488. "hide": false,
  2489. "instant": false,
  2490. "legendFormat": "Viewers: 15-20",
  2491. "range": true,
  2492. "refId": "15-20"
  2493. },
  2494. {
  2495. "datasource": {
  2496. "type": "prometheus",
  2497. "uid": "${DS_PROMETHEUS}"
  2498. },
  2499. "editorMode": "code",
  2500. "exemplar": false,
  2501. "expr": "count(20<document_active_views_active_count_total{env_id=~\"$env_id\"}<25)",
  2502. "format": "time_series",
  2503. "hide": false,
  2504. "instant": false,
  2505. "legendFormat": "Viewers: 20-25",
  2506. "range": true,
  2507. "refId": "20-25"
  2508. },
  2509. {
  2510. "datasource": {
  2511. "type": "prometheus",
  2512. "uid": "${DS_PROMETHEUS}"
  2513. },
  2514. "editorMode": "code",
  2515. "exemplar": false,
  2516. "expr": "count(25<document_active_views_active_count_total{env_id=~\"$env_id\"}<30)",
  2517. "format": "time_series",
  2518. "hide": false,
  2519. "instant": false,
  2520. "legendFormat": "Viewers: 25-30",
  2521. "range": true,
  2522. "refId": "25-30"
  2523. },
  2524. {
  2525. "datasource": {
  2526. "type": "prometheus",
  2527. "uid": "${DS_PROMETHEUS}"
  2528. },
  2529. "editorMode": "code",
  2530. "exemplar": false,
  2531. "expr": "count(30<document_active_views_active_count_total{env_id=~\"$env_id\"}<35)",
  2532. "format": "time_series",
  2533. "hide": false,
  2534. "instant": false,
  2535. "legendFormat": "Viewers: 30-35",
  2536. "range": true,
  2537. "refId": "30-35"
  2538. },
  2539. {
  2540. "datasource": {
  2541. "type": "prometheus",
  2542. "uid": "${DS_PROMETHEUS}"
  2543. },
  2544. "editorMode": "code",
  2545. "exemplar": false,
  2546. "expr": "count(35<document_active_views_active_count_total{env_id=~\"$env_id\"})",
  2547. "format": "time_series",
  2548. "hide": false,
  2549. "instant": false,
  2550. "legendFormat": "Viewers: 30-Inf",
  2551. "range": true,
  2552. "refId": "A"
  2553. }
  2554. ],
  2555. "title": "Viewer per Pod",
  2556. "transformations": [],
  2557. "type": "timeseries"
  2558. },
  2559. {
  2560. "datasource": {
  2561. "type": "prometheus",
  2562. "uid": "${DS_PROMETHEUS}"
  2563. },
  2564. "fieldConfig": {
  2565. "defaults": {
  2566. "color": {
  2567. "mode": "palette-classic"
  2568. },
  2569. "custom": {
  2570. "axisLabel": "",
  2571. "axisPlacement": "auto",
  2572. "barAlignment": 0,
  2573. "drawStyle": "line",
  2574. "fillOpacity": 0,
  2575. "gradientMode": "none",
  2576. "hideFrom": {
  2577. "legend": false,
  2578. "tooltip": false,
  2579. "viz": false
  2580. },
  2581. "lineInterpolation": "linear",
  2582. "lineWidth": 1,
  2583. "pointSize": 5,
  2584. "scaleDistribution": {
  2585. "type": "linear"
  2586. },
  2587. "showPoints": "auto",
  2588. "spanNulls": false,
  2589. "stacking": {
  2590. "group": "A",
  2591. "mode": "none"
  2592. },
  2593. "thresholdsStyle": {
  2594. "mode": "off"
  2595. }
  2596. },
  2597. "mappings": [],
  2598. "noValue": "0",
  2599. "thresholds": {
  2600. "mode": "absolute",
  2601. "steps": [
  2602. {
  2603. "color": "green"
  2604. },
  2605. {
  2606. "color": "red",
  2607. "value": 80
  2608. }
  2609. ]
  2610. }
  2611. },
  2612. "overrides": []
  2613. },
  2614. "gridPos": {
  2615. "h": 9,
  2616. "w": 15,
  2617. "x": 9,
  2618. "y": 49
  2619. },
  2620. "id": 2,
  2621. "options": {
  2622. "legend": {
  2623. "calcs": [
  2624. "last"
  2625. ],
  2626. "displayMode": "table",
  2627. "placement": "right"
  2628. },
  2629. "tooltip": {
  2630. "mode": "single",
  2631. "sort": "none"
  2632. }
  2633. },
  2634. "pluginVersion": "9.0.5",
  2635. "targets": [
  2636. {
  2637. "datasource": {
  2638. "type": "prometheus",
  2639. "uid": "${DS_PROMETHEUS}"
  2640. },
  2641. "editorMode": "code",
  2642. "exemplar": false,
  2643. "expr": "count_values(\"pod\", document_active_views_active_count_total{env_id=~\"$env_id\"})",
  2644. "format": "time_series",
  2645. "instant": false,
  2646. "legendFormat": "{{pod}} viewers are open on Pod:",
  2647. "range": true,
  2648. "refId": "A"
  2649. }
  2650. ],
  2651. "title": "Pods hold Viewers (active views)",
  2652. "transformations": [],
  2653. "type": "timeseries"
  2654. },
  2655. {
  2656. "datasource": {
  2657. "type": "prometheus",
  2658. "uid": "${DS_PROMETHEUS}"
  2659. },
  2660. "fieldConfig": {
  2661. "defaults": {
  2662. "color": {
  2663. "mode": "palette-classic"
  2664. },
  2665. "custom": {
  2666. "axisLabel": "",
  2667. "axisPlacement": "auto",
  2668. "barAlignment": 0,
  2669. "drawStyle": "line",
  2670. "fillOpacity": 0,
  2671. "gradientMode": "none",
  2672. "hideFrom": {
  2673. "legend": false,
  2674. "tooltip": false,
  2675. "viz": false
  2676. },
  2677. "lineInterpolation": "linear",
  2678. "lineWidth": 1,
  2679. "pointSize": 5,
  2680. "scaleDistribution": {
  2681. "type": "linear"
  2682. },
  2683. "showPoints": "auto",
  2684. "spanNulls": false,
  2685. "stacking": {
  2686. "group": "A",
  2687. "mode": "none"
  2688. },
  2689. "thresholdsStyle": {
  2690. "mode": "off"
  2691. }
  2692. },
  2693. "mappings": [],
  2694. "thresholds": {
  2695. "mode": "absolute",
  2696. "steps": [
  2697. {
  2698. "color": "green"
  2699. },
  2700. {
  2701. "color": "red",
  2702. "value": 80
  2703. }
  2704. ]
  2705. }
  2706. },
  2707. "overrides": []
  2708. },
  2709. "gridPos": {
  2710. "h": 8,
  2711. "w": 12,
  2712. "x": 0,
  2713. "y": 58
  2714. },
  2715. "id": 32,
  2716. "options": {
  2717. "legend": {
  2718. "calcs": [
  2719. "lastNotNull"
  2720. ],
  2721. "displayMode": "table",
  2722. "placement": "right",
  2723. "sortBy": "Last *",
  2724. "sortDesc": false
  2725. },
  2726. "tooltip": {
  2727. "mode": "multi",
  2728. "sort": "none"
  2729. }
  2730. },
  2731. "targets": [
  2732. {
  2733. "datasource": {
  2734. "type": "prometheus",
  2735. "uid": "${DS_PROMETHEUS}"
  2736. },
  2737. "editorMode": "code",
  2738. "expr": "sum(kit_assigned_count{env_id=~\"$env_id\"}) by (env_id,pod)",
  2739. "legendFormat": "{{env_id}}: {{pod}}",
  2740. "range": true,
  2741. "refId": "A"
  2742. }
  2743. ],
  2744. "title": "Docs on Pod",
  2745. "type": "timeseries"
  2746. },
  2747. {
  2748. "datasource": {
  2749. "type": "prometheus",
  2750. "uid": "${DS_PROMETHEUS}"
  2751. },
  2752. "fieldConfig": {
  2753. "defaults": {
  2754. "color": {
  2755. "mode": "palette-classic"
  2756. },
  2757. "custom": {
  2758. "axisLabel": "",
  2759. "axisPlacement": "auto",
  2760. "barAlignment": 0,
  2761. "drawStyle": "line",
  2762. "fillOpacity": 0,
  2763. "gradientMode": "none",
  2764. "hideFrom": {
  2765. "legend": false,
  2766. "tooltip": false,
  2767. "viz": false
  2768. },
  2769. "lineInterpolation": "linear",
  2770. "lineWidth": 1,
  2771. "pointSize": 5,
  2772. "scaleDistribution": {
  2773. "type": "linear"
  2774. },
  2775. "showPoints": "auto",
  2776. "spanNulls": false,
  2777. "stacking": {
  2778. "group": "A",
  2779. "mode": "none"
  2780. },
  2781. "thresholdsStyle": {
  2782. "mode": "off"
  2783. }
  2784. },
  2785. "mappings": [],
  2786. "thresholds": {
  2787. "mode": "absolute",
  2788. "steps": [
  2789. {
  2790. "color": "green"
  2791. },
  2792. {
  2793. "color": "red",
  2794. "value": 80
  2795. }
  2796. ]
  2797. }
  2798. },
  2799. "overrides": []
  2800. },
  2801. "gridPos": {
  2802. "h": 8,
  2803. "w": 12,
  2804. "x": 12,
  2805. "y": 58
  2806. },
  2807. "id": 8,
  2808. "options": {
  2809. "legend": {
  2810. "calcs": [
  2811. "lastNotNull"
  2812. ],
  2813. "displayMode": "table",
  2814. "placement": "right",
  2815. "sortBy": "Last *",
  2816. "sortDesc": false
  2817. },
  2818. "tooltip": {
  2819. "mode": "multi",
  2820. "sort": "none"
  2821. }
  2822. },
  2823. "targets": [
  2824. {
  2825. "datasource": {
  2826. "type": "prometheus",
  2827. "uid": "${DS_PROMETHEUS}"
  2828. },
  2829. "editorMode": "code",
  2830. "expr": "sum(document_active_views_active_count_total{env_id=~\"$env_id\"}) by (env_id,pod)",
  2831. "legendFormat": "{{env_id}}: {{pod}}",
  2832. "range": true,
  2833. "refId": "A"
  2834. }
  2835. ],
  2836. "title": "Viewers on Pod",
  2837. "type": "timeseries"
  2838. }
  2839. ],
  2840. "refresh": "5s",
  2841. "schemaVersion": 36,
  2842. "style": "dark",
  2843. "tags": [
  2844. "collabora",
  2845. "app"
  2846. ],
  2847. "templating": {
  2848. "list": [
  2849. {
  2850. "current": {
  2851. "selected": false,
  2852. "text": "Prometheus",
  2853. "value": "Prometheus"
  2854. },
  2855. "hide": 0,
  2856. "includeAll": false,
  2857. "label": "datasource",
  2858. "multi": false,
  2859. "name": "DS_PROMETHEUS",
  2860. "options": [],
  2861. "query": "prometheus",
  2862. "queryValue": "",
  2863. "refresh": 1,
  2864. "regex": "",
  2865. "skipUrlSync": false,
  2866. "type": "datasource"
  2867. },
  2868. {
  2869. "current": {},
  2870. "datasource": {
  2871. "type": "prometheus",
  2872. "uid": "${DS_PROMETHEUS}"
  2873. },
  2874. "definition": "label_values(coolwsd_count{}, env_id)",
  2875. "hide": 0,
  2876. "includeAll": true,
  2877. "multi": true,
  2878. "name": "env_id",
  2879. "options": [],
  2880. "query": {
  2881. "query": "label_values(coolwsd_count{}, env_id)",
  2882. "refId": "StandardVariableQuery"
  2883. },
  2884. "refresh": 1,
  2885. "regex": "",
  2886. "skipUrlSync": false,
  2887. "sort": 0,
  2888. "type": "query"
  2889. }
  2890. ]
  2891. },
  2892. "time": {
  2893. "from": "now-1h",
  2894. "to": "now"
  2895. },
  2896. "timepicker": {},
  2897. "timezone": "",
  2898. "title": "Collabora Online / HA - Allocation",
  2899. "uid": "BLhOgpWVk",
  2900. "version": 8,
  2901. "weekStart": ""
  2902. }