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.

2548 lines
58 KiB

  1. {
  2. "annotations": {
  3. "list": [
  4. {
  5. "builtIn": 1,
  6. "datasource": "$DS_PROMETHEUS",
  7. "enable": true,
  8. "hide": true,
  9. "iconColor": "rgba(0, 211, 255, 1)",
  10. "limit": 100,
  11. "name": "Annotations & Alerts",
  12. "showIn": 0,
  13. "type": "dashboard"
  14. }
  15. ]
  16. },
  17. "editable": true,
  18. "gnetId": 10423,
  19. "graphTooltip": 0,
  20. "id": 3690,
  21. "iteration": 1602763266349,
  22. "links": [],
  23. "panels": [
  24. {
  25. "collapsed": false,
  26. "datasource": null,
  27. "gridPos": {
  28. "h": 1,
  29. "w": 24,
  30. "x": 0,
  31. "y": 0
  32. },
  33. "id": 60,
  34. "panels": [],
  35. "title": "S3 api",
  36. "type": "row"
  37. },
  38. {
  39. "aliasColors": {},
  40. "bars": false,
  41. "dashLength": 10,
  42. "dashes": false,
  43. "datasource": "$DS_PROMETHEUS",
  44. "editable": true,
  45. "error": false,
  46. "fieldConfig": {
  47. "defaults": {
  48. "custom": {}
  49. },
  50. "overrides": []
  51. },
  52. "fill": 0,
  53. "fillGradient": 0,
  54. "grid": {},
  55. "gridPos": {
  56. "h": 7,
  57. "w": 12,
  58. "x": 0,
  59. "y": 1
  60. },
  61. "hiddenSeries": false,
  62. "id": 63,
  63. "legend": {
  64. "alignAsTable": false,
  65. "avg": false,
  66. "current": true,
  67. "hideEmpty": true,
  68. "hideZero": true,
  69. "max": false,
  70. "min": false,
  71. "rightSide": false,
  72. "show": true,
  73. "sideWidth": 250,
  74. "sort": "max",
  75. "sortDesc": true,
  76. "total": false,
  77. "values": true
  78. },
  79. "lines": true,
  80. "linewidth": 1,
  81. "links": [],
  82. "maxPerRow": 1,
  83. "nullPointMode": "null as zero",
  84. "percentage": false,
  85. "pluginVersion": "7.1.0",
  86. "pointradius": 5,
  87. "points": false,
  88. "renderer": "flot",
  89. "seriesOverrides": [
  90. {
  91. "alias": "total",
  92. "lines": false
  93. }
  94. ],
  95. "spaceLength": 10,
  96. "stack": false,
  97. "steppedLine": false,
  98. "targets": [
  99. {
  100. "expr": "sum(rate(SeaweedFS_s3_request_total{namespace=\"$namespace\",service=~\"$service-api\",type=~\"$method\"}[1m])) by (code)",
  101. "format": "time_series",
  102. "interval": "",
  103. "intervalFactor": 2,
  104. "legendFormat": "{{code}}",
  105. "refId": "A",
  106. "step": 30
  107. }
  108. ],
  109. "thresholds": [],
  110. "timeFrom": null,
  111. "timeRegions": [],
  112. "timeShift": null,
  113. "title": "S3 QPS by statusCode",
  114. "tooltip": {
  115. "msResolution": true,
  116. "shared": true,
  117. "sort": 2,
  118. "value_type": "individual"
  119. },
  120. "type": "graph",
  121. "xaxis": {
  122. "buckets": null,
  123. "mode": "time",
  124. "name": null,
  125. "show": true,
  126. "values": []
  127. },
  128. "yaxes": [
  129. {
  130. "format": "short",
  131. "label": null,
  132. "logBase": 1,
  133. "max": null,
  134. "min": "0",
  135. "show": true
  136. },
  137. {
  138. "format": "short",
  139. "label": null,
  140. "logBase": 1,
  141. "max": null,
  142. "min": null,
  143. "show": true
  144. }
  145. ],
  146. "yaxis": {
  147. "align": false,
  148. "alignLevel": null
  149. }
  150. },
  151. {
  152. "aliasColors": {},
  153. "bars": false,
  154. "dashLength": 10,
  155. "dashes": false,
  156. "datasource": "$DS_PROMETHEUS",
  157. "editable": true,
  158. "error": false,
  159. "fieldConfig": {
  160. "defaults": {
  161. "custom": {}
  162. },
  163. "overrides": []
  164. },
  165. "fill": 0,
  166. "fillGradient": 0,
  167. "grid": {},
  168. "gridPos": {
  169. "h": 7,
  170. "w": 12,
  171. "x": 12,
  172. "y": 1
  173. },
  174. "hiddenSeries": false,
  175. "id": 62,
  176. "legend": {
  177. "alignAsTable": false,
  178. "avg": false,
  179. "current": true,
  180. "hideEmpty": true,
  181. "hideZero": true,
  182. "max": false,
  183. "min": false,
  184. "rightSide": false,
  185. "show": true,
  186. "sideWidth": 250,
  187. "sort": "max",
  188. "sortDesc": true,
  189. "total": false,
  190. "values": true
  191. },
  192. "lines": true,
  193. "linewidth": 1,
  194. "links": [],
  195. "maxPerRow": 1,
  196. "nullPointMode": "null as zero",
  197. "percentage": false,
  198. "pluginVersion": "7.1.0",
  199. "pointradius": 5,
  200. "points": false,
  201. "renderer": "flot",
  202. "seriesOverrides": [
  203. {
  204. "alias": "total",
  205. "lines": false
  206. }
  207. ],
  208. "spaceLength": 10,
  209. "stack": false,
  210. "steppedLine": false,
  211. "targets": [
  212. {
  213. "expr": "sum(rate(SeaweedFS_s3_request_total{namespace=\"$namespace\",service=~\"$service-api\"}[1m])) by (type)",
  214. "format": "time_series",
  215. "interval": "",
  216. "intervalFactor": 2,
  217. "legendFormat": "{{type}}",
  218. "refId": "A",
  219. "step": 30
  220. }
  221. ],
  222. "thresholds": [],
  223. "timeFrom": null,
  224. "timeRegions": [],
  225. "timeShift": null,
  226. "title": "S3 QPS by method",
  227. "tooltip": {
  228. "msResolution": true,
  229. "shared": true,
  230. "sort": 2,
  231. "value_type": "individual"
  232. },
  233. "type": "graph",
  234. "xaxis": {
  235. "buckets": null,
  236. "mode": "time",
  237. "name": null,
  238. "show": true,
  239. "values": []
  240. },
  241. "yaxes": [
  242. {
  243. "format": "short",
  244. "label": null,
  245. "logBase": 1,
  246. "max": null,
  247. "min": "0",
  248. "show": true
  249. },
  250. {
  251. "format": "short",
  252. "label": null,
  253. "logBase": 1,
  254. "max": null,
  255. "min": null,
  256. "show": true
  257. }
  258. ],
  259. "yaxis": {
  260. "align": false,
  261. "alignLevel": null
  262. }
  263. },
  264. {
  265. "aliasColors": {},
  266. "bars": false,
  267. "dashLength": 10,
  268. "dashes": false,
  269. "datasource": "${DS_PROMETHEUS}",
  270. "fill": 1,
  271. "fieldConfig": {
  272. "defaults": {
  273. "unit": "decbytes"
  274. },
  275. "overrides": []
  276. },
  277. "fillGradient": 0,
  278. "gridPos": {
  279. "h": 7,
  280. "w": 12,
  281. "x": 0,
  282. "y": 8
  283. },
  284. "hiddenSeries": false,
  285. "id": 84,
  286. "legend": {
  287. "avg": false,
  288. "current": false,
  289. "max": false,
  290. "min": false,
  291. "show": true,
  292. "total": false,
  293. "values": false
  294. },
  295. "lines": true,
  296. "linewidth": 1,
  297. "links": [],
  298. "nullPointMode": "null",
  299. "options": {
  300. "alertThreshold": true
  301. },
  302. "percentage": false,
  303. "pluginVersion": "8.1.2",
  304. "pointradius": 5,
  305. "points": false,
  306. "renderer": "flot",
  307. "seriesOverrides": [],
  308. "spaceLength": 10,
  309. "stack": false,
  310. "steppedLine": false,
  311. "targets": [
  312. {
  313. "expr": "sum(rate(SeaweedFS_s3_bucket_traffic_received_bytes_total{namespace=\"$namespace\",service=~\"$service-api\"}[$__interval])) by (bucket)",
  314. "format": "time_series",
  315. "hide": false,
  316. "intervalFactor": 2,
  317. "legendFormat": "{{bucket}}",
  318. "refId": "A"
  319. }
  320. ],
  321. "thresholds": [],
  322. "timeFrom": null,
  323. "timeRegions": [],
  324. "timeShift": null,
  325. "title": "S3 Bucket Traffic Received",
  326. "tooltip": {
  327. "shared": true,
  328. "sort": 0,
  329. "value_type": "individual"
  330. },
  331. "type": "graph",
  332. "xaxis": {
  333. "buckets": null,
  334. "mode": "time",
  335. "name": null,
  336. "show": true,
  337. "values": []
  338. },
  339. "yaxes": [
  340. {
  341. "format": "decbytes",
  342. "logBase": 1,
  343. "min": 0,
  344. "show": true
  345. },
  346. {
  347. "format": "short",
  348. "logBase": 1,
  349. "show": false
  350. }
  351. ],
  352. "yaxis": {
  353. "align": false,
  354. "alignLevel": null
  355. }
  356. },
  357. {
  358. "aliasColors": {},
  359. "bars": false,
  360. "dashLength": 10,
  361. "dashes": false,
  362. "datasource": "${DS_PROMETHEUS}",
  363. "fill": 1,
  364. "fieldConfig": {
  365. "defaults": {
  366. "unit": "decbytes"
  367. },
  368. "overrides": []
  369. },
  370. "fillGradient": 0,
  371. "gridPos": {
  372. "h": 7,
  373. "w": 12,
  374. "x": 12,
  375. "y": 8
  376. },
  377. "hiddenSeries": false,
  378. "id": 85,
  379. "legend": {
  380. "avg": false,
  381. "current": false,
  382. "max": false,
  383. "min": false,
  384. "show": true,
  385. "total": false,
  386. "values": false
  387. },
  388. "lines": true,
  389. "linewidth": 1,
  390. "links": [],
  391. "nullPointMode": "null",
  392. "options": {
  393. "alertThreshold": true
  394. },
  395. "percentage": false,
  396. "pluginVersion": "8.1.2",
  397. "pointradius": 5,
  398. "points": false,
  399. "renderer": "flot",
  400. "seriesOverrides": [],
  401. "spaceLength": 10,
  402. "stack": false,
  403. "steppedLine": false,
  404. "targets": [
  405. {
  406. "expr": "sum(rate(SeaweedFS_s3_bucket_traffic_sent_bytes_total{namespace=\"$namespace\",service=~\"$service-api\"}[$__interval])) by (bucket)",
  407. "format": "time_series",
  408. "hide": false,
  409. "intervalFactor": 2,
  410. "legendFormat": "{{bucket}}",
  411. "refId": "A"
  412. }
  413. ],
  414. "thresholds": [],
  415. "timeFrom": null,
  416. "timeRegions": [],
  417. "timeShift": null,
  418. "title": "S3 Bucket Traffic Sent",
  419. "tooltip": {
  420. "shared": true,
  421. "sort": 0,
  422. "value_type": "individual"
  423. },
  424. "type": "graph",
  425. "xaxis": {
  426. "buckets": null,
  427. "mode": "time",
  428. "name": null,
  429. "show": true,
  430. "values": []
  431. },
  432. "yaxes": [
  433. {
  434. "format": "decbytes",
  435. "logBase": 1,
  436. "min": 0,
  437. "show": true
  438. },
  439. {
  440. "format": "short",
  441. "logBase": 1,
  442. "show": false
  443. }
  444. ],
  445. "yaxis": {
  446. "align": false,
  447. "alignLevel": null
  448. }
  449. },
  450. {
  451. "aliasColors": {},
  452. "bars": false,
  453. "dashLength": 10,
  454. "dashes": false,
  455. "datasource": "$DS_PROMETHEUS",
  456. "editable": true,
  457. "error": false,
  458. "fieldConfig": {
  459. "defaults": {
  460. "custom": {}
  461. },
  462. "overrides": []
  463. },
  464. "fill": 1,
  465. "fillGradient": 0,
  466. "grid": {},
  467. "gridPos": {
  468. "h": 7,
  469. "w": 8,
  470. "x": 0,
  471. "y": 15
  472. },
  473. "hiddenSeries": false,
  474. "id": 68,
  475. "legend": {
  476. "avg": false,
  477. "current": false,
  478. "max": false,
  479. "min": false,
  480. "show": true,
  481. "total": false,
  482. "values": false
  483. },
  484. "lines": true,
  485. "linewidth": 1,
  486. "links": [],
  487. "nullPointMode": "null as zero",
  488. "percentage": false,
  489. "pluginVersion": "7.1.0",
  490. "pointradius": 5,
  491. "points": false,
  492. "renderer": "flot",
  493. "seriesOverrides": [],
  494. "spaceLength": 10,
  495. "stack": false,
  496. "steppedLine": false,
  497. "targets": [
  498. {
  499. "expr": "histogram_quantile(0.80, sum(rate(SeaweedFS_s3_request_seconds_bucket{namespace=\"$namespace\",service=~\"$service-api\"}[1m])) by (le))",
  500. "format": "time_series",
  501. "hide": false,
  502. "interval": "",
  503. "intervalFactor": 2,
  504. "legendFormat": "average",
  505. "refId": "A",
  506. "step": 60
  507. },
  508. {
  509. "expr": "histogram_quantile(0.80, sum(rate(SeaweedFS_s3_request_seconds_bucket{namespace=\"$namespace\",service=~\"$service-api\",type=~\"$method\"}[1m])) by (le, type))",
  510. "format": "time_series",
  511. "hide": false,
  512. "interval": "",
  513. "intervalFactor": 2,
  514. "legendFormat": "{{type}}",
  515. "refId": "B",
  516. "step": 60
  517. }
  518. ],
  519. "thresholds": [],
  520. "timeFrom": null,
  521. "timeRegions": [],
  522. "timeShift": null,
  523. "title": "S3 Request Duration 80th percentile",
  524. "tooltip": {
  525. "msResolution": true,
  526. "shared": true,
  527. "sort": 0,
  528. "value_type": "cumulative"
  529. },
  530. "type": "graph",
  531. "xaxis": {
  532. "buckets": null,
  533. "mode": "time",
  534. "name": null,
  535. "show": true,
  536. "values": []
  537. },
  538. "yaxes": [
  539. {
  540. "format": "s",
  541. "label": null,
  542. "logBase": 1,
  543. "max": null,
  544. "min": 0,
  545. "show": true
  546. },
  547. {
  548. "format": "short",
  549. "label": null,
  550. "logBase": 1,
  551. "max": null,
  552. "min": null,
  553. "show": false
  554. }
  555. ],
  556. "yaxis": {
  557. "align": false,
  558. "alignLevel": null
  559. }
  560. },
  561. {
  562. "aliasColors": {},
  563. "bars": false,
  564. "dashLength": 10,
  565. "dashes": false,
  566. "datasource": "$DS_PROMETHEUS",
  567. "editable": true,
  568. "error": false,
  569. "fieldConfig": {
  570. "defaults": {
  571. "custom": {}
  572. },
  573. "overrides": []
  574. },
  575. "fill": 1,
  576. "fillGradient": 0,
  577. "grid": {},
  578. "gridPos": {
  579. "h": 7,
  580. "w": 8,
  581. "x": 8,
  582. "y": 15
  583. },
  584. "hiddenSeries": false,
  585. "id": 67,
  586. "legend": {
  587. "avg": false,
  588. "current": false,
  589. "max": false,
  590. "min": false,
  591. "show": true,
  592. "total": false,
  593. "values": false
  594. },
  595. "lines": true,
  596. "linewidth": 1,
  597. "links": [],
  598. "nullPointMode": "null as zero",
  599. "percentage": false,
  600. "pluginVersion": "7.1.0",
  601. "pointradius": 5,
  602. "points": false,
  603. "renderer": "flot",
  604. "seriesOverrides": [],
  605. "spaceLength": 10,
  606. "stack": false,
  607. "steppedLine": false,
  608. "targets": [
  609. {
  610. "expr": "histogram_quantile(0.95, sum(rate(SeaweedFS_s3_request_seconds_bucket{namespace=\"$namespace\",service=~\"$service-api\"}[1m])) by (le))",
  611. "format": "time_series",
  612. "hide": false,
  613. "interval": "",
  614. "intervalFactor": 2,
  615. "legendFormat": "average",
  616. "refId": "A",
  617. "step": 60
  618. },
  619. {
  620. "expr": "histogram_quantile(0.95, sum(rate(SeaweedFS_s3_request_seconds_bucket{namespace=\"$namespace\",service=~\"$service-api\", type=~\"$method\"}[1m])) by (le, type))",
  621. "format": "time_series",
  622. "hide": false,
  623. "interval": "",
  624. "intervalFactor": 2,
  625. "legendFormat": "{{type}}",
  626. "refId": "B",
  627. "step": 60
  628. }
  629. ],
  630. "thresholds": [],
  631. "timeFrom": null,
  632. "timeRegions": [],
  633. "timeShift": null,
  634. "title": "S3 Request Duration 95th percentile",
  635. "tooltip": {
  636. "msResolution": true,
  637. "shared": true,
  638. "sort": 0,
  639. "value_type": "cumulative"
  640. },
  641. "type": "graph",
  642. "xaxis": {
  643. "buckets": null,
  644. "mode": "time",
  645. "name": null,
  646. "show": true,
  647. "values": []
  648. },
  649. "yaxes": [
  650. {
  651. "format": "s",
  652. "label": null,
  653. "logBase": 1,
  654. "max": null,
  655. "min": 0,
  656. "show": true
  657. },
  658. {
  659. "format": "short",
  660. "label": null,
  661. "logBase": 1,
  662. "max": null,
  663. "min": null,
  664. "show": false
  665. }
  666. ],
  667. "yaxis": {
  668. "align": false,
  669. "alignLevel": null
  670. }
  671. },
  672. {
  673. "aliasColors": {},
  674. "bars": false,
  675. "dashLength": 10,
  676. "dashes": false,
  677. "datasource": "$DS_PROMETHEUS",
  678. "editable": true,
  679. "error": false,
  680. "fieldConfig": {
  681. "defaults": {
  682. "custom": {}
  683. },
  684. "overrides": []
  685. },
  686. "fill": 1,
  687. "fillGradient": 0,
  688. "grid": {},
  689. "gridPos": {
  690. "h": 7,
  691. "w": 8,
  692. "x": 16,
  693. "y": 15
  694. },
  695. "hiddenSeries": false,
  696. "id": 65,
  697. "legend": {
  698. "avg": false,
  699. "current": false,
  700. "max": false,
  701. "min": false,
  702. "show": true,
  703. "total": false,
  704. "values": false
  705. },
  706. "lines": true,
  707. "linewidth": 1,
  708. "links": [],
  709. "nullPointMode": "null as zero",
  710. "percentage": false,
  711. "pluginVersion": "7.1.0",
  712. "pointradius": 5,
  713. "points": false,
  714. "renderer": "flot",
  715. "seriesOverrides": [],
  716. "spaceLength": 10,
  717. "stack": false,
  718. "steppedLine": false,
  719. "targets": [
  720. {
  721. "expr": "histogram_quantile(0.99, sum(rate(SeaweedFS_s3_request_seconds_bucket{namespace=\"$namespace\",service=~\"$service-api\"}[1m])) by (le))",
  722. "format": "time_series",
  723. "hide": false,
  724. "interval": "",
  725. "intervalFactor": 2,
  726. "legendFormat": "average",
  727. "refId": "A",
  728. "step": 60
  729. },
  730. {
  731. "expr": "histogram_quantile(0.99, sum(rate(SeaweedFS_s3_request_seconds_bucket{namespace=\"$namespace\",service=~\"$service-api\", type=~\"$method\"}[1m])) by (le, type))",
  732. "format": "time_series",
  733. "hide": false,
  734. "interval": "",
  735. "intervalFactor": 2,
  736. "legendFormat": "{{type}}",
  737. "refId": "B",
  738. "step": 60
  739. }
  740. ],
  741. "thresholds": [],
  742. "timeFrom": null,
  743. "timeRegions": [],
  744. "timeShift": null,
  745. "title": "S3 Request Duration 99th percentile",
  746. "tooltip": {
  747. "msResolution": true,
  748. "shared": true,
  749. "sort": 0,
  750. "value_type": "cumulative"
  751. },
  752. "type": "graph",
  753. "xaxis": {
  754. "buckets": null,
  755. "mode": "time",
  756. "name": null,
  757. "show": true,
  758. "values": []
  759. },
  760. "yaxes": [
  761. {
  762. "format": "s",
  763. "label": null,
  764. "logBase": 1,
  765. "max": null,
  766. "min": 0,
  767. "show": true
  768. },
  769. {
  770. "format": "short",
  771. "label": null,
  772. "logBase": 1,
  773. "max": null,
  774. "min": null,
  775. "show": false
  776. }
  777. ],
  778. "yaxis": {
  779. "align": false,
  780. "alignLevel": null
  781. }
  782. },
  783. {
  784. "collapsed": false,
  785. "datasource": null,
  786. "gridPos": {
  787. "h": 1,
  788. "w": 24,
  789. "x": 0,
  790. "y": 22
  791. },
  792. "id": 55,
  793. "panels": [],
  794. "repeat": null,
  795. "title": "Filer",
  796. "type": "row"
  797. },
  798. {
  799. "aliasColors": {},
  800. "bars": false,
  801. "dashLength": 10,
  802. "dashes": false,
  803. "datasource": "$DS_PROMETHEUS",
  804. "editable": true,
  805. "error": false,
  806. "fieldConfig": {
  807. "defaults": {
  808. "custom": {}
  809. },
  810. "overrides": []
  811. },
  812. "fill": 1,
  813. "fillGradient": 0,
  814. "grid": {},
  815. "gridPos": {
  816. "h": 7,
  817. "w": 8,
  818. "x": 0,
  819. "y": 23
  820. },
  821. "hiddenSeries": false,
  822. "id": 46,
  823. "legend": {
  824. "avg": false,
  825. "current": false,
  826. "max": false,
  827. "min": false,
  828. "show": true,
  829. "total": false,
  830. "values": false
  831. },
  832. "lines": true,
  833. "linewidth": 1,
  834. "links": [],
  835. "nullPointMode": "null as zero",
  836. "percentage": false,
  837. "pluginVersion": "7.1.0",
  838. "pointradius": 5,
  839. "points": false,
  840. "renderer": "flot",
  841. "seriesOverrides": [],
  842. "spaceLength": 10,
  843. "stack": false,
  844. "steppedLine": false,
  845. "targets": [
  846. {
  847. "expr": "histogram_quantile(0.80, sum(rate(SeaweedFS_filer_request_seconds_bucket{namespace=\"$namespace\",service=~\"$service-api\"}[1m])) by (le))",
  848. "format": "time_series",
  849. "hide": false,
  850. "interval": "",
  851. "intervalFactor": 2,
  852. "legendFormat": "average",
  853. "refId": "A",
  854. "step": 60
  855. },
  856. {
  857. "expr": "histogram_quantile(0.80, sum(rate(SeaweedFS_filer_request_seconds_bucket{namespace=\"$namespace\",service=~\"$service-api\"}[1m])) by (le, type))",
  858. "format": "time_series",
  859. "hide": true,
  860. "interval": "",
  861. "intervalFactor": 2,
  862. "legendFormat": "{{type}}",
  863. "refId": "B",
  864. "step": 60
  865. }
  866. ],
  867. "thresholds": [],
  868. "timeFrom": null,
  869. "timeRegions": [],
  870. "timeShift": null,
  871. "title": "Filer Request Duration 80th percentile",
  872. "tooltip": {
  873. "msResolution": true,
  874. "shared": true,
  875. "sort": 0,
  876. "value_type": "cumulative"
  877. },
  878. "type": "graph",
  879. "xaxis": {
  880. "buckets": null,
  881. "mode": "time",
  882. "name": null,
  883. "show": true,
  884. "values": []
  885. },
  886. "yaxes": [
  887. {
  888. "format": "s",
  889. "label": null,
  890. "logBase": 1,
  891. "max": null,
  892. "min": 0,
  893. "show": true
  894. },
  895. {
  896. "format": "short",
  897. "label": null,
  898. "logBase": 1,
  899. "max": null,
  900. "min": null,
  901. "show": false
  902. }
  903. ],
  904. "yaxis": {
  905. "align": false,
  906. "alignLevel": null
  907. }
  908. },
  909. {
  910. "aliasColors": {},
  911. "bars": false,
  912. "dashLength": 10,
  913. "dashes": false,
  914. "datasource": "$DS_PROMETHEUS",
  915. "editable": true,
  916. "error": false,
  917. "fieldConfig": {
  918. "defaults": {
  919. "custom": {}
  920. },
  921. "overrides": []
  922. },
  923. "fill": 1,
  924. "fillGradient": 0,
  925. "grid": {},
  926. "gridPos": {
  927. "h": 7,
  928. "w": 8,
  929. "x": 8,
  930. "y": 23
  931. },
  932. "hiddenSeries": false,
  933. "id": 49,
  934. "legend": {
  935. "avg": false,
  936. "current": false,
  937. "max": false,
  938. "min": false,
  939. "show": true,
  940. "total": false,
  941. "values": false
  942. },
  943. "lines": true,
  944. "linewidth": 1,
  945. "links": [],
  946. "nullPointMode": "null as zero",
  947. "percentage": false,
  948. "pluginVersion": "7.1.0",
  949. "pointradius": 5,
  950. "points": false,
  951. "renderer": "flot",
  952. "seriesOverrides": [],
  953. "spaceLength": 10,
  954. "stack": false,
  955. "steppedLine": false,
  956. "targets": [
  957. {
  958. "expr": "histogram_quantile(0.95, sum(rate(SeaweedFS_filer_request_seconds_bucket{namespace=\"$namespace\",service=~\"$service-api\"}[1m])) by (le))",
  959. "format": "time_series",
  960. "hide": false,
  961. "intervalFactor": 2,
  962. "legendFormat": "average",
  963. "refId": "A",
  964. "step": 60
  965. },
  966. {
  967. "expr": "histogram_quantile(0.95, sum(rate(SeaweedFS_filer_request_seconds_bucket{namespace=\"$namespace\",service=~\"$service-api\"}[1m])) by (le, type))",
  968. "format": "time_series",
  969. "hide": false,
  970. "interval": "",
  971. "intervalFactor": 2,
  972. "legendFormat": "{{type}}",
  973. "refId": "B",
  974. "step": 60
  975. },
  976. {
  977. "expr": "",
  978. "format": "time_series",
  979. "intervalFactor": 2,
  980. "refId": "C"
  981. }
  982. ],
  983. "thresholds": [],
  984. "timeFrom": null,
  985. "timeRegions": [],
  986. "timeShift": null,
  987. "title": "Filer Request Duration 95th percentile",
  988. "tooltip": {
  989. "msResolution": true,
  990. "shared": true,
  991. "sort": 0,
  992. "value_type": "cumulative"
  993. },
  994. "type": "graph",
  995. "xaxis": {
  996. "buckets": null,
  997. "mode": "time",
  998. "name": null,
  999. "show": true,
  1000. "values": []
  1001. },
  1002. "yaxes": [
  1003. {
  1004. "format": "s",
  1005. "label": null,
  1006. "logBase": 1,
  1007. "max": null,
  1008. "min": 0,
  1009. "show": true
  1010. },
  1011. {
  1012. "format": "short",
  1013. "label": null,
  1014. "logBase": 1,
  1015. "max": null,
  1016. "min": null,
  1017. "show": false
  1018. }
  1019. ],
  1020. "yaxis": {
  1021. "align": false,
  1022. "alignLevel": null
  1023. }
  1024. },
  1025. {
  1026. "aliasColors": {},
  1027. "bars": false,
  1028. "dashLength": 10,
  1029. "dashes": false,
  1030. "datasource": "$DS_PROMETHEUS",
  1031. "editable": true,
  1032. "error": false,
  1033. "fieldConfig": {
  1034. "defaults": {
  1035. "custom": {}
  1036. },
  1037. "overrides": []
  1038. },
  1039. "fill": 1,
  1040. "fillGradient": 0,
  1041. "grid": {},
  1042. "gridPos": {
  1043. "h": 7,
  1044. "w": 8,
  1045. "x": 16,
  1046. "y": 23
  1047. },
  1048. "hiddenSeries": false,
  1049. "id": 66,
  1050. "legend": {
  1051. "avg": false,
  1052. "current": false,
  1053. "max": false,
  1054. "min": false,
  1055. "show": true,
  1056. "total": false,
  1057. "values": false
  1058. },
  1059. "lines": true,
  1060. "linewidth": 1,
  1061. "links": [],
  1062. "nullPointMode": "null as zero",
  1063. "percentage": false,
  1064. "pluginVersion": "7.1.0",
  1065. "pointradius": 5,
  1066. "points": false,
  1067. "renderer": "flot",
  1068. "seriesOverrides": [],
  1069. "spaceLength": 10,
  1070. "stack": false,
  1071. "steppedLine": false,
  1072. "targets": [
  1073. {
  1074. "expr": "histogram_quantile(0.95, sum(rate(SeaweedFS_filer_request_seconds_bucket{namespace=\"$namespace\",service=~\"$service-api\"}[1m])) by (le))",
  1075. "format": "time_series",
  1076. "hide": false,
  1077. "intervalFactor": 2,
  1078. "legendFormat": "average",
  1079. "refId": "A",
  1080. "step": 60
  1081. },
  1082. {
  1083. "expr": "histogram_quantile(0.95, sum(rate(SeaweedFS_filer_request_seconds_bucket{namespace=\"$namespace\",service=~\"$service-api\"}[1m])) by (le, type))",
  1084. "format": "time_series",
  1085. "hide": false,
  1086. "interval": "",
  1087. "intervalFactor": 2,
  1088. "legendFormat": "{{type}}",
  1089. "refId": "B",
  1090. "step": 60
  1091. },
  1092. {
  1093. "expr": "",
  1094. "format": "time_series",
  1095. "intervalFactor": 2,
  1096. "refId": "C"
  1097. }
  1098. ],
  1099. "thresholds": [],
  1100. "timeFrom": null,
  1101. "timeRegions": [],
  1102. "timeShift": null,
  1103. "title": "Filer Request Duration 95th percentile",
  1104. "tooltip": {
  1105. "msResolution": true,
  1106. "shared": true,
  1107. "sort": 0,
  1108. "value_type": "cumulative"
  1109. },
  1110. "type": "graph",
  1111. "xaxis": {
  1112. "buckets": null,
  1113. "mode": "time",
  1114. "name": null,
  1115. "show": true,
  1116. "values": []
  1117. },
  1118. "yaxes": [
  1119. {
  1120. "format": "s",
  1121. "label": null,
  1122. "logBase": 1,
  1123. "max": null,
  1124. "min": 0,
  1125. "show": true
  1126. },
  1127. {
  1128. "format": "short",
  1129. "label": null,
  1130. "logBase": 1,
  1131. "max": null,
  1132. "min": null,
  1133. "show": false
  1134. }
  1135. ],
  1136. "yaxis": {
  1137. "align": false,
  1138. "alignLevel": null
  1139. }
  1140. },
  1141. {
  1142. "aliasColors": {},
  1143. "bars": false,
  1144. "dashLength": 10,
  1145. "dashes": false,
  1146. "datasource": "$DS_PROMETHEUS",
  1147. "editable": true,
  1148. "error": false,
  1149. "fieldConfig": {
  1150. "defaults": {
  1151. "custom": {}
  1152. },
  1153. "overrides": []
  1154. },
  1155. "fill": 0,
  1156. "fillGradient": 0,
  1157. "grid": {},
  1158. "gridPos": {
  1159. "h": 7,
  1160. "w": 24,
  1161. "x": 0,
  1162. "y": 30
  1163. },
  1164. "hiddenSeries": false,
  1165. "id": 2,
  1166. "legend": {
  1167. "alignAsTable": true,
  1168. "avg": false,
  1169. "current": true,
  1170. "hideEmpty": true,
  1171. "hideZero": true,
  1172. "max": true,
  1173. "min": false,
  1174. "rightSide": true,
  1175. "show": true,
  1176. "sideWidth": 250,
  1177. "sort": "max",
  1178. "sortDesc": true,
  1179. "total": false,
  1180. "values": true
  1181. },
  1182. "lines": true,
  1183. "linewidth": 1,
  1184. "links": [],
  1185. "maxPerRow": 1,
  1186. "nullPointMode": "null as zero",
  1187. "percentage": false,
  1188. "pluginVersion": "7.1.0",
  1189. "pointradius": 5,
  1190. "points": false,
  1191. "renderer": "flot",
  1192. "seriesOverrides": [
  1193. {
  1194. "alias": "total",
  1195. "lines": false
  1196. }
  1197. ],
  1198. "spaceLength": 10,
  1199. "stack": false,
  1200. "steppedLine": false,
  1201. "targets": [
  1202. {
  1203. "expr": "rate(SeaweedFS_filer_request_total{namespace=\"$namespace\",service=~\"$service-api\"}[1m])",
  1204. "format": "time_series",
  1205. "interval": "",
  1206. "intervalFactor": 2,
  1207. "legendFormat": "{{type}}",
  1208. "refId": "A",
  1209. "step": 30
  1210. }
  1211. ],
  1212. "thresholds": [],
  1213. "timeFrom": null,
  1214. "timeRegions": [],
  1215. "timeShift": null,
  1216. "title": "Filer QPS",
  1217. "tooltip": {
  1218. "msResolution": true,
  1219. "shared": true,
  1220. "sort": 2,
  1221. "value_type": "individual"
  1222. },
  1223. "type": "graph",
  1224. "xaxis": {
  1225. "buckets": null,
  1226. "mode": "time",
  1227. "name": null,
  1228. "show": true,
  1229. "values": []
  1230. },
  1231. "yaxes": [
  1232. {
  1233. "format": "short",
  1234. "label": null,
  1235. "logBase": 1,
  1236. "max": null,
  1237. "min": "0",
  1238. "show": true
  1239. },
  1240. {
  1241. "format": "short",
  1242. "label": null,
  1243. "logBase": 1,
  1244. "max": null,
  1245. "min": null,
  1246. "show": true
  1247. }
  1248. ],
  1249. "yaxis": {
  1250. "align": false,
  1251. "alignLevel": null
  1252. }
  1253. },
  1254. {
  1255. "collapsed": false,
  1256. "datasource": null,
  1257. "gridPos": {
  1258. "h": 1,
  1259. "w": 24,
  1260. "x": 0,
  1261. "y": 37
  1262. },
  1263. "id": 56,
  1264. "panels": [],
  1265. "repeat": null,
  1266. "title": "Volume Server",
  1267. "type": "row"
  1268. },
  1269. {
  1270. "aliasColors": {},
  1271. "bars": false,
  1272. "dashLength": 10,
  1273. "dashes": false,
  1274. "datasource": "$DS_PROMETHEUS",
  1275. "editable": true,
  1276. "error": false,
  1277. "fieldConfig": {
  1278. "defaults": {
  1279. "custom": {}
  1280. },
  1281. "overrides": []
  1282. },
  1283. "fill": 1,
  1284. "fillGradient": 0,
  1285. "grid": {},
  1286. "gridPos": {
  1287. "h": 7,
  1288. "w": 12,
  1289. "x": 0,
  1290. "y": 38
  1291. },
  1292. "hiddenSeries": false,
  1293. "id": 47,
  1294. "legend": {
  1295. "alignAsTable": false,
  1296. "avg": false,
  1297. "current": false,
  1298. "max": false,
  1299. "min": false,
  1300. "show": false,
  1301. "total": false,
  1302. "values": false
  1303. },
  1304. "lines": true,
  1305. "linewidth": 2,
  1306. "links": [],
  1307. "nullPointMode": "null as zero",
  1308. "percentage": false,
  1309. "pluginVersion": "7.1.0",
  1310. "pointradius": 5,
  1311. "points": false,
  1312. "renderer": "flot",
  1313. "seriesOverrides": [],
  1314. "spaceLength": 10,
  1315. "stack": false,
  1316. "steppedLine": false,
  1317. "targets": [
  1318. {
  1319. "expr": "histogram_quantile(0.99, sum(rate(SeaweedFS_volumeServer_request_seconds_bucket{namespace=\"$namespace\",service=~\"$service-volume\"}[1m])) by (le, exported_instance))",
  1320. "format": "time_series",
  1321. "hide": false,
  1322. "interval": "",
  1323. "intervalFactor": 2,
  1324. "legendFormat": "{{exported_instance}}",
  1325. "refId": "B"
  1326. },
  1327. {
  1328. "expr": "histogram_quantile(0.99, sum(rate(SeaweedFS_volumeServer_request_seconds_bucket{namespace=\"$namespace\",service=~\"$service-volume\"}[1m])) by (le))",
  1329. "format": "time_series",
  1330. "intervalFactor": 2,
  1331. "legendFormat": "average",
  1332. "refId": "C"
  1333. }
  1334. ],
  1335. "thresholds": [],
  1336. "timeFrom": null,
  1337. "timeRegions": [],
  1338. "timeShift": null,
  1339. "title": "Volume Server Request Duration 99th percentile",
  1340. "tooltip": {
  1341. "msResolution": false,
  1342. "shared": true,
  1343. "sort": 0,
  1344. "value_type": "cumulative"
  1345. },
  1346. "type": "graph",
  1347. "xaxis": {
  1348. "buckets": null,
  1349. "mode": "time",
  1350. "name": null,
  1351. "show": true,
  1352. "values": []
  1353. },
  1354. "yaxes": [
  1355. {
  1356. "format": "s",
  1357. "label": null,
  1358. "logBase": 1,
  1359. "max": null,
  1360. "min": 0,
  1361. "show": true
  1362. },
  1363. {
  1364. "format": "short",
  1365. "label": null,
  1366. "logBase": 1,
  1367. "max": null,
  1368. "min": null,
  1369. "show": true
  1370. }
  1371. ],
  1372. "yaxis": {
  1373. "align": false,
  1374. "alignLevel": null
  1375. }
  1376. },
  1377. {
  1378. "aliasColors": {},
  1379. "bars": false,
  1380. "dashLength": 10,
  1381. "dashes": false,
  1382. "datasource": "$DS_PROMETHEUS",
  1383. "editable": true,
  1384. "error": false,
  1385. "fieldConfig": {
  1386. "defaults": {
  1387. "custom": {}
  1388. },
  1389. "overrides": []
  1390. },
  1391. "fill": 1,
  1392. "fillGradient": 0,
  1393. "grid": {},
  1394. "gridPos": {
  1395. "h": 7,
  1396. "w": 12,
  1397. "x": 12,
  1398. "y": 38
  1399. },
  1400. "hiddenSeries": false,
  1401. "id": 40,
  1402. "legend": {
  1403. "alignAsTable": true,
  1404. "avg": false,
  1405. "current": false,
  1406. "hideEmpty": true,
  1407. "hideZero": true,
  1408. "max": false,
  1409. "min": false,
  1410. "rightSide": true,
  1411. "show": true,
  1412. "sort": "total",
  1413. "sortDesc": true,
  1414. "total": true,
  1415. "values": true
  1416. },
  1417. "lines": true,
  1418. "linewidth": 2,
  1419. "links": [],
  1420. "nullPointMode": "null as zero",
  1421. "percentage": false,
  1422. "pluginVersion": "7.1.0",
  1423. "pointradius": 5,
  1424. "points": false,
  1425. "renderer": "flot",
  1426. "seriesOverrides": [],
  1427. "spaceLength": 10,
  1428. "stack": false,
  1429. "steppedLine": false,
  1430. "targets": [
  1431. {
  1432. "expr": "sum(rate(SeaweedFS_volumeServer_request_total{namespace=\"$namespace\",service=~\"$service-volume\"}[1m])) by (type)",
  1433. "format": "time_series",
  1434. "interval": "",
  1435. "intervalFactor": 2,
  1436. "legendFormat": "{{type}}",
  1437. "refId": "A",
  1438. "step": 4
  1439. }
  1440. ],
  1441. "thresholds": [],
  1442. "timeFrom": null,
  1443. "timeRegions": [],
  1444. "timeShift": null,
  1445. "title": "Volume Server QPS",
  1446. "tooltip": {
  1447. "msResolution": false,
  1448. "shared": true,
  1449. "sort": 0,
  1450. "value_type": "cumulative"
  1451. },
  1452. "type": "graph",
  1453. "xaxis": {
  1454. "buckets": null,
  1455. "mode": "time",
  1456. "name": null,
  1457. "show": true,
  1458. "values": []
  1459. },
  1460. "yaxes": [
  1461. {
  1462. "format": "short",
  1463. "label": null,
  1464. "logBase": 1,
  1465. "max": null,
  1466. "min": null,
  1467. "show": true
  1468. },
  1469. {
  1470. "format": "short",
  1471. "label": null,
  1472. "logBase": 1,
  1473. "max": null,
  1474. "min": null,
  1475. "show": true
  1476. }
  1477. ],
  1478. "yaxis": {
  1479. "align": false,
  1480. "alignLevel": null
  1481. }
  1482. },
  1483. {
  1484. "aliasColors": {},
  1485. "bars": false,
  1486. "dashLength": 10,
  1487. "dashes": false,
  1488. "datasource": "$DS_PROMETHEUS",
  1489. "fieldConfig": {
  1490. "defaults": {
  1491. "custom": {}
  1492. },
  1493. "overrides": []
  1494. },
  1495. "fill": 1,
  1496. "fillGradient": 0,
  1497. "gridPos": {
  1498. "h": 7,
  1499. "w": 24,
  1500. "x": 0,
  1501. "y": 45
  1502. },
  1503. "hiddenSeries": false,
  1504. "id": 48,
  1505. "legend": {
  1506. "avg": false,
  1507. "current": true,
  1508. "max": false,
  1509. "min": false,
  1510. "show": true,
  1511. "total": false,
  1512. "values": true
  1513. },
  1514. "lines": true,
  1515. "linewidth": 1,
  1516. "links": [],
  1517. "nullPointMode": "null as zero",
  1518. "percentage": true,
  1519. "pluginVersion": "7.1.0",
  1520. "pointradius": 5,
  1521. "points": false,
  1522. "renderer": "flot",
  1523. "seriesOverrides": [],
  1524. "spaceLength": 10,
  1525. "stack": true,
  1526. "steppedLine": false,
  1527. "targets": [
  1528. {
  1529. "expr": "sum(SeaweedFS_volumeServer_volumes{namespace=\"$namespace\",service=~\"$service-volume\"}) by (collection, type)",
  1530. "format": "time_series",
  1531. "hide": false,
  1532. "interval": "",
  1533. "intervalFactor": 2,
  1534. "legendFormat": "{{collection}} {{type}}",
  1535. "refId": "A"
  1536. },
  1537. {
  1538. "expr": "sum(max(SeaweedFS_volumeServer_max_volumes{namespace=\"$namespace\",service=~\"$service-volume\"}) by (pod))",
  1539. "format": "time_series",
  1540. "hide": false,
  1541. "instant": false,
  1542. "interval": "",
  1543. "intervalFactor": 2,
  1544. "legendFormat": "Total",
  1545. "refId": "B"
  1546. },
  1547. {
  1548. "expr": "sum(max(SeaweedFS_volumeServer_read_only_volumes{namespace=\"$namespace\",service=~\"$service-volume\"}) by (pod))",
  1549. "interval": "",
  1550. "legendFormat": "Read only",
  1551. "refId": "C"
  1552. }
  1553. ],
  1554. "thresholds": [],
  1555. "timeFrom": null,
  1556. "timeRegions": [],
  1557. "timeShift": null,
  1558. "title": "Volume Count",
  1559. "tooltip": {
  1560. "shared": true,
  1561. "sort": 0,
  1562. "value_type": "individual"
  1563. },
  1564. "transformations": [],
  1565. "type": "graph",
  1566. "xaxis": {
  1567. "buckets": null,
  1568. "mode": "time",
  1569. "name": null,
  1570. "show": true,
  1571. "values": []
  1572. },
  1573. "yaxes": [
  1574. {
  1575. "format": "short",
  1576. "label": null,
  1577. "logBase": 1,
  1578. "max": null,
  1579. "min": null,
  1580. "show": true
  1581. },
  1582. {
  1583. "format": "short",
  1584. "label": null,
  1585. "logBase": 1,
  1586. "max": null,
  1587. "min": null,
  1588. "show": true
  1589. }
  1590. ],
  1591. "yaxis": {
  1592. "align": false,
  1593. "alignLevel": null
  1594. }
  1595. },
  1596. {
  1597. "aliasColors": {},
  1598. "bars": false,
  1599. "dashLength": 10,
  1600. "dashes": false,
  1601. "datasource": "$DS_PROMETHEUS",
  1602. "fieldConfig": {
  1603. "defaults": {
  1604. "custom": {}
  1605. },
  1606. "overrides": []
  1607. },
  1608. "fill": 1,
  1609. "fillGradient": 0,
  1610. "gridPos": {
  1611. "h": 7,
  1612. "w": 24,
  1613. "x": 0,
  1614. "y": 52
  1615. },
  1616. "hiddenSeries": false,
  1617. "id": 50,
  1618. "legend": {
  1619. "avg": false,
  1620. "current": false,
  1621. "max": false,
  1622. "min": false,
  1623. "show": true,
  1624. "total": false,
  1625. "values": false
  1626. },
  1627. "lines": true,
  1628. "linewidth": 1,
  1629. "links": [],
  1630. "nullPointMode": "null",
  1631. "percentage": false,
  1632. "pluginVersion": "7.1.0",
  1633. "pointradius": 5,
  1634. "points": false,
  1635. "renderer": "flot",
  1636. "seriesOverrides": [],
  1637. "spaceLength": 10,
  1638. "stack": false,
  1639. "steppedLine": false,
  1640. "targets": [
  1641. {
  1642. "expr": "sum(SeaweedFS_volumeServer_total_disk_size{namespace=\"$namespace\",service=~\"$service-volume\"}) by (collection, type)",
  1643. "format": "time_series",
  1644. "hide": false,
  1645. "interval": "",
  1646. "intervalFactor": 2,
  1647. "legendFormat": "{{collection}} {{type}}",
  1648. "refId": "A"
  1649. },
  1650. {
  1651. "expr": "sum(SeaweedFS_volumeServer_total_disk_size{namespace=\"$namespace\",service=~\"$service-volume\"})",
  1652. "format": "time_series",
  1653. "hide": true,
  1654. "interval": "",
  1655. "intervalFactor": 2,
  1656. "legendFormat": "Total",
  1657. "refId": "B"
  1658. }
  1659. ],
  1660. "thresholds": [],
  1661. "timeFrom": null,
  1662. "timeRegions": [],
  1663. "timeShift": null,
  1664. "title": "Used Disk Space by Collection and Type",
  1665. "tooltip": {
  1666. "shared": true,
  1667. "sort": 0,
  1668. "value_type": "individual"
  1669. },
  1670. "type": "graph",
  1671. "xaxis": {
  1672. "buckets": null,
  1673. "mode": "time",
  1674. "name": null,
  1675. "show": true,
  1676. "values": []
  1677. },
  1678. "yaxes": [
  1679. {
  1680. "format": "bytes",
  1681. "label": null,
  1682. "logBase": 1,
  1683. "max": null,
  1684. "min": null,
  1685. "show": true
  1686. },
  1687. {
  1688. "format": "short",
  1689. "label": null,
  1690. "logBase": 1,
  1691. "max": null,
  1692. "min": null,
  1693. "show": true
  1694. }
  1695. ],
  1696. "yaxis": {
  1697. "align": false,
  1698. "alignLevel": null
  1699. }
  1700. },
  1701. {
  1702. "aliasColors": {},
  1703. "bars": false,
  1704. "dashLength": 10,
  1705. "dashes": false,
  1706. "datasource": "$DS_PROMETHEUS",
  1707. "fieldConfig": {
  1708. "defaults": {
  1709. "custom": {}
  1710. },
  1711. "overrides": []
  1712. },
  1713. "fill": 1,
  1714. "fillGradient": 0,
  1715. "gridPos": {
  1716. "h": 7,
  1717. "w": 24,
  1718. "x": 0,
  1719. "y": 59
  1720. },
  1721. "hiddenSeries": false,
  1722. "id": 51,
  1723. "legend": {
  1724. "avg": false,
  1725. "current": false,
  1726. "max": false,
  1727. "min": false,
  1728. "show": true,
  1729. "total": false,
  1730. "values": false
  1731. },
  1732. "lines": true,
  1733. "linewidth": 1,
  1734. "links": [],
  1735. "nullPointMode": "null",
  1736. "percentage": false,
  1737. "pluginVersion": "7.1.0",
  1738. "pointradius": 5,
  1739. "points": false,
  1740. "renderer": "flot",
  1741. "seriesOverrides": [],
  1742. "spaceLength": 10,
  1743. "stack": false,
  1744. "steppedLine": false,
  1745. "targets": [
  1746. {
  1747. "expr": "sum(max(SeaweedFS_volumeServer_total_disk_size{namespace=\"$namespace\",service=~\"$service-volume\"}) by (collection,pod)) by (pod)",
  1748. "format": "time_series",
  1749. "hide": false,
  1750. "interval": "",
  1751. "intervalFactor": 2,
  1752. "legendFormat": "{{pod}}",
  1753. "refId": "A"
  1754. }
  1755. ],
  1756. "thresholds": [],
  1757. "timeFrom": null,
  1758. "timeRegions": [],
  1759. "timeShift": null,
  1760. "title": "Used Disk Space by Host",
  1761. "tooltip": {
  1762. "shared": true,
  1763. "sort": 0,
  1764. "value_type": "individual"
  1765. },
  1766. "type": "graph",
  1767. "xaxis": {
  1768. "buckets": null,
  1769. "mode": "time",
  1770. "name": null,
  1771. "show": true,
  1772. "values": []
  1773. },
  1774. "yaxes": [
  1775. {
  1776. "format": "bytes",
  1777. "label": null,
  1778. "logBase": 1,
  1779. "max": null,
  1780. "min": null,
  1781. "show": true
  1782. },
  1783. {
  1784. "format": "short",
  1785. "label": null,
  1786. "logBase": 1,
  1787. "max": null,
  1788. "min": null,
  1789. "show": true
  1790. }
  1791. ],
  1792. "yaxis": {
  1793. "align": false,
  1794. "alignLevel": null
  1795. }
  1796. },
  1797. {
  1798. "collapsed": false,
  1799. "datasource": null,
  1800. "gridPos": {
  1801. "h": 1,
  1802. "w": 24,
  1803. "x": 0,
  1804. "y": 66
  1805. },
  1806. "id": 57,
  1807. "panels": [],
  1808. "repeat": null,
  1809. "title": "Filer Store",
  1810. "type": "row"
  1811. },
  1812. {
  1813. "aliasColors": {},
  1814. "bars": false,
  1815. "dashLength": 10,
  1816. "dashes": false,
  1817. "datasource": "$DS_PROMETHEUS",
  1818. "editable": true,
  1819. "error": false,
  1820. "fieldConfig": {
  1821. "defaults": {
  1822. "custom": {}
  1823. },
  1824. "overrides": []
  1825. },
  1826. "fill": 1,
  1827. "fillGradient": 0,
  1828. "grid": {},
  1829. "gridPos": {
  1830. "h": 7,
  1831. "w": 12,
  1832. "x": 0,
  1833. "y": 67
  1834. },
  1835. "hiddenSeries": false,
  1836. "id": 12,
  1837. "legend": {
  1838. "alignAsTable": false,
  1839. "avg": false,
  1840. "current": false,
  1841. "max": false,
  1842. "min": false,
  1843. "show": false,
  1844. "total": false,
  1845. "values": false
  1846. },
  1847. "lines": true,
  1848. "linewidth": 2,
  1849. "links": [],
  1850. "nullPointMode": "null as zero",
  1851. "percentage": false,
  1852. "pluginVersion": "7.1.0",
  1853. "pointradius": 5,
  1854. "points": false,
  1855. "renderer": "flot",
  1856. "seriesOverrides": [],
  1857. "spaceLength": 10,
  1858. "stack": false,
  1859. "steppedLine": false,
  1860. "targets": [
  1861. {
  1862. "expr": "histogram_quantile(0.99, sum(rate(SeaweedFS_filerStore_request_seconds_bucket{namespace=\"$namespace\",service=~\"$service-api\"}[1m])) by (le, type))",
  1863. "format": "time_series",
  1864. "interval": "",
  1865. "intervalFactor": 2,
  1866. "legendFormat": "{{type}}",
  1867. "refId": "B"
  1868. }
  1869. ],
  1870. "thresholds": [],
  1871. "timeFrom": null,
  1872. "timeRegions": [],
  1873. "timeShift": null,
  1874. "title": "Filer Store Request Duration 99th percentile",
  1875. "tooltip": {
  1876. "msResolution": false,
  1877. "shared": true,
  1878. "sort": 0,
  1879. "value_type": "cumulative"
  1880. },
  1881. "type": "graph",
  1882. "xaxis": {
  1883. "buckets": null,
  1884. "mode": "time",
  1885. "name": null,
  1886. "show": true,
  1887. "values": []
  1888. },
  1889. "yaxes": [
  1890. {
  1891. "format": "s",
  1892. "label": null,
  1893. "logBase": 1,
  1894. "max": null,
  1895. "min": 0,
  1896. "show": true
  1897. },
  1898. {
  1899. "format": "short",
  1900. "label": null,
  1901. "logBase": 1,
  1902. "max": null,
  1903. "min": null,
  1904. "show": true
  1905. }
  1906. ],
  1907. "yaxis": {
  1908. "align": false,
  1909. "alignLevel": null
  1910. }
  1911. },
  1912. {
  1913. "aliasColors": {},
  1914. "bars": false,
  1915. "dashLength": 10,
  1916. "dashes": false,
  1917. "datasource": "$DS_PROMETHEUS",
  1918. "editable": true,
  1919. "error": false,
  1920. "fieldConfig": {
  1921. "defaults": {
  1922. "custom": {}
  1923. },
  1924. "overrides": []
  1925. },
  1926. "fill": 1,
  1927. "fillGradient": 0,
  1928. "grid": {},
  1929. "gridPos": {
  1930. "h": 7,
  1931. "w": 12,
  1932. "x": 12,
  1933. "y": 67
  1934. },
  1935. "hiddenSeries": false,
  1936. "id": 14,
  1937. "legend": {
  1938. "alignAsTable": true,
  1939. "avg": true,
  1940. "current": true,
  1941. "hideEmpty": false,
  1942. "hideZero": false,
  1943. "max": false,
  1944. "min": false,
  1945. "rightSide": true,
  1946. "show": true,
  1947. "total": false,
  1948. "values": true
  1949. },
  1950. "lines": true,
  1951. "linewidth": 2,
  1952. "links": [],
  1953. "nullPointMode": "null as zero",
  1954. "percentage": false,
  1955. "pluginVersion": "7.1.0",
  1956. "pointradius": 5,
  1957. "points": false,
  1958. "renderer": "flot",
  1959. "seriesOverrides": [],
  1960. "spaceLength": 10,
  1961. "stack": false,
  1962. "steppedLine": false,
  1963. "targets": [
  1964. {
  1965. "expr": "sum(rate(SeaweedFS_filerStore_request_total{namespace=\"$namespace\",service=~\"$service-api\"}[1m])) by (type)",
  1966. "format": "time_series",
  1967. "interval": "",
  1968. "intervalFactor": 2,
  1969. "legendFormat": "{{type}}",
  1970. "refId": "B"
  1971. }
  1972. ],
  1973. "thresholds": [],
  1974. "timeFrom": null,
  1975. "timeRegions": [],
  1976. "timeShift": null,
  1977. "title": "Filer Store QPS",
  1978. "tooltip": {
  1979. "msResolution": false,
  1980. "shared": true,
  1981. "sort": 0,
  1982. "value_type": "cumulative"
  1983. },
  1984. "type": "graph",
  1985. "xaxis": {
  1986. "buckets": null,
  1987. "mode": "time",
  1988. "name": null,
  1989. "show": true,
  1990. "values": []
  1991. },
  1992. "yaxes": [
  1993. {
  1994. "format": "short",
  1995. "label": null,
  1996. "logBase": 1,
  1997. "max": null,
  1998. "min": 0,
  1999. "show": true
  2000. },
  2001. {
  2002. "format": "short",
  2003. "label": null,
  2004. "logBase": 1,
  2005. "max": null,
  2006. "min": null,
  2007. "show": true
  2008. }
  2009. ],
  2010. "yaxis": {
  2011. "align": false,
  2012. "alignLevel": null
  2013. }
  2014. },
  2015. {
  2016. "collapsed": false,
  2017. "datasource": null,
  2018. "gridPos": {
  2019. "h": 1,
  2020. "w": 24,
  2021. "x": 0,
  2022. "y": 74
  2023. },
  2024. "id": 58,
  2025. "panels": [],
  2026. "repeat": null,
  2027. "title": "Filer Instances",
  2028. "type": "row"
  2029. },
  2030. {
  2031. "aliasColors": {},
  2032. "bars": false,
  2033. "dashLength": 10,
  2034. "dashes": false,
  2035. "datasource": "$DS_PROMETHEUS",
  2036. "editable": true,
  2037. "error": false,
  2038. "fieldConfig": {
  2039. "defaults": {
  2040. "custom": {}
  2041. },
  2042. "overrides": []
  2043. },
  2044. "fill": 1,
  2045. "fillGradient": 0,
  2046. "grid": {},
  2047. "gridPos": {
  2048. "h": 7,
  2049. "w": 12,
  2050. "x": 0,
  2051. "y": 75
  2052. },
  2053. "hiddenSeries": false,
  2054. "id": 52,
  2055. "legend": {
  2056. "alignAsTable": false,
  2057. "avg": false,
  2058. "current": false,
  2059. "max": false,
  2060. "min": false,
  2061. "show": false,
  2062. "total": false,
  2063. "values": false
  2064. },
  2065. "lines": true,
  2066. "linewidth": 2,
  2067. "links": [],
  2068. "nullPointMode": "null as zero",
  2069. "percentage": false,
  2070. "pluginVersion": "7.1.0",
  2071. "pointradius": 5,
  2072. "points": false,
  2073. "renderer": "flot",
  2074. "seriesOverrides": [],
  2075. "spaceLength": 10,
  2076. "stack": false,
  2077. "steppedLine": false,
  2078. "targets": [
  2079. {
  2080. "expr": "go_memstats_alloc_bytes{namespace=~\"$namespace\", endpoint=\"metrics\"}",
  2081. "format": "time_series",
  2082. "hide": false,
  2083. "interval": "",
  2084. "intervalFactor": 2,
  2085. "legendFormat": "bytes allocated",
  2086. "refId": "B"
  2087. },
  2088. {
  2089. "expr": "rate(go_memstats_alloc_bytes_total{namespace=~\"$namespace\", endpoint=\"swfs-.*-metrics\"}[30s])",
  2090. "format": "time_series",
  2091. "hide": false,
  2092. "interval": "",
  2093. "intervalFactor": 2,
  2094. "legendFormat": "alloc rate",
  2095. "refId": "A"
  2096. },
  2097. {
  2098. "expr": "go_memstats_stack_inuse_bytes{namespace=~\"$namespace\", endpoint=\"metrics\"}",
  2099. "format": "time_series",
  2100. "hide": true,
  2101. "interval": "",
  2102. "intervalFactor": 2,
  2103. "legendFormat": "stack inuse",
  2104. "refId": "C"
  2105. },
  2106. {
  2107. "expr": "go_memstats_heap_inuse_bytes{namespace=~\"$namespace\", endpoint=\"metrics\"}",
  2108. "format": "time_series",
  2109. "hide": true,
  2110. "interval": "",
  2111. "intervalFactor": 2,
  2112. "legendFormat": "heap inuse",
  2113. "refId": "D"
  2114. }
  2115. ],
  2116. "thresholds": [],
  2117. "timeFrom": null,
  2118. "timeRegions": [],
  2119. "timeShift": null,
  2120. "title": "Filer Go Memory Stats",
  2121. "tooltip": {
  2122. "msResolution": false,
  2123. "shared": true,
  2124. "sort": 0,
  2125. "value_type": "cumulative"
  2126. },
  2127. "type": "graph",
  2128. "xaxis": {
  2129. "buckets": null,
  2130. "mode": "time",
  2131. "name": null,
  2132. "show": true,
  2133. "values": []
  2134. },
  2135. "yaxes": [
  2136. {
  2137. "format": "bytes",
  2138. "label": null,
  2139. "logBase": 1,
  2140. "max": null,
  2141. "min": 0,
  2142. "show": true
  2143. },
  2144. {
  2145. "format": "Bps",
  2146. "label": null,
  2147. "logBase": 1,
  2148. "max": null,
  2149. "min": null,
  2150. "show": true
  2151. }
  2152. ],
  2153. "yaxis": {
  2154. "align": false,
  2155. "alignLevel": null
  2156. }
  2157. },
  2158. {
  2159. "aliasColors": {},
  2160. "bars": false,
  2161. "dashLength": 10,
  2162. "dashes": false,
  2163. "datasource": "$DS_PROMETHEUS",
  2164. "editable": true,
  2165. "error": false,
  2166. "fieldConfig": {
  2167. "defaults": {
  2168. "custom": {}
  2169. },
  2170. "overrides": []
  2171. },
  2172. "fill": 1,
  2173. "fillGradient": 0,
  2174. "grid": {},
  2175. "gridPos": {
  2176. "h": 7,
  2177. "w": 12,
  2178. "x": 12,
  2179. "y": 75
  2180. },
  2181. "hiddenSeries": false,
  2182. "id": 54,
  2183. "legend": {
  2184. "alignAsTable": false,
  2185. "avg": false,
  2186. "current": false,
  2187. "max": false,
  2188. "min": false,
  2189. "show": false,
  2190. "total": false,
  2191. "values": false
  2192. },
  2193. "lines": true,
  2194. "linewidth": 2,
  2195. "links": [],
  2196. "nullPointMode": "null as zero",
  2197. "percentage": false,
  2198. "pluginVersion": "7.1.0",
  2199. "pointradius": 5,
  2200. "points": false,
  2201. "renderer": "flot",
  2202. "seriesOverrides": [],
  2203. "spaceLength": 10,
  2204. "stack": false,
  2205. "steppedLine": false,
  2206. "targets": [
  2207. {
  2208. "expr": "go_gc_duration_seconds{namespace=~\"$namespace\", endpoint=\"metrics\"}",
  2209. "format": "time_series",
  2210. "interval": "",
  2211. "intervalFactor": 2,
  2212. "legendFormat": "{{quantile}}",
  2213. "refId": "B"
  2214. }
  2215. ],
  2216. "thresholds": [],
  2217. "timeFrom": null,
  2218. "timeRegions": [],
  2219. "timeShift": null,
  2220. "title": "Filer Go GC duration quantiles",
  2221. "tooltip": {
  2222. "msResolution": false,
  2223. "shared": true,
  2224. "sort": 0,
  2225. "value_type": "cumulative"
  2226. },
  2227. "type": "graph",
  2228. "xaxis": {
  2229. "buckets": null,
  2230. "mode": "time",
  2231. "name": null,
  2232. "show": true,
  2233. "values": []
  2234. },
  2235. "yaxes": [
  2236. {
  2237. "format": "s",
  2238. "label": null,
  2239. "logBase": 1,
  2240. "max": null,
  2241. "min": 0,
  2242. "show": true
  2243. },
  2244. {
  2245. "format": "Bps",
  2246. "label": null,
  2247. "logBase": 1,
  2248. "max": null,
  2249. "min": null,
  2250. "show": true
  2251. }
  2252. ],
  2253. "yaxis": {
  2254. "align": false,
  2255. "alignLevel": null
  2256. }
  2257. },
  2258. {
  2259. "aliasColors": {},
  2260. "bars": false,
  2261. "dashLength": 10,
  2262. "dashes": false,
  2263. "datasource": "$DS_PROMETHEUS",
  2264. "editable": true,
  2265. "error": false,
  2266. "fieldConfig": {
  2267. "defaults": {
  2268. "custom": {}
  2269. },
  2270. "overrides": []
  2271. },
  2272. "fill": 1,
  2273. "fillGradient": 0,
  2274. "grid": {},
  2275. "gridPos": {
  2276. "h": 7,
  2277. "w": 24,
  2278. "x": 0,
  2279. "y": 82
  2280. },
  2281. "hiddenSeries": false,
  2282. "id": 53,
  2283. "legend": {
  2284. "alignAsTable": false,
  2285. "avg": false,
  2286. "current": false,
  2287. "max": false,
  2288. "min": false,
  2289. "show": false,
  2290. "total": false,
  2291. "values": false
  2292. },
  2293. "lines": true,
  2294. "linewidth": 2,
  2295. "links": [],
  2296. "nullPointMode": "null as zero",
  2297. "percentage": false,
  2298. "pluginVersion": "7.1.0",
  2299. "pointradius": 5,
  2300. "points": false,
  2301. "renderer": "flot",
  2302. "seriesOverrides": [],
  2303. "spaceLength": 10,
  2304. "stack": false,
  2305. "steppedLine": false,
  2306. "targets": [
  2307. {
  2308. "expr": "go_goroutines{namespace=~\"$namespace\", endpoint=\"metrics\"}",
  2309. "format": "time_series",
  2310. "interval": "",
  2311. "intervalFactor": 2,
  2312. "legendFormat": "{{pod}}",
  2313. "refId": "B"
  2314. }
  2315. ],
  2316. "thresholds": [],
  2317. "timeFrom": null,
  2318. "timeRegions": [],
  2319. "timeShift": null,
  2320. "title": "Filer Go Routines",
  2321. "tooltip": {
  2322. "msResolution": false,
  2323. "shared": true,
  2324. "sort": 0,
  2325. "value_type": "cumulative"
  2326. },
  2327. "type": "graph",
  2328. "xaxis": {
  2329. "buckets": null,
  2330. "mode": "time",
  2331. "name": null,
  2332. "show": true,
  2333. "values": []
  2334. },
  2335. "yaxes": [
  2336. {
  2337. "format": "none",
  2338. "label": null,
  2339. "logBase": 1,
  2340. "max": null,
  2341. "min": 0,
  2342. "show": true
  2343. },
  2344. {
  2345. "format": "short",
  2346. "label": null,
  2347. "logBase": 1,
  2348. "max": null,
  2349. "min": null,
  2350. "show": true
  2351. }
  2352. ],
  2353. "yaxis": {
  2354. "align": false,
  2355. "alignLevel": null
  2356. }
  2357. }
  2358. ],
  2359. "refresh": "30s",
  2360. "schemaVersion": 26,
  2361. "style": "dark",
  2362. "tags": [],
  2363. "templating": {
  2364. "list": [
  2365. {
  2366. "current": {
  2367. "selected": true,
  2368. "text": "default",
  2369. "value": "default"
  2370. },
  2371. "hide": 0,
  2372. "includeAll": false,
  2373. "label": "Datasource",
  2374. "multi": false,
  2375. "name": "DS_PROMETHEUS",
  2376. "options": [],
  2377. "query": "prometheus",
  2378. "queryValue": "",
  2379. "refresh": 1,
  2380. "regex": "",
  2381. "skipUrlSync": false,
  2382. "type": "datasource"
  2383. },
  2384. {
  2385. "allValue": null,
  2386. "current": {
  2387. "selected": false,
  2388. "text": "s3",
  2389. "value": "s3"
  2390. },
  2391. "datasource": "$DS_PROMETHEUS",
  2392. "definition": "label_values({endpoint=\"metrics\"}, namespace)",
  2393. "hide": 0,
  2394. "includeAll": false,
  2395. "label": "namespace",
  2396. "multi": false,
  2397. "name": "namespace",
  2398. "options": [
  2399. {
  2400. "selected": true,
  2401. "text": "s3",
  2402. "value": "s3"
  2403. }
  2404. ],
  2405. "query": "label_values({endpoint=\"metrics\"}, namespace)",
  2406. "refresh": 0,
  2407. "regex": "",
  2408. "skipUrlSync": false,
  2409. "sort": 1,
  2410. "tagValuesQuery": "",
  2411. "tags": [],
  2412. "tagsQuery": "",
  2413. "type": "query",
  2414. "useTags": false
  2415. },
  2416. {
  2417. "allValue": "",
  2418. "current": {
  2419. "selected": true,
  2420. "text": "fast",
  2421. "value": "fast"
  2422. },
  2423. "datasource": "$DS_PROMETHEUS",
  2424. "definition": "label_values({namespace=\"$namespace\"}, service)",
  2425. "hide": 0,
  2426. "includeAll": true,
  2427. "label": "service",
  2428. "multi": false,
  2429. "name": "service",
  2430. "options": [
  2431. {
  2432. "selected": false,
  2433. "text": "All",
  2434. "value": "$__all"
  2435. },
  2436. {
  2437. "selected": true,
  2438. "text": "fast",
  2439. "value": "fast"
  2440. },
  2441. {
  2442. "selected": false,
  2443. "text": "slow",
  2444. "value": "slow"
  2445. }
  2446. ],
  2447. "query": "label_values({namespace=\"$namespace\"}, service)",
  2448. "refresh": 0,
  2449. "regex": "/(\\w+)-master/",
  2450. "skipUrlSync": false,
  2451. "sort": 1,
  2452. "tagValuesQuery": "",
  2453. "tags": [],
  2454. "tagsQuery": "",
  2455. "type": "query",
  2456. "useTags": false
  2457. },
  2458. {
  2459. "allValue": "",
  2460. "current": {
  2461. "selected": false,
  2462. "text": "All",
  2463. "value": "$__all"
  2464. },
  2465. "datasource": "$DS_PROMETHEUS",
  2466. "definition": "label_values(SeaweedFS_s3_request_total{namespace=\"$namespace\"}, type)",
  2467. "hide": 0,
  2468. "includeAll": true,
  2469. "label": "method",
  2470. "multi": false,
  2471. "name": "method",
  2472. "options": [
  2473. {
  2474. "selected": true,
  2475. "text": "All",
  2476. "value": "$__all"
  2477. },
  2478. {
  2479. "selected": false,
  2480. "text": "DELETE",
  2481. "value": "DELETE"
  2482. },
  2483. {
  2484. "selected": false,
  2485. "text": "GET",
  2486. "value": "GET"
  2487. },
  2488. {
  2489. "selected": false,
  2490. "text": "LIST",
  2491. "value": "LIST"
  2492. },
  2493. {
  2494. "selected": false,
  2495. "text": "POST",
  2496. "value": "POST"
  2497. },
  2498. {
  2499. "selected": false,
  2500. "text": "PUT",
  2501. "value": "PUT"
  2502. }
  2503. ],
  2504. "query": "label_values(SeaweedFS_s3_request_total{namespace=\"$namespace\"}, type)",
  2505. "refresh": 0,
  2506. "regex": "",
  2507. "skipUrlSync": false,
  2508. "sort": 1,
  2509. "tagValuesQuery": "",
  2510. "tags": [],
  2511. "tagsQuery": "",
  2512. "type": "query",
  2513. "useTags": false
  2514. }
  2515. ]
  2516. },
  2517. "time": {
  2518. "from": "now-12h",
  2519. "to": "now"
  2520. },
  2521. "timepicker": {
  2522. "refresh_intervals": [
  2523. "10s",
  2524. "30s",
  2525. "1m",
  2526. "5m",
  2527. "15m",
  2528. "30m",
  2529. "1h",
  2530. "2h",
  2531. "1d"
  2532. ],
  2533. "time_options": [
  2534. "5m",
  2535. "15m",
  2536. "1h",
  2537. "6h",
  2538. "12h",
  2539. "24h",
  2540. "2d",
  2541. "7d",
  2542. "30d"
  2543. ]
  2544. },
  2545. "timezone": "browser",
  2546. "title": "SeaweedFS",
  2547. "version": 2
  2548. }