prometheus_stats.json 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577
  1. {
  2. "__inputs": [
  3. {
  4. "name": "DS_NAME",
  5. "type": "datasource",
  6. "pluginId": "prometheus"
  7. }
  8. ],
  9. "revision": "1.0",
  10. "title": "Prometheus Stats",
  11. "tags": ["prometheus"],
  12. "style": "dark",
  13. "timezone": "browser",
  14. "editable": true,
  15. "hideControls": true,
  16. "sharedCrosshair": false,
  17. "rows": [
  18. {
  19. "collapse": false,
  20. "editable": true,
  21. "height": 178,
  22. "panels": [
  23. {
  24. "cacheTimeout": null,
  25. "colorBackground": false,
  26. "colorValue": false,
  27. "colors": [
  28. "rgba(245, 54, 54, 0.9)",
  29. "rgba(237, 129, 40, 0.89)",
  30. "rgba(50, 172, 45, 0.97)"
  31. ],
  32. "datasource": "${DS_NAME}",
  33. "decimals": 1,
  34. "editable": true,
  35. "error": false,
  36. "format": "s",
  37. "id": 5,
  38. "interval": null,
  39. "links": [],
  40. "maxDataPoints": 100,
  41. "nullPointMode": "connected",
  42. "nullText": null,
  43. "postfix": "",
  44. "postfixFontSize": "50%",
  45. "prefix": "",
  46. "prefixFontSize": "50%",
  47. "span": 3,
  48. "sparkline": {
  49. "fillColor": "rgba(31, 118, 189, 0.18)",
  50. "full": false,
  51. "lineColor": "rgb(31, 120, 193)",
  52. "show": false
  53. },
  54. "targets": [
  55. {
  56. "expr": "(time() - process_start_time_seconds{job=\"prometheus\"})",
  57. "intervalFactor": 2,
  58. "refId": "A"
  59. }
  60. ],
  61. "thresholds": "",
  62. "title": "Uptime",
  63. "type": "singlestat",
  64. "valueFontSize": "80%",
  65. "valueMaps": [
  66. {
  67. "op": "=",
  68. "text": "N/A",
  69. "value": "null"
  70. }
  71. ],
  72. "valueName": "current"
  73. },
  74. {
  75. "cacheTimeout": null,
  76. "colorBackground": false,
  77. "colorValue": false,
  78. "colors": [
  79. "rgba(50, 172, 45, 0.97)",
  80. "rgba(237, 129, 40, 0.89)",
  81. "rgba(245, 54, 54, 0.9)"
  82. ],
  83. "datasource": "${DS_NAME}",
  84. "editable": true,
  85. "error": false,
  86. "format": "none",
  87. "id": 6,
  88. "interval": null,
  89. "links": [],
  90. "maxDataPoints": 100,
  91. "nullPointMode": "connected",
  92. "nullText": null,
  93. "postfix": "",
  94. "postfixFontSize": "50%",
  95. "prefix": "",
  96. "prefixFontSize": "50%",
  97. "span": 3,
  98. "sparkline": {
  99. "fillColor": "rgba(31, 118, 189, 0.18)",
  100. "full": false,
  101. "lineColor": "rgb(31, 120, 193)",
  102. "show": true
  103. },
  104. "targets": [
  105. {
  106. "expr": "prometheus_local_storage_memory_series",
  107. "intervalFactor": 2,
  108. "refId": "A"
  109. }
  110. ],
  111. "thresholds": "0,1,5",
  112. "title": "Local Storage Memory Series",
  113. "type": "singlestat",
  114. "valueFontSize": "70%",
  115. "valueMaps": [],
  116. "valueName": "current"
  117. },
  118. {
  119. "cacheTimeout": null,
  120. "colorBackground": false,
  121. "colorValue": true,
  122. "colors": [
  123. "rgba(50, 172, 45, 0.97)",
  124. "rgba(237, 129, 40, 0.89)",
  125. "rgba(245, 54, 54, 0.9)"
  126. ],
  127. "datasource": "${DS_NAME}",
  128. "editable": true,
  129. "error": false,
  130. "format": "none",
  131. "id": 7,
  132. "interval": null,
  133. "links": [],
  134. "maxDataPoints": 100,
  135. "nullPointMode": "connected",
  136. "nullText": null,
  137. "postfix": "",
  138. "postfixFontSize": "50%",
  139. "prefix": "",
  140. "prefixFontSize": "50%",
  141. "span": 3,
  142. "sparkline": {
  143. "fillColor": "rgba(31, 118, 189, 0.18)",
  144. "full": false,
  145. "lineColor": "rgb(31, 120, 193)",
  146. "show": true
  147. },
  148. "targets": [
  149. {
  150. "expr": "prometheus_local_storage_indexing_queue_length",
  151. "intervalFactor": 2,
  152. "refId": "A"
  153. }
  154. ],
  155. "thresholds": "0,500,4000",
  156. "title": "Interal Storage Queue Length",
  157. "type": "singlestat",
  158. "valueFontSize": "70%",
  159. "valueMaps": [
  160. {
  161. "op": "=",
  162. "text": "Empty",
  163. "value": "0"
  164. }
  165. ],
  166. "valueName": "current"
  167. },
  168. {
  169. "content": "<img src=\"public/app/plugins/datasource/prometheus/img/prometheus_logo.svg\" alt=\"Prometheus logo\" style=\"height: 40px;\">\n<span style=\"font-family: 'Open Sans', 'Helvetica Neue', Helvetica; font-size: 25px;vertical-align: text-top;color: #bbbfc2;margin-left: 10px;\">Prometheus</span>\n\n<p style=\"margin-top: 10px;\">You're using Prometheus, an open-source systems monitoring and alerting toolkit originally built at SoundCloud. For more information, check out the <a href=\"http://www.grafana.org/\">Grafana</a> and <a href=\"http://prometheus.io/\">Prometheus</a> projects.</p>",
  170. "editable": true,
  171. "error": false,
  172. "id": 9,
  173. "links": [],
  174. "mode": "html",
  175. "span": 3,
  176. "style": {},
  177. "title": "",
  178. "transparent": true,
  179. "type": "text"
  180. }
  181. ],
  182. "title": "New row"
  183. },
  184. {
  185. "collapse": false,
  186. "editable": true,
  187. "height": 227,
  188. "panels": [
  189. {
  190. "aliasColors": {
  191. "prometheus": "#C15C17",
  192. "{instance=\"localhost:9090\",job=\"prometheus\"}": "#C15C17"
  193. },
  194. "bars": false,
  195. "datasource": "${DS_NAME}",
  196. "editable": true,
  197. "error": false,
  198. "fill": 1,
  199. "grid": {
  200. "leftLogBase": 1,
  201. "leftMax": null,
  202. "leftMin": null,
  203. "rightLogBase": 1,
  204. "rightMax": null,
  205. "rightMin": null,
  206. "threshold1": null,
  207. "threshold1Color": "rgba(216, 200, 27, 0.27)",
  208. "threshold2": null,
  209. "threshold2Color": "rgba(234, 112, 112, 0.22)"
  210. },
  211. "id": 3,
  212. "legend": {
  213. "avg": false,
  214. "current": false,
  215. "max": false,
  216. "min": false,
  217. "show": true,
  218. "total": false,
  219. "values": false
  220. },
  221. "lines": true,
  222. "linewidth": 2,
  223. "links": [],
  224. "nullPointMode": "connected",
  225. "percentage": false,
  226. "pointradius": 2,
  227. "points": false,
  228. "renderer": "flot",
  229. "seriesOverrides": [],
  230. "span": 9,
  231. "stack": false,
  232. "steppedLine": false,
  233. "targets": [
  234. {
  235. "expr": "rate(prometheus_local_storage_ingested_samples_total[5m])",
  236. "interval": "",
  237. "intervalFactor": 2,
  238. "legendFormat": "{{job}}",
  239. "metric": "",
  240. "refId": "A"
  241. }
  242. ],
  243. "timeFrom": null,
  244. "timeShift": null,
  245. "title": "Samples ingested (rate-5m)",
  246. "tooltip": {
  247. "shared": true,
  248. "value_type": "cumulative"
  249. },
  250. "type": "graph",
  251. "x-axis": true,
  252. "y-axis": true,
  253. "y_formats": [
  254. "short",
  255. "short"
  256. ]
  257. },
  258. {
  259. "content": "#### Samples Ingested\nThis graph displays the count of samples ingested by the Prometheus server, as measured over the last 5 minutes, per time series in the range vector. When troubleshooting an issue on IRC or Github, this is often the first stat requested by the Prometheus team. ",
  260. "editable": true,
  261. "error": false,
  262. "id": 8,
  263. "links": [],
  264. "mode": "markdown",
  265. "span": 2.995914043583536,
  266. "style": {},
  267. "title": "",
  268. "transparent": true,
  269. "type": "text"
  270. }
  271. ],
  272. "title": "New row"
  273. },
  274. {
  275. "collapse": false,
  276. "editable": true,
  277. "height": "250px",
  278. "panels": [
  279. {
  280. "aliasColors": {
  281. "prometheus": "#F9BA8F",
  282. "{instance=\"localhost:9090\",interval=\"5s\",job=\"prometheus\"}": "#F9BA8F"
  283. },
  284. "bars": false,
  285. "datasource": "${DS_NAME}",
  286. "editable": true,
  287. "error": false,
  288. "fill": 1,
  289. "grid": {
  290. "leftLogBase": 1,
  291. "leftMax": null,
  292. "leftMin": null,
  293. "rightLogBase": 1,
  294. "rightMax": null,
  295. "rightMin": null,
  296. "threshold1": null,
  297. "threshold1Color": "rgba(216, 200, 27, 0.27)",
  298. "threshold2": null,
  299. "threshold2Color": "rgba(234, 112, 112, 0.22)"
  300. },
  301. "id": 2,
  302. "legend": {
  303. "avg": false,
  304. "current": false,
  305. "max": false,
  306. "min": false,
  307. "show": true,
  308. "total": false,
  309. "values": false
  310. },
  311. "lines": true,
  312. "linewidth": 2,
  313. "links": [],
  314. "nullPointMode": "connected",
  315. "percentage": false,
  316. "pointradius": 5,
  317. "points": false,
  318. "renderer": "flot",
  319. "seriesOverrides": [],
  320. "span": 5,
  321. "stack": false,
  322. "steppedLine": false,
  323. "targets": [
  324. {
  325. "expr": "rate(prometheus_target_interval_length_seconds_count[5m])",
  326. "intervalFactor": 2,
  327. "legendFormat": "{{job}}",
  328. "refId": "A"
  329. }
  330. ],
  331. "timeFrom": null,
  332. "timeShift": null,
  333. "title": "Target Scrapes (last 5m)",
  334. "tooltip": {
  335. "shared": true,
  336. "value_type": "cumulative"
  337. },
  338. "type": "graph",
  339. "x-axis": true,
  340. "y-axis": true,
  341. "y_formats": [
  342. "short",
  343. "short"
  344. ]
  345. },
  346. {
  347. "aliasColors": {},
  348. "bars": false,
  349. "datasource": "${DS_NAME}",
  350. "editable": true,
  351. "error": false,
  352. "fill": 1,
  353. "grid": {
  354. "leftLogBase": 1,
  355. "leftMax": null,
  356. "leftMin": null,
  357. "rightLogBase": 1,
  358. "rightMax": null,
  359. "rightMin": null,
  360. "threshold1": null,
  361. "threshold1Color": "rgba(216, 200, 27, 0.27)",
  362. "threshold2": null,
  363. "threshold2Color": "rgba(234, 112, 112, 0.22)"
  364. },
  365. "id": 14,
  366. "legend": {
  367. "avg": false,
  368. "current": false,
  369. "max": false,
  370. "min": false,
  371. "show": true,
  372. "total": false,
  373. "values": false
  374. },
  375. "lines": true,
  376. "linewidth": 2,
  377. "links": [],
  378. "nullPointMode": "connected",
  379. "percentage": false,
  380. "pointradius": 5,
  381. "points": false,
  382. "renderer": "flot",
  383. "seriesOverrides": [],
  384. "span": 4,
  385. "stack": false,
  386. "steppedLine": false,
  387. "targets": [
  388. {
  389. "expr": "prometheus_target_interval_length_seconds{quantile!=\"0.01\", quantile!=\"0.05\"}",
  390. "interval": "",
  391. "intervalFactor": 2,
  392. "legendFormat": "{{quantile}} ({{interval}})",
  393. "metric": "",
  394. "refId": "A"
  395. }
  396. ],
  397. "timeFrom": null,
  398. "timeShift": null,
  399. "title": "Scrape Duration",
  400. "tooltip": {
  401. "shared": true,
  402. "value_type": "cumulative"
  403. },
  404. "type": "graph",
  405. "x-axis": true,
  406. "y-axis": true,
  407. "y_formats": [
  408. "short",
  409. "short"
  410. ]
  411. },
  412. {
  413. "content": "#### Scrapes\nPrometheus scrapes metrics from instrumented jobs, either directly or via an intermediary push gateway for short-lived jobs. Target scrapes will show how frequently targets are scraped, as measured over the last 5 minutes, per time series in the range vector. Scrape Duration will show how long the scrapes are taking, with percentiles available as series. ",
  414. "editable": true,
  415. "error": false,
  416. "id": 11,
  417. "links": [],
  418. "mode": "markdown",
  419. "span": 3,
  420. "style": {},
  421. "title": "",
  422. "transparent": true,
  423. "type": "text"
  424. }
  425. ],
  426. "title": "New row"
  427. },
  428. {
  429. "collapse": false,
  430. "editable": true,
  431. "height": "250px",
  432. "panels": [
  433. {
  434. "aliasColors": {},
  435. "bars": false,
  436. "datasource": "${DS_NAME}",
  437. "decimals": null,
  438. "editable": true,
  439. "error": false,
  440. "fill": 1,
  441. "grid": {
  442. "leftLogBase": 1,
  443. "leftMax": null,
  444. "leftMin": null,
  445. "rightLogBase": 1,
  446. "rightMax": null,
  447. "rightMin": null,
  448. "threshold1": null,
  449. "threshold1Color": "rgba(216, 200, 27, 0.27)",
  450. "threshold2": null,
  451. "threshold2Color": "rgba(234, 112, 112, 0.22)"
  452. },
  453. "id": 12,
  454. "leftYAxisLabel": "",
  455. "legend": {
  456. "alignAsTable": false,
  457. "avg": false,
  458. "current": false,
  459. "hideEmpty": true,
  460. "max": false,
  461. "min": false,
  462. "show": true,
  463. "total": false,
  464. "values": false
  465. },
  466. "lines": true,
  467. "linewidth": 2,
  468. "links": [],
  469. "nullPointMode": "connected",
  470. "percentage": false,
  471. "pointradius": 5,
  472. "points": false,
  473. "renderer": "flot",
  474. "seriesOverrides": [],
  475. "span": 9,
  476. "stack": false,
  477. "steppedLine": false,
  478. "targets": [
  479. {
  480. "expr": "prometheus_evaluator_duration_milliseconds{quantile!=\"0.01\", quantile!=\"0.05\"}",
  481. "interval": "",
  482. "intervalFactor": 2,
  483. "legendFormat": "{{quantile}}",
  484. "refId": "A"
  485. }
  486. ],
  487. "timeFrom": null,
  488. "timeShift": null,
  489. "title": "Rule Eval Duration",
  490. "tooltip": {
  491. "shared": true,
  492. "value_type": "cumulative"
  493. },
  494. "type": "graph",
  495. "x-axis": true,
  496. "y-axis": true,
  497. "y_formats": [
  498. "percentunit",
  499. "short"
  500. ]
  501. },
  502. {
  503. "content": "#### Rule Evaluation Duration\nThis graph panel plots the duration for all evaluations to execute. The 50th percentile, 90th percentile and 99th percentile are shown as three separate series to help identify outliers that may be skewing the data.",
  504. "editable": true,
  505. "error": false,
  506. "id": 15,
  507. "links": [],
  508. "mode": "markdown",
  509. "span": 3,
  510. "style": {},
  511. "title": "",
  512. "transparent": true,
  513. "type": "text"
  514. }
  515. ],
  516. "title": "New row"
  517. }
  518. ],
  519. "time": {
  520. "from": "now-5m",
  521. "to": "now"
  522. },
  523. "timepicker": {
  524. "now": true,
  525. "refresh_intervals": [
  526. "5s",
  527. "10s",
  528. "30s",
  529. "1m",
  530. "5m",
  531. "15m",
  532. "30m",
  533. "1h",
  534. "2h",
  535. "1d"
  536. ],
  537. "time_options": [
  538. "5m",
  539. "15m",
  540. "1h",
  541. "6h",
  542. "12h",
  543. "24h",
  544. "2d",
  545. "7d",
  546. "30d"
  547. ]
  548. },
  549. "templating": {
  550. "list": []
  551. },
  552. "annotations": {
  553. "list": []
  554. },
  555. "refresh": false,
  556. "schemaVersion": 7,
  557. "links": [
  558. {
  559. "icon": "info",
  560. "tags": [],
  561. "targetBlank": true,
  562. "title": "Grafana Docs",
  563. "tooltip": "",
  564. "type": "link",
  565. "url": "http://www.grafana.org/docs"
  566. },
  567. {
  568. "icon": "info",
  569. "tags": [],
  570. "targetBlank": true,
  571. "title": "Prometheus Docs",
  572. "type": "link",
  573. "url": "http://prometheus.io/docs/introduction/overview/"
  574. }
  575. ]
  576. }