Prometheus.json 105 KB

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