grafana_stats.json 28 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052
  1. {
  2. "__inputs": [
  3. {
  4. "name": "DS_PROMETHEUS",
  5. "label": "Prometheus",
  6. "description": "",
  7. "type": "datasource",
  8. "pluginId": "prometheus",
  9. "pluginName": "Prometheus"
  10. }
  11. ],
  12. "__requires": [
  13. {
  14. "type": "grafana",
  15. "id": "grafana",
  16. "name": "Grafana",
  17. "version": "4.6.0"
  18. },
  19. {
  20. "type": "panel",
  21. "id": "graph",
  22. "name": "Graph",
  23. "version": ""
  24. },
  25. {
  26. "type": "datasource",
  27. "id": "prometheus",
  28. "name": "Prometheus",
  29. "version": "1.0.0"
  30. },
  31. {
  32. "type": "panel",
  33. "id": "singlestat",
  34. "name": "Singlestat",
  35. "version": ""
  36. },
  37. {
  38. "type": "panel",
  39. "id": "table",
  40. "name": "Table",
  41. "version": ""
  42. },
  43. {
  44. "type": "panel",
  45. "id": "text",
  46. "name": "Text",
  47. "version": ""
  48. }
  49. ],
  50. "revision": "1.0",
  51. "version": 2,
  52. "title": "Grafana metrics",
  53. "tags": [
  54. "grafana",
  55. "prometheus"
  56. ],
  57. "description": "Metrics about Grafana",
  58. "editable": true,
  59. "gnetId": null,
  60. "graphTooltip": 0,
  61. "hideControls": false,
  62. "id": null,
  63. "links": [
  64. {
  65. "icon": "external link",
  66. "tags": [],
  67. "targetBlank": true,
  68. "title": "Available metrics",
  69. "type": "link",
  70. "url": "/metrics"
  71. },
  72. {
  73. "icon": "external link",
  74. "tags": [],
  75. "title": "Grafana docs",
  76. "type": "link",
  77. "url": "http://docs.grafana.org/"
  78. },
  79. {
  80. "icon": "external link",
  81. "tags": [],
  82. "title": "Prometheus docs",
  83. "type": "link",
  84. "url": "http://prometheus.io/docs/introduction/overview/"
  85. }
  86. ],
  87. "rows": [
  88. {
  89. "collapse": false,
  90. "height": 164,
  91. "panels": [
  92. {
  93. "cacheTimeout": null,
  94. "colorBackground": false,
  95. "colorValue": true,
  96. "colors": [
  97. "rgba(222, 3, 3, 0.9)",
  98. "rgb(234, 245, 234)",
  99. "rgb(235, 244, 235)"
  100. ],
  101. "datasource": "${DS_PROMETHEUS}",
  102. "decimals": 0,
  103. "format": "none",
  104. "gauge": {
  105. "maxValue": 100,
  106. "minValue": 0,
  107. "show": false,
  108. "thresholdLabels": false,
  109. "thresholdMarkers": true
  110. },
  111. "id": 4,
  112. "interval": null,
  113. "links": [],
  114. "mappingType": 1,
  115. "mappingTypes": [
  116. {
  117. "name": "value to text",
  118. "value": 1
  119. },
  120. {
  121. "name": "range to text",
  122. "value": 2
  123. }
  124. ],
  125. "maxDataPoints": 100,
  126. "nullPointMode": "connected",
  127. "nullText": null,
  128. "postfix": "",
  129. "postfixFontSize": "50%",
  130. "prefix": "",
  131. "prefixFontSize": "50%",
  132. "rangeMaps": [
  133. {
  134. "from": "null",
  135. "text": "N/A",
  136. "to": "null"
  137. }
  138. ],
  139. "span": 2,
  140. "sparkline": {
  141. "fillColor": "rgba(31, 118, 189, 0.18)",
  142. "full": false,
  143. "lineColor": "rgb(31, 120, 193)",
  144. "show": false
  145. },
  146. "tableColumn": "",
  147. "targets": [
  148. {
  149. "expr": "up{job=\"grafana\"}",
  150. "format": "time_series",
  151. "instant": true,
  152. "intervalFactor": 2,
  153. "refId": "A",
  154. "step": 60
  155. }
  156. ],
  157. "thresholds": "1, 10000",
  158. "title": "Active instances",
  159. "type": "singlestat",
  160. "valueFontSize": "120%",
  161. "valueMaps": [
  162. {
  163. "op": "=",
  164. "text": ":(",
  165. "value": "0"
  166. }
  167. ],
  168. "valueName": "avg"
  169. },
  170. {
  171. "cacheTimeout": null,
  172. "colorBackground": false,
  173. "colorValue": false,
  174. "colors": [
  175. "rgba(245, 54, 54, 0.9)",
  176. "rgba(237, 129, 40, 0.89)",
  177. "rgba(50, 172, 45, 0.97)"
  178. ],
  179. "datasource": "${DS_PROMETHEUS}",
  180. "format": "none",
  181. "gauge": {
  182. "maxValue": 100,
  183. "minValue": 0,
  184. "show": false,
  185. "thresholdLabels": false,
  186. "thresholdMarkers": true
  187. },
  188. "id": 8,
  189. "interval": null,
  190. "links": [],
  191. "mappingType": 1,
  192. "mappingTypes": [
  193. {
  194. "name": "value to text",
  195. "value": 1
  196. },
  197. {
  198. "name": "range to text",
  199. "value": 2
  200. }
  201. ],
  202. "maxDataPoints": 100,
  203. "nullPointMode": "connected",
  204. "nullText": null,
  205. "postfix": "",
  206. "postfixFontSize": "50%",
  207. "prefix": "",
  208. "prefixFontSize": "50%",
  209. "rangeMaps": [
  210. {
  211. "from": "null",
  212. "text": "N/A",
  213. "to": "null"
  214. }
  215. ],
  216. "span": 2,
  217. "sparkline": {
  218. "fillColor": "rgba(31, 118, 189, 0.18)",
  219. "full": false,
  220. "lineColor": "rgb(31, 120, 193)",
  221. "show": false
  222. },
  223. "tableColumn": "",
  224. "targets": [
  225. {
  226. "expr": "grafana_stat_totals_dashboard",
  227. "format": "time_series",
  228. "instant": true,
  229. "intervalFactor": 2,
  230. "refId": "A",
  231. "step": 60
  232. }
  233. ],
  234. "thresholds": "",
  235. "title": "Dashboard count",
  236. "type": "singlestat",
  237. "valueFontSize": "120%",
  238. "valueMaps": [
  239. {
  240. "op": "=",
  241. "text": "N/A",
  242. "value": "null"
  243. }
  244. ],
  245. "valueName": "avg"
  246. },
  247. {
  248. "cacheTimeout": null,
  249. "colorBackground": false,
  250. "colorValue": false,
  251. "colors": [
  252. "rgba(245, 54, 54, 0.9)",
  253. "rgba(237, 129, 40, 0.89)",
  254. "rgba(50, 172, 45, 0.97)"
  255. ],
  256. "datasource": "${DS_PROMETHEUS}",
  257. "format": "none",
  258. "gauge": {
  259. "maxValue": 100,
  260. "minValue": 0,
  261. "show": false,
  262. "thresholdLabels": false,
  263. "thresholdMarkers": true
  264. },
  265. "id": 9,
  266. "interval": null,
  267. "links": [],
  268. "mappingType": 1,
  269. "mappingTypes": [
  270. {
  271. "name": "value to text",
  272. "value": 1
  273. },
  274. {
  275. "name": "range to text",
  276. "value": 2
  277. }
  278. ],
  279. "maxDataPoints": 100,
  280. "nullPointMode": "connected",
  281. "nullText": null,
  282. "postfix": "",
  283. "postfixFontSize": "50%",
  284. "prefix": "",
  285. "prefixFontSize": "50%",
  286. "rangeMaps": [
  287. {
  288. "from": "null",
  289. "text": "N/A",
  290. "to": "null"
  291. }
  292. ],
  293. "span": 2,
  294. "sparkline": {
  295. "fillColor": "rgba(31, 118, 189, 0.18)",
  296. "full": false,
  297. "lineColor": "rgb(31, 120, 193)",
  298. "show": false
  299. },
  300. "tableColumn": "",
  301. "targets": [
  302. {
  303. "expr": "grafana_stat_total_users",
  304. "format": "time_series",
  305. "instant": true,
  306. "intervalFactor": 2,
  307. "refId": "A",
  308. "step": 60
  309. }
  310. ],
  311. "thresholds": "",
  312. "title": "User count",
  313. "type": "singlestat",
  314. "valueFontSize": "120%",
  315. "valueMaps": [
  316. {
  317. "op": "=",
  318. "text": "N/A",
  319. "value": "null"
  320. }
  321. ],
  322. "valueName": "avg"
  323. },
  324. {
  325. "cacheTimeout": null,
  326. "colorBackground": false,
  327. "colorValue": false,
  328. "colors": [
  329. "rgba(245, 54, 54, 0.9)",
  330. "rgba(237, 129, 40, 0.89)",
  331. "rgba(50, 172, 45, 0.97)"
  332. ],
  333. "datasource": "${DS_PROMETHEUS}",
  334. "format": "none",
  335. "gauge": {
  336. "maxValue": 100,
  337. "minValue": 0,
  338. "show": false,
  339. "thresholdLabels": false,
  340. "thresholdMarkers": true
  341. },
  342. "id": 10,
  343. "interval": null,
  344. "links": [],
  345. "mappingType": 1,
  346. "mappingTypes": [
  347. {
  348. "name": "value to text",
  349. "value": 1
  350. },
  351. {
  352. "name": "range to text",
  353. "value": 2
  354. }
  355. ],
  356. "maxDataPoints": 100,
  357. "nullPointMode": "connected",
  358. "nullText": null,
  359. "postfix": "",
  360. "postfixFontSize": "50%",
  361. "prefix": "",
  362. "prefixFontSize": "50%",
  363. "rangeMaps": [
  364. {
  365. "from": "null",
  366. "text": "N/A",
  367. "to": "null"
  368. }
  369. ],
  370. "span": 2,
  371. "sparkline": {
  372. "fillColor": "rgba(31, 118, 189, 0.18)",
  373. "full": false,
  374. "lineColor": "rgb(31, 120, 193)",
  375. "show": false
  376. },
  377. "tableColumn": "",
  378. "targets": [
  379. {
  380. "expr": "grafana_stat_total_playlists",
  381. "format": "time_series",
  382. "instant": true,
  383. "intervalFactor": 2,
  384. "refId": "A",
  385. "step": 60
  386. }
  387. ],
  388. "thresholds": "",
  389. "title": "Playlist count",
  390. "type": "singlestat",
  391. "valueFontSize": "120%",
  392. "valueMaps": [
  393. {
  394. "op": "=",
  395. "text": "N/A",
  396. "value": "null"
  397. }
  398. ],
  399. "valueName": "avg"
  400. },
  401. {
  402. "columns": [],
  403. "datasource": "${DS_PROMETHEUS}",
  404. "fontSize": "100%",
  405. "id": 17,
  406. "links": [],
  407. "pageSize": null,
  408. "scroll": false,
  409. "showHeader": true,
  410. "sort": {
  411. "col": 0,
  412. "desc": true
  413. },
  414. "span": 2,
  415. "styles": [
  416. {
  417. "alias": "Time",
  418. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  419. "link": false,
  420. "pattern": "Time",
  421. "type": "hidden"
  422. },
  423. {
  424. "alias": "",
  425. "colorMode": null,
  426. "colors": [
  427. "rgba(245, 54, 54, 0.9)",
  428. "rgba(237, 129, 40, 0.89)",
  429. "rgba(50, 172, 45, 0.97)"
  430. ],
  431. "decimals": 0,
  432. "pattern": "/.*/",
  433. "thresholds": [],
  434. "type": "number",
  435. "unit": "short"
  436. }
  437. ],
  438. "targets": [
  439. {
  440. "expr": "topk(1, grafana_info)",
  441. "format": "time_series",
  442. "instant": true,
  443. "intervalFactor": 2,
  444. "legendFormat": "{{version}}",
  445. "refId": "A",
  446. "step": 20
  447. }
  448. ],
  449. "title": "Grafana version",
  450. "transform": "timeseries_to_rows",
  451. "type": "table"
  452. },
  453. {
  454. "content": "<br />\n<br />\n<center>\n<img src=\"public/img/grafana_icon.svg\" style=\"height: 60px;\">\n<span style=\"color: red;font-size:3rem;line-height: 2rem;\">💖</span>\n<img src=\"public/app/plugins/datasource/prometheus/img/prometheus_logo.svg\" alt=\"Prometheus logo\" style=\"height: 60px;\">\n</center>",
  455. "id": 16,
  456. "links": [],
  457. "mode": "html",
  458. "span": 2,
  459. "title": "",
  460. "transparent": true,
  461. "type": "text"
  462. }
  463. ],
  464. "repeat": null,
  465. "repeatIteration": null,
  466. "repeatRowId": null,
  467. "showTitle": false,
  468. "title": "Dashboard Row",
  469. "titleSize": "h6"
  470. },
  471. {
  472. "collapse": false,
  473. "height": 373,
  474. "panels": [
  475. {
  476. "aliasColors": {
  477. "400": "#447EBC",
  478. "500": "#BF1B00"
  479. },
  480. "bars": false,
  481. "dashLength": 10,
  482. "dashes": false,
  483. "datasource": "${DS_PROMETHEUS}",
  484. "fill": 1,
  485. "height": "",
  486. "id": 15,
  487. "legend": {
  488. "avg": false,
  489. "current": false,
  490. "max": false,
  491. "min": false,
  492. "show": true,
  493. "total": false,
  494. "values": false
  495. },
  496. "lines": true,
  497. "linewidth": 2,
  498. "links": [],
  499. "nullPointMode": "null as zero",
  500. "percentage": false,
  501. "pointradius": 5,
  502. "points": false,
  503. "renderer": "flot",
  504. "seriesOverrides": [
  505. {}
  506. ],
  507. "spaceLength": 10,
  508. "span": 5,
  509. "stack": false,
  510. "steppedLine": false,
  511. "targets": [
  512. {
  513. "expr": "sum by (statuscode) (irate(http_request_total{job='grafana'}[5m]))",
  514. "format": "time_series",
  515. "intervalFactor": 3,
  516. "legendFormat": "{{statuscode}}",
  517. "refId": "B",
  518. "step": 15,
  519. "target": "dev.grafana.cb-office.alerting.active_alerts"
  520. }
  521. ],
  522. "thresholds": [],
  523. "timeFrom": null,
  524. "timeShift": null,
  525. "title": "http status codes",
  526. "tooltip": {
  527. "shared": true,
  528. "sort": 0,
  529. "value_type": "individual"
  530. },
  531. "type": "graph",
  532. "xaxis": {
  533. "buckets": null,
  534. "mode": "time",
  535. "name": null,
  536. "show": true,
  537. "values": []
  538. },
  539. "yaxes": [
  540. {
  541. "format": "short",
  542. "label": null,
  543. "logBase": 1,
  544. "max": null,
  545. "min": null,
  546. "show": true
  547. },
  548. {
  549. "format": "short",
  550. "label": null,
  551. "logBase": 1,
  552. "max": null,
  553. "min": null,
  554. "show": true
  555. }
  556. ]
  557. },
  558. {
  559. "aliasColors": {
  560. "400": "#447EBC",
  561. "500": "#BF1B00"
  562. },
  563. "bars": false,
  564. "dashLength": 10,
  565. "dashes": false,
  566. "datasource": "${DS_PROMETHEUS}",
  567. "fill": 1,
  568. "height": "",
  569. "id": 11,
  570. "legend": {
  571. "avg": false,
  572. "current": false,
  573. "max": false,
  574. "min": false,
  575. "show": true,
  576. "total": false,
  577. "values": false
  578. },
  579. "lines": true,
  580. "linewidth": 2,
  581. "links": [],
  582. "nullPointMode": "null as zero",
  583. "percentage": false,
  584. "pointradius": 5,
  585. "points": false,
  586. "renderer": "flot",
  587. "seriesOverrides": [
  588. {}
  589. ],
  590. "spaceLength": 10,
  591. "span": 5,
  592. "stack": false,
  593. "steppedLine": false,
  594. "targets": [
  595. {
  596. "expr": "sum(irate(grafana_api_response_status_total[5m]))",
  597. "format": "time_series",
  598. "intervalFactor": 4,
  599. "legendFormat": "api",
  600. "refId": "A",
  601. "step": 20
  602. },
  603. {
  604. "expr": "sum(irate(grafana_proxy_response_status_total[5m]))",
  605. "format": "time_series",
  606. "intervalFactor": 4,
  607. "legendFormat": "proxy",
  608. "refId": "B",
  609. "step": 20
  610. },
  611. {
  612. "expr": "sum(irate(grafana_page_response_status_total[5m]))",
  613. "format": "time_series",
  614. "intervalFactor": 4,
  615. "legendFormat": "web",
  616. "refId": "C",
  617. "step": 20
  618. }
  619. ],
  620. "thresholds": [],
  621. "timeFrom": null,
  622. "timeShift": null,
  623. "title": "Requests by routing group",
  624. "tooltip": {
  625. "shared": true,
  626. "sort": 0,
  627. "value_type": "individual"
  628. },
  629. "type": "graph",
  630. "xaxis": {
  631. "buckets": null,
  632. "mode": "time",
  633. "name": null,
  634. "show": true,
  635. "values": []
  636. },
  637. "yaxes": [
  638. {
  639. "format": "short",
  640. "label": null,
  641. "logBase": 1,
  642. "max": null,
  643. "min": null,
  644. "show": true
  645. },
  646. {
  647. "format": "short",
  648. "label": null,
  649. "logBase": 1,
  650. "max": null,
  651. "min": null,
  652. "show": true
  653. }
  654. ]
  655. },
  656. {
  657. "columns": [],
  658. "datasource": "${DS_PROMETHEUS}",
  659. "fontSize": "100%",
  660. "height": "",
  661. "id": 12,
  662. "links": [],
  663. "pageSize": null,
  664. "scroll": true,
  665. "showHeader": true,
  666. "sort": {
  667. "col": 0,
  668. "desc": true
  669. },
  670. "span": 2,
  671. "styles": [
  672. {
  673. "alias": "Time",
  674. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  675. "link": false,
  676. "pattern": "Time",
  677. "type": "hidden"
  678. },
  679. {
  680. "alias": "",
  681. "colorMode": null,
  682. "colors": [
  683. "rgba(245, 54, 54, 0.9)",
  684. "rgba(237, 129, 40, 0.89)",
  685. "rgba(50, 172, 45, 0.97)"
  686. ],
  687. "decimals": 0,
  688. "pattern": "/.*/",
  689. "thresholds": [],
  690. "type": "number",
  691. "unit": "short"
  692. }
  693. ],
  694. "targets": [
  695. {
  696. "expr": "sort(topk(8, sum by (handler) (http_request_total{job=\"grafana\"})))",
  697. "format": "time_series",
  698. "instant": true,
  699. "intervalFactor": 10,
  700. "legendFormat": "{{handler}}",
  701. "refId": "A",
  702. "step": 100
  703. }
  704. ],
  705. "title": "Most used handlers",
  706. "transform": "timeseries_to_rows",
  707. "type": "table"
  708. }
  709. ],
  710. "repeat": null,
  711. "repeatIteration": null,
  712. "repeatRowId": null,
  713. "showTitle": false,
  714. "title": "Dashboard Row",
  715. "titleSize": "h6"
  716. },
  717. {
  718. "collapse": false,
  719. "height": 188,
  720. "panels": [
  721. {
  722. "aliasColors": {
  723. "alerting": "#890F02",
  724. "ok": "#7EB26D"
  725. },
  726. "bars": false,
  727. "dashLength": 10,
  728. "dashes": false,
  729. "datasource": "${DS_PROMETHEUS}",
  730. "fill": 1,
  731. "id": 6,
  732. "legend": {
  733. "avg": false,
  734. "current": false,
  735. "max": false,
  736. "min": false,
  737. "show": true,
  738. "total": false,
  739. "values": false
  740. },
  741. "lines": true,
  742. "linewidth": 2,
  743. "links": [],
  744. "nullPointMode": "null",
  745. "percentage": false,
  746. "pointradius": 5,
  747. "points": false,
  748. "renderer": "flot",
  749. "seriesOverrides": [],
  750. "spaceLength": 10,
  751. "span": 6,
  752. "stack": true,
  753. "steppedLine": false,
  754. "targets": [
  755. {
  756. "expr": "increase(grafana_alerting_result_total[1m])",
  757. "format": "time_series",
  758. "intervalFactor": 3,
  759. "legendFormat": "{{state}}",
  760. "refId": "A",
  761. "step": 15
  762. }
  763. ],
  764. "thresholds": [],
  765. "timeFrom": null,
  766. "timeShift": null,
  767. "title": "Grafana alert results",
  768. "tooltip": {
  769. "shared": true,
  770. "sort": 0,
  771. "value_type": "individual"
  772. },
  773. "type": "graph",
  774. "xaxis": {
  775. "buckets": null,
  776. "mode": "time",
  777. "name": null,
  778. "show": true,
  779. "values": []
  780. },
  781. "yaxes": [
  782. {
  783. "format": "short",
  784. "label": null,
  785. "logBase": 1,
  786. "max": null,
  787. "min": null,
  788. "show": true
  789. },
  790. {
  791. "format": "short",
  792. "label": null,
  793. "logBase": 1,
  794. "max": null,
  795. "min": null,
  796. "show": true
  797. }
  798. ]
  799. },
  800. {
  801. "aliasColors": {
  802. "alerting": "#890F02",
  803. "alertname": "#BF1B00",
  804. "firing alerts": "#BF1B00",
  805. "ok": "#7EB26D"
  806. },
  807. "bars": false,
  808. "dashLength": 10,
  809. "dashes": false,
  810. "datasource": "${DS_PROMETHEUS}",
  811. "fill": 1,
  812. "id": 18,
  813. "legend": {
  814. "avg": false,
  815. "current": false,
  816. "max": false,
  817. "min": false,
  818. "show": true,
  819. "total": false,
  820. "values": false
  821. },
  822. "lines": true,
  823. "linewidth": 2,
  824. "links": [],
  825. "nullPointMode": "null",
  826. "percentage": false,
  827. "pointradius": 5,
  828. "points": false,
  829. "renderer": "flot",
  830. "seriesOverrides": [
  831. {
  832. "alias": "Firing alerts",
  833. "yaxis": 1
  834. }
  835. ],
  836. "spaceLength": 10,
  837. "span": 6,
  838. "stack": false,
  839. "steppedLine": false,
  840. "targets": [
  841. {
  842. "expr": " sum (ALERTS)",
  843. "format": "time_series",
  844. "intervalFactor": 3,
  845. "legendFormat": "firing alerts",
  846. "refId": "A",
  847. "step": 15
  848. }
  849. ],
  850. "thresholds": [],
  851. "timeFrom": null,
  852. "timeShift": null,
  853. "title": "Prometheus alerts",
  854. "tooltip": {
  855. "shared": true,
  856. "sort": 0,
  857. "value_type": "individual"
  858. },
  859. "type": "graph",
  860. "xaxis": {
  861. "buckets": null,
  862. "mode": "time",
  863. "name": null,
  864. "show": true,
  865. "values": []
  866. },
  867. "yaxes": [
  868. {
  869. "format": "short",
  870. "label": null,
  871. "logBase": 1,
  872. "max": null,
  873. "min": null,
  874. "show": true
  875. },
  876. {
  877. "format": "short",
  878. "label": null,
  879. "logBase": 1,
  880. "max": null,
  881. "min": null,
  882. "show": true
  883. }
  884. ]
  885. }
  886. ],
  887. "repeat": null,
  888. "repeatIteration": null,
  889. "repeatRowId": null,
  890. "showTitle": false,
  891. "title": "Dashboard Row",
  892. "titleSize": "h6"
  893. },
  894. {
  895. "collapse": false,
  896. "height": 250,
  897. "panels": [
  898. {
  899. "aliasColors": {},
  900. "bars": false,
  901. "dashLength": 10,
  902. "dashes": false,
  903. "datasource": "${DS_PROMETHEUS}",
  904. "description": "Aggregated over all Grafana nodes.",
  905. "fill": 1,
  906. "id": 7,
  907. "legend": {
  908. "avg": false,
  909. "current": false,
  910. "max": false,
  911. "min": false,
  912. "show": true,
  913. "total": false,
  914. "values": false
  915. },
  916. "lines": true,
  917. "linewidth": 2,
  918. "links": [],
  919. "nullPointMode": "null",
  920. "percentage": false,
  921. "pointradius": 5,
  922. "points": false,
  923. "renderer": "flot",
  924. "seriesOverrides": [
  925. {
  926. "alias": "avg gc duration",
  927. "yaxis": 2
  928. },
  929. {
  930. "alias": "127.0.0.1:3000",
  931. "yaxis": 1
  932. },
  933. {
  934. "alias": "allocated memory",
  935. "yaxis": 2
  936. },
  937. {
  938. "alias": "used memory",
  939. "yaxis": 2
  940. },
  941. {
  942. "alias": "memory usage",
  943. "yaxis": 2
  944. }
  945. ],
  946. "spaceLength": 10,
  947. "span": 12,
  948. "stack": false,
  949. "steppedLine": false,
  950. "targets": [
  951. {
  952. "expr": "sum(go_goroutines{job=\"grafana\"})",
  953. "format": "time_series",
  954. "hide": false,
  955. "intervalFactor": 4,
  956. "legendFormat": "go routines",
  957. "refId": "A",
  958. "step": 8,
  959. "target": "select metric",
  960. "type": "timeserie"
  961. },
  962. {
  963. "expr": "sum(process_resident_memory_bytes{job=\"grafana\"})",
  964. "format": "time_series",
  965. "intervalFactor": 4,
  966. "legendFormat": "memory usage",
  967. "refId": "B",
  968. "step": 8
  969. }
  970. ],
  971. "thresholds": [],
  972. "timeFrom": null,
  973. "timeShift": null,
  974. "title": "Grafana performance",
  975. "tooltip": {
  976. "shared": true,
  977. "sort": 0,
  978. "value_type": "individual"
  979. },
  980. "type": "graph",
  981. "xaxis": {
  982. "buckets": null,
  983. "mode": "time",
  984. "name": null,
  985. "show": true,
  986. "values": []
  987. },
  988. "yaxes": [
  989. {
  990. "format": "short",
  991. "label": null,
  992. "logBase": 1,
  993. "max": null,
  994. "min": null,
  995. "show": true
  996. },
  997. {
  998. "format": "decbytes",
  999. "label": null,
  1000. "logBase": 1,
  1001. "max": null,
  1002. "min": null,
  1003. "show": true
  1004. }
  1005. ]
  1006. }
  1007. ],
  1008. "repeat": null,
  1009. "repeatIteration": null,
  1010. "repeatRowId": null,
  1011. "showTitle": false,
  1012. "title": "Dashboard Row",
  1013. "titleSize": "h6"
  1014. }
  1015. ],
  1016. "schemaVersion": 14,
  1017. "style": "dark",
  1018. "templating": {
  1019. "list": []
  1020. },
  1021. "time": {
  1022. "from": "now-6h",
  1023. "to": "now"
  1024. },
  1025. "timepicker": {
  1026. "refresh_intervals": [
  1027. "5s",
  1028. "10s",
  1029. "30s",
  1030. "1m",
  1031. "5m",
  1032. "15m",
  1033. "30m",
  1034. "1h",
  1035. "2h",
  1036. "1d"
  1037. ],
  1038. "time_options": [
  1039. "5m",
  1040. "15m",
  1041. "1h",
  1042. "6h",
  1043. "12h",
  1044. "24h",
  1045. "2d",
  1046. "7d",
  1047. "30d"
  1048. ]
  1049. },
  1050. "timezone": ""
  1051. }