dashboard.json 50 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961
  1. {
  2. "annotations": {
  3. "list": [
  4. {
  5. "builtIn": 1,
  6. "datasource": {
  7. "type": "grafana",
  8. "uid": "-- Grafana --"
  9. },
  10. "enable": true,
  11. "hide": true,
  12. "iconColor": "rgba(0, 211, 255, 1)",
  13. "name": "Annotations & Alerts",
  14. "target": {
  15. "limit": 100,
  16. "matchAny": false,
  17. "tags": [],
  18. "type": "dashboard"
  19. },
  20. "type": "dashboard"
  21. }
  22. ]
  23. },
  24. "editable": true,
  25. "fiscalYearStartMonth": 0,
  26. "graphTooltip": 0,
  27. "id": 27,
  28. "links": [],
  29. "liveNow": false,
  30. "panels": [
  31. {
  32. "collapsed": false,
  33. "gridPos": {
  34. "h": 1,
  35. "w": 24,
  36. "x": 0,
  37. "y": 0
  38. },
  39. "id": 99,
  40. "panels": [],
  41. "title": "SLIs",
  42. "type": "row"
  43. },
  44. {
  45. "datasource": {
  46. "type": "prometheus",
  47. "uid": "$datasource"
  48. },
  49. "fieldConfig": {
  50. "defaults": {
  51. "color": {
  52. "mode": "thresholds"
  53. },
  54. "mappings": [],
  55. "min": 0,
  56. "thresholds": {
  57. "mode": "percentage",
  58. "steps": [
  59. {
  60. "color": "green",
  61. "value": null
  62. },
  63. {
  64. "color": "#EAB839",
  65. "value": 1
  66. }
  67. ]
  68. },
  69. "unit": "percentunit"
  70. },
  71. "overrides": []
  72. },
  73. "gridPos": {
  74. "h": 7,
  75. "w": 4,
  76. "x": 0,
  77. "y": 1
  78. },
  79. "id": 118,
  80. "options": {
  81. "orientation": "auto",
  82. "reduceOptions": {
  83. "calcs": [
  84. "lastNotNull"
  85. ],
  86. "fields": "",
  87. "values": false
  88. },
  89. "showThresholdLabels": false,
  90. "showThresholdMarkers": true
  91. },
  92. "pluginVersion": "9.5.2",
  93. "targets": [
  94. {
  95. "datasource": {
  96. "type": "prometheus",
  97. "uid": "$datasource"
  98. },
  99. "editorMode": "code",
  100. "expr": "(sum(increase(controller_runtime_reconcile_total{service=~\".*external-secrets.*\",controller=~\"secretstore\", result=\"error\"}[15m])))\n/\n(sum(increase(controller_runtime_reconcile_total{service=~\".*external-secrets.*\",controller=~\"secretstore\"}[15m])))\n> 0",
  101. "legendFormat": "__auto",
  102. "range": true,
  103. "refId": "A"
  104. }
  105. ],
  106. "title": "SecretStore error rate [15m]",
  107. "type": "gauge"
  108. },
  109. {
  110. "datasource": {
  111. "type": "prometheus",
  112. "uid": "$datasource"
  113. },
  114. "fieldConfig": {
  115. "defaults": {
  116. "color": {
  117. "mode": "thresholds"
  118. },
  119. "mappings": [],
  120. "min": 0,
  121. "thresholds": {
  122. "mode": "percentage",
  123. "steps": [
  124. {
  125. "color": "green",
  126. "value": null
  127. },
  128. {
  129. "color": "#EAB839",
  130. "value": 1
  131. }
  132. ]
  133. },
  134. "unit": "percentunit"
  135. },
  136. "overrides": []
  137. },
  138. "gridPos": {
  139. "h": 7,
  140. "w": 4,
  141. "x": 4,
  142. "y": 1
  143. },
  144. "id": 121,
  145. "options": {
  146. "orientation": "auto",
  147. "reduceOptions": {
  148. "calcs": [
  149. "lastNotNull"
  150. ],
  151. "fields": "",
  152. "values": false
  153. },
  154. "showThresholdLabels": false,
  155. "showThresholdMarkers": true
  156. },
  157. "pluginVersion": "9.5.2",
  158. "targets": [
  159. {
  160. "datasource": {
  161. "type": "prometheus",
  162. "uid": "$datasource"
  163. },
  164. "editorMode": "code",
  165. "expr": "(sum(increase(controller_runtime_reconcile_total{service=~\".*external-secrets.*\",controller=~\"clustersecretstore\", result=\"error\"}[15m])))\n/\n(sum(increase(controller_runtime_reconcile_total{service=~\".*external-secrets.*\",controller=~\"clustersecretstore\"}[15m])))\n> 0",
  166. "legendFormat": "__auto",
  167. "range": true,
  168. "refId": "A"
  169. }
  170. ],
  171. "title": "ClusterSecretStore error rate [15m]",
  172. "type": "gauge"
  173. },
  174. {
  175. "datasource": {
  176. "type": "prometheus",
  177. "uid": "$datasource"
  178. },
  179. "fieldConfig": {
  180. "defaults": {
  181. "color": {
  182. "mode": "thresholds"
  183. },
  184. "mappings": [],
  185. "min": 0,
  186. "thresholds": {
  187. "mode": "percentage",
  188. "steps": [
  189. {
  190. "color": "green",
  191. "value": null
  192. },
  193. {
  194. "color": "#EAB839",
  195. "value": 1
  196. }
  197. ]
  198. },
  199. "unit": "percentunit"
  200. },
  201. "overrides": []
  202. },
  203. "gridPos": {
  204. "h": 6,
  205. "w": 4,
  206. "x": 8,
  207. "y": 1
  208. },
  209. "id": 119,
  210. "options": {
  211. "orientation": "auto",
  212. "reduceOptions": {
  213. "calcs": [
  214. "lastNotNull"
  215. ],
  216. "fields": "",
  217. "values": false
  218. },
  219. "showThresholdLabels": false,
  220. "showThresholdMarkers": true
  221. },
  222. "pluginVersion": "9.5.2",
  223. "targets": [
  224. {
  225. "datasource": {
  226. "type": "prometheus",
  227. "uid": "$datasource"
  228. },
  229. "editorMode": "code",
  230. "expr": "(sum(increase(controller_runtime_reconcile_total{service=~\".*external-secrets.*\",controller=~\"externalsecret\", result=\"error\"}[15m])))\n/\n(sum(increase(controller_runtime_reconcile_total{service=~\".*external-secrets.*\",controller=~\"externalsecret\"}[15m])))\n> 0",
  231. "legendFormat": "__auto",
  232. "range": true,
  233. "refId": "A"
  234. }
  235. ],
  236. "title": "ExternalSecret error rate [15m]",
  237. "type": "gauge"
  238. },
  239. {
  240. "datasource": {
  241. "type": "prometheus",
  242. "uid": "$datasource"
  243. },
  244. "fieldConfig": {
  245. "defaults": {
  246. "color": {
  247. "mode": "thresholds"
  248. },
  249. "mappings": [],
  250. "min": 0,
  251. "thresholds": {
  252. "mode": "percentage",
  253. "steps": [
  254. {
  255. "color": "green",
  256. "value": null
  257. },
  258. {
  259. "color": "#EAB839",
  260. "value": 1
  261. }
  262. ]
  263. },
  264. "unit": "percentunit"
  265. },
  266. "overrides": []
  267. },
  268. "gridPos": {
  269. "h": 6,
  270. "w": 4,
  271. "x": 12,
  272. "y": 1
  273. },
  274. "id": 120,
  275. "options": {
  276. "orientation": "auto",
  277. "reduceOptions": {
  278. "calcs": [
  279. "lastNotNull"
  280. ],
  281. "fields": "",
  282. "values": false
  283. },
  284. "showThresholdLabels": false,
  285. "showThresholdMarkers": true
  286. },
  287. "pluginVersion": "9.5.2",
  288. "targets": [
  289. {
  290. "datasource": {
  291. "type": "prometheus",
  292. "uid": "$datasource"
  293. },
  294. "editorMode": "code",
  295. "expr": "(sum(irate(controller_runtime_reconcile_total{service=~\".*external-secrets.*\",controller=~\"clusterexternalsecret\", result=\"error\"}[15m])))\n/\n(sum(irate(controller_runtime_reconcile_total{service=~\".*external-secrets.*\",controller=~\"clusterexternalsecret\"}[15m])))\n> 0",
  296. "legendFormat": "__auto",
  297. "range": true,
  298. "refId": "A"
  299. }
  300. ],
  301. "title": "ClusterExternalSecret error rate [15m]",
  302. "type": "gauge"
  303. },
  304. {
  305. "datasource": {
  306. "type": "prometheus",
  307. "uid": "$datasource"
  308. },
  309. "fieldConfig": {
  310. "defaults": {
  311. "color": {
  312. "mode": "thresholds"
  313. },
  314. "mappings": [],
  315. "min": 0,
  316. "thresholds": {
  317. "mode": "percentage",
  318. "steps": [
  319. {
  320. "color": "green",
  321. "value": null
  322. },
  323. {
  324. "color": "#EAB839",
  325. "value": 1
  326. }
  327. ]
  328. },
  329. "unit": "percentunit"
  330. },
  331. "overrides": []
  332. },
  333. "gridPos": {
  334. "h": 7,
  335. "w": 4,
  336. "x": 16,
  337. "y": 1
  338. },
  339. "id": 122,
  340. "options": {
  341. "orientation": "auto",
  342. "reduceOptions": {
  343. "calcs": [
  344. "lastNotNull"
  345. ],
  346. "fields": "",
  347. "values": false
  348. },
  349. "showThresholdLabels": false,
  350. "showThresholdMarkers": true
  351. },
  352. "pluginVersion": "9.5.2",
  353. "targets": [
  354. {
  355. "datasource": {
  356. "type": "prometheus",
  357. "uid": "$datasource"
  358. },
  359. "editorMode": "code",
  360. "expr": "(sum(increase(controller_runtime_reconcile_total{service=~\".*external-secrets.*\",controller=~\"pushsecret\", result=\"error\"}[15m])))\n/\n(sum(increase(controller_runtime_reconcile_total{service=~\".*external-secrets.*\",controller=~\"pushsecret\"}[15m])))\n> 0",
  361. "legendFormat": "__auto",
  362. "range": true,
  363. "refId": "A"
  364. }
  365. ],
  366. "title": "PushSecret error rate [15m]",
  367. "type": "gauge"
  368. },
  369. {
  370. "datasource": {
  371. "type": "prometheus",
  372. "uid": "$datasource"
  373. },
  374. "fieldConfig": {
  375. "defaults": {
  376. "color": {
  377. "mode": "thresholds"
  378. },
  379. "mappings": [],
  380. "min": 0,
  381. "thresholds": {
  382. "mode": "percentage",
  383. "steps": [
  384. {
  385. "color": "green",
  386. "value": null
  387. },
  388. {
  389. "color": "#EAB839",
  390. "value": 1
  391. }
  392. ]
  393. },
  394. "unit": "percentunit"
  395. },
  396. "overrides": []
  397. },
  398. "gridPos": {
  399. "h": 7,
  400. "w": 4,
  401. "x": 20,
  402. "y": 1
  403. },
  404. "id": 123,
  405. "options": {
  406. "orientation": "auto",
  407. "reduceOptions": {
  408. "calcs": [
  409. "lastNotNull"
  410. ],
  411. "fields": "",
  412. "values": false
  413. },
  414. "showThresholdLabels": false,
  415. "showThresholdMarkers": true
  416. },
  417. "pluginVersion": "9.5.2",
  418. "targets": [
  419. {
  420. "datasource": {
  421. "type": "prometheus",
  422. "uid": "$datasource"
  423. },
  424. "editorMode": "code",
  425. "expr": "sum(increase(externalsecret_provider_api_calls_count{service=~\".*external-secrets.*\", status=\"error\"}[15m]))\n/\nsum(increase(externalsecret_provider_api_calls_count{service=~\".*external-secrets.*\"}[15m]))\n> 0",
  426. "legendFormat": "__auto",
  427. "range": true,
  428. "refId": "A"
  429. }
  430. ],
  431. "title": "Provider error rate [15m]",
  432. "type": "gauge"
  433. },
  434. {
  435. "datasource": {
  436. "type": "prometheus",
  437. "uid": "$datasource"
  438. },
  439. "fieldConfig": {
  440. "defaults": {
  441. "color": {
  442. "mode": "thresholds"
  443. },
  444. "mappings": [],
  445. "min": 0,
  446. "thresholds": {
  447. "mode": "absolute",
  448. "steps": [
  449. {
  450. "color": "green",
  451. "value": null
  452. },
  453. {
  454. "color": "#EAB839",
  455. "value": 10
  456. }
  457. ]
  458. },
  459. "unit": "none"
  460. },
  461. "overrides": []
  462. },
  463. "gridPos": {
  464. "h": 7,
  465. "w": 8,
  466. "x": 8,
  467. "y": 7
  468. },
  469. "id": 147,
  470. "options": {
  471. "orientation": "auto",
  472. "reduceOptions": {
  473. "calcs": [
  474. "lastNotNull"
  475. ],
  476. "fields": "",
  477. "values": false
  478. },
  479. "showThresholdLabels": false,
  480. "showThresholdMarkers": true
  481. },
  482. "pluginVersion": "9.5.2",
  483. "targets": [
  484. {
  485. "datasource": {
  486. "type": "prometheus",
  487. "uid": "$datasource"
  488. },
  489. "editorMode": "code",
  490. "expr": "sum(\n workqueue_depth{service=~\"external-secrets.*\"}\n) by (name)",
  491. "legendFormat": "__auto",
  492. "range": true,
  493. "refId": "A"
  494. }
  495. ],
  496. "title": "Workqueue depth",
  497. "type": "gauge"
  498. },
  499. {
  500. "datasource": {
  501. "type": "prometheus",
  502. "uid": "$datasource"
  503. },
  504. "fieldConfig": {
  505. "defaults": {
  506. "color": {
  507. "mode": "thresholds"
  508. },
  509. "mappings": [],
  510. "min": 0,
  511. "thresholds": {
  512. "mode": "percentage",
  513. "steps": [
  514. {
  515. "color": "green",
  516. "value": null
  517. },
  518. {
  519. "color": "#EAB839",
  520. "value": 1
  521. }
  522. ]
  523. },
  524. "unit": "percentunit"
  525. },
  526. "overrides": []
  527. },
  528. "gridPos": {
  529. "h": 6,
  530. "w": 4,
  531. "x": 0,
  532. "y": 8
  533. },
  534. "id": 145,
  535. "options": {
  536. "orientation": "auto",
  537. "reduceOptions": {
  538. "calcs": [
  539. "lastNotNull"
  540. ],
  541. "fields": "",
  542. "values": false
  543. },
  544. "showThresholdLabels": false,
  545. "showThresholdMarkers": true
  546. },
  547. "pluginVersion": "9.5.2",
  548. "targets": [
  549. {
  550. "datasource": {
  551. "type": "prometheus",
  552. "uid": "$datasource"
  553. },
  554. "editorMode": "code",
  555. "expr": "sum(increase(controller_runtime_webhook_requests_total{service=~\"external-secrets.*\",code=\"500\"}[15m]))\n/\nsum(increase(controller_runtime_webhook_requests_total{service=~\"external-secrets.*\"}[15m]))",
  556. "legendFormat": "__auto",
  557. "range": true,
  558. "refId": "A"
  559. }
  560. ],
  561. "title": "Webhook error rate [15m]",
  562. "type": "gauge"
  563. },
  564. {
  565. "datasource": {
  566. "type": "prometheus",
  567. "uid": "$datasource"
  568. },
  569. "fieldConfig": {
  570. "defaults": {
  571. "color": {
  572. "mode": "thresholds"
  573. },
  574. "mappings": [],
  575. "min": 0,
  576. "thresholds": {
  577. "mode": "absolute",
  578. "steps": [
  579. {
  580. "color": "green",
  581. "value": null
  582. },
  583. {
  584. "color": "#EAB839",
  585. "value": 100
  586. }
  587. ]
  588. },
  589. "unit": "s"
  590. },
  591. "overrides": []
  592. },
  593. "gridPos": {
  594. "h": 6,
  595. "w": 4,
  596. "x": 4,
  597. "y": 8
  598. },
  599. "id": 146,
  600. "options": {
  601. "orientation": "auto",
  602. "reduceOptions": {
  603. "calcs": [
  604. "lastNotNull"
  605. ],
  606. "fields": "",
  607. "values": false
  608. },
  609. "showThresholdLabels": false,
  610. "showThresholdMarkers": true
  611. },
  612. "pluginVersion": "9.5.2",
  613. "targets": [
  614. {
  615. "datasource": {
  616. "type": "prometheus",
  617. "uid": "$datasource"
  618. },
  619. "editorMode": "code",
  620. "expr": "histogram_quantile(0.99,\n sum(rate(controller_runtime_webhook_latency_seconds_bucket{service=~\"external-secrets.*\"}[5m])) by (le)\n)",
  621. "legendFormat": "__auto",
  622. "range": true,
  623. "refId": "A"
  624. }
  625. ],
  626. "title": "Webhook latency [5m]",
  627. "type": "gauge"
  628. },
  629. {
  630. "datasource": {
  631. "type": "prometheus",
  632. "uid": "$datasource"
  633. },
  634. "fieldConfig": {
  635. "defaults": {
  636. "color": {
  637. "mode": "thresholds"
  638. },
  639. "mappings": [],
  640. "min": 0,
  641. "thresholds": {
  642. "mode": "absolute",
  643. "steps": [
  644. {
  645. "color": "green",
  646. "value": null
  647. },
  648. {
  649. "color": "#EAB839",
  650. "value": 10
  651. }
  652. ]
  653. },
  654. "unit": "s"
  655. },
  656. "overrides": []
  657. },
  658. "gridPos": {
  659. "h": 6,
  660. "w": 4,
  661. "x": 16,
  662. "y": 8
  663. },
  664. "id": 148,
  665. "options": {
  666. "orientation": "auto",
  667. "reduceOptions": {
  668. "calcs": [
  669. "lastNotNull"
  670. ],
  671. "fields": "",
  672. "values": false
  673. },
  674. "showThresholdLabels": false,
  675. "showThresholdMarkers": true
  676. },
  677. "pluginVersion": "9.5.2",
  678. "targets": [
  679. {
  680. "datasource": {
  681. "type": "prometheus",
  682. "uid": "$datasource"
  683. },
  684. "editorMode": "code",
  685. "expr": "histogram_quantile(0.99,\n sum(rate(controller_runtime_reconcile_time_seconds_bucket{service=~\"external-secrets.*\"}[5m])) by (le)\n)",
  686. "legendFormat": "__auto",
  687. "range": true,
  688. "refId": "A"
  689. }
  690. ],
  691. "title": "Reconcile latency [p99]",
  692. "type": "gauge"
  693. },
  694. {
  695. "datasource": {
  696. "type": "prometheus",
  697. "uid": "$datasource"
  698. },
  699. "fieldConfig": {
  700. "defaults": {
  701. "color": {
  702. "mode": "thresholds"
  703. },
  704. "mappings": [],
  705. "min": 0,
  706. "thresholds": {
  707. "mode": "percentage",
  708. "steps": [
  709. {
  710. "color": "green",
  711. "value": null
  712. },
  713. {
  714. "color": "#EAB839",
  715. "value": 1
  716. }
  717. ]
  718. },
  719. "unit": "percentunit"
  720. },
  721. "overrides": []
  722. },
  723. "gridPos": {
  724. "h": 6,
  725. "w": 4,
  726. "x": 20,
  727. "y": 8
  728. },
  729. "id": 149,
  730. "options": {
  731. "orientation": "auto",
  732. "reduceOptions": {
  733. "calcs": [
  734. "lastNotNull"
  735. ],
  736. "fields": "",
  737. "values": false
  738. },
  739. "showThresholdLabels": false,
  740. "showThresholdMarkers": true
  741. },
  742. "pluginVersion": "9.5.2",
  743. "targets": [
  744. {
  745. "datasource": {
  746. "type": "prometheus",
  747. "uid": "$datasource"
  748. },
  749. "editorMode": "code",
  750. "expr": "sum(increase(controller_runtime_reconcile_total{service=~\"external-secrets.*\",controller=~\"$controller\",result=\"error\"}[1m]))\n/\nsum(increase(controller_runtime_reconcile_total{service=~\"external-secrets.*\",controller=~\"$controller\"}[1m]))\n> 0",
  751. "legendFormat": "__auto",
  752. "range": true,
  753. "refId": "A"
  754. }
  755. ],
  756. "title": "reconcile error rate [p99]",
  757. "type": "gauge"
  758. },
  759. {
  760. "datasource": {
  761. "type": "prometheus",
  762. "uid": "$datasource"
  763. },
  764. "fieldConfig": {
  765. "defaults": {
  766. "color": {
  767. "mode": "palette-classic"
  768. },
  769. "custom": {
  770. "axisCenteredZero": false,
  771. "axisColorMode": "text",
  772. "axisLabel": "",
  773. "axisPlacement": "auto",
  774. "barAlignment": 0,
  775. "drawStyle": "line",
  776. "fillOpacity": 0,
  777. "gradientMode": "none",
  778. "hideFrom": {
  779. "legend": false,
  780. "tooltip": false,
  781. "viz": false
  782. },
  783. "lineInterpolation": "linear",
  784. "lineWidth": 1,
  785. "pointSize": 5,
  786. "scaleDistribution": {
  787. "type": "linear"
  788. },
  789. "showPoints": "auto",
  790. "spanNulls": false,
  791. "stacking": {
  792. "group": "A",
  793. "mode": "none"
  794. },
  795. "thresholdsStyle": {
  796. "mode": "off"
  797. }
  798. },
  799. "mappings": [],
  800. "min": 0,
  801. "thresholds": {
  802. "mode": "percentage",
  803. "steps": [
  804. {
  805. "color": "green",
  806. "value": null
  807. },
  808. {
  809. "color": "#EAB839",
  810. "value": 1
  811. }
  812. ]
  813. },
  814. "unit": "none"
  815. },
  816. "overrides": []
  817. },
  818. "gridPos": {
  819. "h": 8,
  820. "w": 8,
  821. "x": 0,
  822. "y": 14
  823. },
  824. "id": 124,
  825. "options": {
  826. "legend": {
  827. "calcs": [],
  828. "displayMode": "list",
  829. "placement": "bottom",
  830. "showLegend": true
  831. },
  832. "tooltip": {
  833. "mode": "single",
  834. "sort": "none"
  835. }
  836. },
  837. "pluginVersion": "9.5.2",
  838. "targets": [
  839. {
  840. "datasource": {
  841. "type": "prometheus",
  842. "uid": "$datasource"
  843. },
  844. "editorMode": "code",
  845. "expr": "increase(externalsecret_provider_api_calls_count{service=~\".*external-secrets.*\", status=\"error\"}[15m])",
  846. "legendFormat": "{{provider}}/{{call}}",
  847. "range": true,
  848. "refId": "A"
  849. }
  850. ],
  851. "title": "Provider errors [15m]",
  852. "type": "timeseries"
  853. },
  854. {
  855. "datasource": {
  856. "type": "prometheus",
  857. "uid": "$datasource"
  858. },
  859. "fieldConfig": {
  860. "defaults": {
  861. "color": {
  862. "mode": "thresholds"
  863. },
  864. "custom": {
  865. "align": "auto",
  866. "cellOptions": {
  867. "type": "auto"
  868. },
  869. "filterable": false,
  870. "inspect": false
  871. },
  872. "mappings": [],
  873. "thresholds": {
  874. "mode": "absolute",
  875. "steps": [
  876. {
  877. "color": "green",
  878. "value": null
  879. },
  880. {
  881. "color": "red",
  882. "value": 80
  883. }
  884. ]
  885. }
  886. },
  887. "overrides": [
  888. {
  889. "matcher": {
  890. "id": "byName",
  891. "options": "Value"
  892. },
  893. "properties": [
  894. {
  895. "id": "custom.hidden",
  896. "value": true
  897. }
  898. ]
  899. },
  900. {
  901. "matcher": {
  902. "id": "byName",
  903. "options": "Time"
  904. },
  905. "properties": [
  906. {
  907. "id": "custom.hidden",
  908. "value": true
  909. }
  910. ]
  911. }
  912. ]
  913. },
  914. "gridPos": {
  915. "h": 8,
  916. "w": 7,
  917. "x": 8,
  918. "y": 14
  919. },
  920. "id": 125,
  921. "options": {
  922. "cellHeight": "sm",
  923. "footer": {
  924. "countRows": false,
  925. "fields": [],
  926. "reducer": [
  927. "sum"
  928. ],
  929. "show": false
  930. },
  931. "showHeader": true
  932. },
  933. "pluginVersion": "9.5.2",
  934. "targets": [
  935. {
  936. "datasource": {
  937. "type": "prometheus",
  938. "uid": "$datasource"
  939. },
  940. "editorMode": "code",
  941. "exemplar": false,
  942. "expr": "sum(externalsecret_status_condition{condition=\"Ready\",status=\"False\"}) by (namespace, name) == 1",
  943. "format": "table",
  944. "instant": true,
  945. "legendFormat": "{{provider}}/{{call}}",
  946. "range": false,
  947. "refId": "A"
  948. }
  949. ],
  950. "title": "Not Ready ExternalSecrets [15m]",
  951. "transformations": [],
  952. "type": "table"
  953. },
  954. {
  955. "datasource": {
  956. "type": "prometheus",
  957. "uid": "$datasource"
  958. },
  959. "fieldConfig": {
  960. "defaults": {
  961. "color": {
  962. "mode": "palette-classic"
  963. },
  964. "custom": {
  965. "axisCenteredZero": false,
  966. "axisColorMode": "text",
  967. "axisLabel": "",
  968. "axisPlacement": "auto",
  969. "barAlignment": 0,
  970. "drawStyle": "line",
  971. "fillOpacity": 0,
  972. "gradientMode": "none",
  973. "hideFrom": {
  974. "legend": false,
  975. "tooltip": false,
  976. "viz": false
  977. },
  978. "lineInterpolation": "linear",
  979. "lineWidth": 1,
  980. "pointSize": 5,
  981. "scaleDistribution": {
  982. "type": "linear"
  983. },
  984. "showPoints": "auto",
  985. "spanNulls": false,
  986. "stacking": {
  987. "group": "A",
  988. "mode": "none"
  989. },
  990. "thresholdsStyle": {
  991. "mode": "off"
  992. }
  993. },
  994. "mappings": [],
  995. "thresholds": {
  996. "mode": "absolute",
  997. "steps": [
  998. {
  999. "color": "green",
  1000. "value": null
  1001. },
  1002. {
  1003. "color": "red",
  1004. "value": 80
  1005. }
  1006. ]
  1007. }
  1008. },
  1009. "overrides": []
  1010. },
  1011. "gridPos": {
  1012. "h": 8,
  1013. "w": 9,
  1014. "x": 15,
  1015. "y": 14
  1016. },
  1017. "id": 126,
  1018. "options": {
  1019. "legend": {
  1020. "calcs": [],
  1021. "displayMode": "list",
  1022. "placement": "bottom",
  1023. "showLegend": true
  1024. },
  1025. "tooltip": {
  1026. "mode": "single",
  1027. "sort": "none"
  1028. }
  1029. },
  1030. "targets": [
  1031. {
  1032. "datasource": {
  1033. "type": "prometheus",
  1034. "uid": "$datasource"
  1035. },
  1036. "editorMode": "code",
  1037. "expr": "sum(increase(externalsecret_sync_calls_error[15m])) by (name, namespace)",
  1038. "legendFormat": "{{namespace}}/{{name}}",
  1039. "range": true,
  1040. "refId": "A"
  1041. }
  1042. ],
  1043. "title": "ExternalSecret sync call errors [15m]",
  1044. "type": "timeseries"
  1045. },
  1046. {
  1047. "collapsed": true,
  1048. "gridPos": {
  1049. "h": 1,
  1050. "w": 24,
  1051. "x": 0,
  1052. "y": 22
  1053. },
  1054. "id": 27,
  1055. "panels": [
  1056. {
  1057. "datasource": "$datasource",
  1058. "fieldConfig": {
  1059. "defaults": {
  1060. "color": {
  1061. "mode": "palette-classic"
  1062. },
  1063. "custom": {
  1064. "axisCenteredZero": false,
  1065. "axisColorMode": "text",
  1066. "axisLabel": "",
  1067. "axisPlacement": "auto",
  1068. "barAlignment": 0,
  1069. "drawStyle": "line",
  1070. "fillOpacity": 0,
  1071. "gradientMode": "none",
  1072. "hideFrom": {
  1073. "legend": false,
  1074. "tooltip": false,
  1075. "viz": false
  1076. },
  1077. "lineInterpolation": "linear",
  1078. "lineWidth": 1,
  1079. "pointSize": 5,
  1080. "scaleDistribution": {
  1081. "type": "linear"
  1082. },
  1083. "showPoints": "auto",
  1084. "spanNulls": false,
  1085. "stacking": {
  1086. "group": "A",
  1087. "mode": "none"
  1088. },
  1089. "thresholdsStyle": {
  1090. "mode": "off"
  1091. }
  1092. },
  1093. "mappings": [],
  1094. "thresholds": {
  1095. "mode": "absolute",
  1096. "steps": [
  1097. {
  1098. "color": "green",
  1099. "value": null
  1100. },
  1101. {
  1102. "color": "red",
  1103. "value": 80
  1104. }
  1105. ]
  1106. }
  1107. },
  1108. "overrides": []
  1109. },
  1110. "gridPos": {
  1111. "h": 8,
  1112. "w": 12,
  1113. "x": 0,
  1114. "y": 16
  1115. },
  1116. "id": 53,
  1117. "options": {
  1118. "legend": {
  1119. "calcs": [],
  1120. "displayMode": "list",
  1121. "placement": "bottom",
  1122. "showLegend": true
  1123. },
  1124. "tooltip": {
  1125. "mode": "single",
  1126. "sort": "none"
  1127. }
  1128. },
  1129. "targets": [
  1130. {
  1131. "datasource": "$datasource",
  1132. "editorMode": "code",
  1133. "expr": "sum(increase(controller_runtime_webhook_requests_total{service=~\".*external-secrets.*\"}[1m])) by (webhook)",
  1134. "legendFormat": "__auto",
  1135. "range": true,
  1136. "refId": "A"
  1137. }
  1138. ],
  1139. "title": "requests by path per minute",
  1140. "type": "timeseries"
  1141. },
  1142. {
  1143. "datasource": "$datasource",
  1144. "fieldConfig": {
  1145. "defaults": {
  1146. "color": {
  1147. "mode": "palette-classic"
  1148. },
  1149. "custom": {
  1150. "axisCenteredZero": false,
  1151. "axisColorMode": "text",
  1152. "axisLabel": "",
  1153. "axisPlacement": "auto",
  1154. "barAlignment": 0,
  1155. "drawStyle": "line",
  1156. "fillOpacity": 0,
  1157. "gradientMode": "none",
  1158. "hideFrom": {
  1159. "legend": false,
  1160. "tooltip": false,
  1161. "viz": false
  1162. },
  1163. "lineInterpolation": "linear",
  1164. "lineWidth": 1,
  1165. "pointSize": 5,
  1166. "scaleDistribution": {
  1167. "type": "linear"
  1168. },
  1169. "showPoints": "auto",
  1170. "spanNulls": false,
  1171. "stacking": {
  1172. "group": "A",
  1173. "mode": "none"
  1174. },
  1175. "thresholdsStyle": {
  1176. "mode": "off"
  1177. }
  1178. },
  1179. "mappings": [],
  1180. "thresholds": {
  1181. "mode": "absolute",
  1182. "steps": [
  1183. {
  1184. "color": "green",
  1185. "value": null
  1186. },
  1187. {
  1188. "color": "red",
  1189. "value": 80
  1190. }
  1191. ]
  1192. }
  1193. },
  1194. "overrides": []
  1195. },
  1196. "gridPos": {
  1197. "h": 8,
  1198. "w": 12,
  1199. "x": 12,
  1200. "y": 16
  1201. },
  1202. "id": 67,
  1203. "options": {
  1204. "legend": {
  1205. "calcs": [],
  1206. "displayMode": "list",
  1207. "placement": "bottom",
  1208. "showLegend": true
  1209. },
  1210. "tooltip": {
  1211. "mode": "single",
  1212. "sort": "none"
  1213. }
  1214. },
  1215. "targets": [
  1216. {
  1217. "datasource": "$datasource",
  1218. "editorMode": "code",
  1219. "expr": "sum(controller_runtime_webhook_requests_in_flight{service=~\".*external-secrets.*\"}) by (webhook)",
  1220. "legendFormat": "__auto",
  1221. "range": true,
  1222. "refId": "A"
  1223. }
  1224. ],
  1225. "title": "requests in flight",
  1226. "type": "timeseries"
  1227. },
  1228. {
  1229. "datasource": "$datasource",
  1230. "fieldConfig": {
  1231. "defaults": {
  1232. "color": {
  1233. "mode": "palette-classic"
  1234. },
  1235. "custom": {
  1236. "axisCenteredZero": false,
  1237. "axisColorMode": "text",
  1238. "axisLabel": "",
  1239. "axisPlacement": "auto",
  1240. "barAlignment": 0,
  1241. "drawStyle": "line",
  1242. "fillOpacity": 0,
  1243. "gradientMode": "none",
  1244. "hideFrom": {
  1245. "legend": false,
  1246. "tooltip": false,
  1247. "viz": false
  1248. },
  1249. "lineInterpolation": "linear",
  1250. "lineWidth": 1,
  1251. "pointSize": 5,
  1252. "scaleDistribution": {
  1253. "type": "linear"
  1254. },
  1255. "showPoints": "auto",
  1256. "spanNulls": false,
  1257. "stacking": {
  1258. "group": "A",
  1259. "mode": "none"
  1260. },
  1261. "thresholdsStyle": {
  1262. "mode": "off"
  1263. }
  1264. },
  1265. "mappings": [],
  1266. "thresholds": {
  1267. "mode": "absolute",
  1268. "steps": [
  1269. {
  1270. "color": "green",
  1271. "value": null
  1272. },
  1273. {
  1274. "color": "red",
  1275. "value": 80
  1276. }
  1277. ]
  1278. }
  1279. },
  1280. "overrides": []
  1281. },
  1282. "gridPos": {
  1283. "h": 8,
  1284. "w": 12,
  1285. "x": 0,
  1286. "y": 24
  1287. },
  1288. "id": 80,
  1289. "options": {
  1290. "legend": {
  1291. "calcs": [],
  1292. "displayMode": "list",
  1293. "placement": "bottom",
  1294. "showLegend": true
  1295. },
  1296. "tooltip": {
  1297. "mode": "single",
  1298. "sort": "none"
  1299. }
  1300. },
  1301. "targets": [
  1302. {
  1303. "datasource": "$datasource",
  1304. "editorMode": "code",
  1305. "expr": "sum(increase(controller_runtime_webhook_requests_total{service=~\".*external-secrets.*\"}[1m])) by (code)",
  1306. "legendFormat": "__auto",
  1307. "range": true,
  1308. "refId": "A"
  1309. }
  1310. ],
  1311. "title": "requests by code per minute",
  1312. "type": "timeseries"
  1313. },
  1314. {
  1315. "datasource": "$datasource",
  1316. "fieldConfig": {
  1317. "defaults": {
  1318. "custom": {
  1319. "hideFrom": {
  1320. "legend": false,
  1321. "tooltip": false,
  1322. "viz": false
  1323. },
  1324. "scaleDistribution": {
  1325. "type": "linear"
  1326. }
  1327. }
  1328. },
  1329. "overrides": []
  1330. },
  1331. "gridPos": {
  1332. "h": 8,
  1333. "w": 12,
  1334. "x": 12,
  1335. "y": 24
  1336. },
  1337. "id": 54,
  1338. "options": {
  1339. "calculate": false,
  1340. "cellGap": 1,
  1341. "color": {
  1342. "exponent": 0.5,
  1343. "fill": "dark-orange",
  1344. "mode": "scheme",
  1345. "reverse": false,
  1346. "scale": "exponential",
  1347. "scheme": "Oranges",
  1348. "steps": 64
  1349. },
  1350. "exemplars": {
  1351. "color": "rgba(255,0,255,0.7)"
  1352. },
  1353. "filterValues": {
  1354. "le": 1e-9
  1355. },
  1356. "legend": {
  1357. "show": true
  1358. },
  1359. "rowsFrame": {
  1360. "layout": "auto"
  1361. },
  1362. "tooltip": {
  1363. "show": true,
  1364. "yHistogram": false
  1365. },
  1366. "yAxis": {
  1367. "axisPlacement": "left",
  1368. "reverse": false
  1369. }
  1370. },
  1371. "pluginVersion": "9.5.2",
  1372. "targets": [
  1373. {
  1374. "datasource": "$datasource",
  1375. "editorMode": "code",
  1376. "expr": "sum(rate(controller_runtime_webhook_latency_seconds_bucket{service=~\".*external-secrets.*\"}[$__rate_interval])) by (le)",
  1377. "legendFormat": "{{le}}",
  1378. "range": true,
  1379. "refId": "A"
  1380. }
  1381. ],
  1382. "title": "webhook latency",
  1383. "type": "heatmap"
  1384. }
  1385. ],
  1386. "title": "Admission Control Webhook",
  1387. "type": "row"
  1388. },
  1389. {
  1390. "collapsed": true,
  1391. "gridPos": {
  1392. "h": 1,
  1393. "w": 24,
  1394. "x": 0,
  1395. "y": 23
  1396. },
  1397. "id": 17,
  1398. "panels": [
  1399. {
  1400. "datasource": "$datasource",
  1401. "fieldConfig": {
  1402. "defaults": {
  1403. "color": {
  1404. "mode": "palette-classic"
  1405. },
  1406. "custom": {
  1407. "axisCenteredZero": false,
  1408. "axisColorMode": "text",
  1409. "axisLabel": "",
  1410. "axisPlacement": "auto",
  1411. "barAlignment": 0,
  1412. "drawStyle": "line",
  1413. "fillOpacity": 0,
  1414. "gradientMode": "none",
  1415. "hideFrom": {
  1416. "legend": false,
  1417. "tooltip": false,
  1418. "viz": false
  1419. },
  1420. "lineInterpolation": "linear",
  1421. "lineWidth": 1,
  1422. "pointSize": 5,
  1423. "scaleDistribution": {
  1424. "type": "linear"
  1425. },
  1426. "showPoints": "auto",
  1427. "spanNulls": false,
  1428. "stacking": {
  1429. "group": "A",
  1430. "mode": "none"
  1431. },
  1432. "thresholdsStyle": {
  1433. "mode": "off"
  1434. }
  1435. },
  1436. "mappings": [],
  1437. "thresholds": {
  1438. "mode": "absolute",
  1439. "steps": [
  1440. {
  1441. "color": "green",
  1442. "value": null
  1443. },
  1444. {
  1445. "color": "red",
  1446. "value": 80
  1447. }
  1448. ]
  1449. }
  1450. },
  1451. "overrides": []
  1452. },
  1453. "gridPos": {
  1454. "h": 8,
  1455. "w": 7,
  1456. "x": 0,
  1457. "y": 17
  1458. },
  1459. "id": 2,
  1460. "options": {
  1461. "legend": {
  1462. "calcs": [],
  1463. "displayMode": "list",
  1464. "placement": "bottom",
  1465. "showLegend": true
  1466. },
  1467. "tooltip": {
  1468. "mode": "single",
  1469. "sort": "none"
  1470. }
  1471. },
  1472. "targets": [
  1473. {
  1474. "datasource": "$datasource",
  1475. "editorMode": "code",
  1476. "expr": "sum(controller_runtime_active_workers{service=~\".*external-secrets.*\",controller=~\"$controller\"}) by (controller)",
  1477. "legendFormat": "__auto",
  1478. "range": true,
  1479. "refId": "A"
  1480. }
  1481. ],
  1482. "title": "active workers by controller",
  1483. "type": "timeseries"
  1484. },
  1485. {
  1486. "datasource": "$datasource",
  1487. "fieldConfig": {
  1488. "defaults": {
  1489. "color": {
  1490. "mode": "palette-classic"
  1491. },
  1492. "custom": {
  1493. "axisCenteredZero": false,
  1494. "axisColorMode": "text",
  1495. "axisLabel": "",
  1496. "axisPlacement": "auto",
  1497. "barAlignment": 0,
  1498. "drawStyle": "line",
  1499. "fillOpacity": 0,
  1500. "gradientMode": "none",
  1501. "hideFrom": {
  1502. "legend": false,
  1503. "tooltip": false,
  1504. "viz": false
  1505. },
  1506. "lineInterpolation": "linear",
  1507. "lineWidth": 1,
  1508. "pointSize": 5,
  1509. "scaleDistribution": {
  1510. "type": "linear"
  1511. },
  1512. "showPoints": "auto",
  1513. "spanNulls": false,
  1514. "stacking": {
  1515. "group": "A",
  1516. "mode": "none"
  1517. },
  1518. "thresholdsStyle": {
  1519. "mode": "off"
  1520. }
  1521. },
  1522. "mappings": [],
  1523. "thresholds": {
  1524. "mode": "absolute",
  1525. "steps": [
  1526. {
  1527. "color": "green",
  1528. "value": null
  1529. },
  1530. {
  1531. "color": "red",
  1532. "value": 80
  1533. }
  1534. ]
  1535. }
  1536. },
  1537. "overrides": []
  1538. },
  1539. "gridPos": {
  1540. "h": 8,
  1541. "w": 8,
  1542. "x": 7,
  1543. "y": 17
  1544. },
  1545. "id": 37,
  1546. "options": {
  1547. "legend": {
  1548. "calcs": [],
  1549. "displayMode": "list",
  1550. "placement": "bottom",
  1551. "showLegend": true
  1552. },
  1553. "tooltip": {
  1554. "mode": "single",
  1555. "sort": "none"
  1556. }
  1557. },
  1558. "targets": [
  1559. {
  1560. "datasource": "$datasource",
  1561. "editorMode": "code",
  1562. "expr": "sum(workqueue_depth{service=~\".*external-secrets.*\"}) by (name)",
  1563. "legendFormat": "__auto",
  1564. "range": true,
  1565. "refId": "A"
  1566. }
  1567. ],
  1568. "title": "workqueue depth",
  1569. "type": "timeseries"
  1570. },
  1571. {
  1572. "datasource": {
  1573. "type": "prometheus",
  1574. "uid": "$datasource"
  1575. },
  1576. "fieldConfig": {
  1577. "defaults": {
  1578. "color": {
  1579. "mode": "palette-classic"
  1580. },
  1581. "custom": {
  1582. "axisCenteredZero": false,
  1583. "axisColorMode": "text",
  1584. "axisLabel": "",
  1585. "axisPlacement": "auto",
  1586. "barAlignment": 0,
  1587. "drawStyle": "line",
  1588. "fillOpacity": 0,
  1589. "gradientMode": "none",
  1590. "hideFrom": {
  1591. "legend": false,
  1592. "tooltip": false,
  1593. "viz": false
  1594. },
  1595. "lineInterpolation": "linear",
  1596. "lineWidth": 1,
  1597. "pointSize": 5,
  1598. "scaleDistribution": {
  1599. "type": "linear"
  1600. },
  1601. "showPoints": "auto",
  1602. "spanNulls": false,
  1603. "stacking": {
  1604. "group": "A",
  1605. "mode": "none"
  1606. },
  1607. "thresholdsStyle": {
  1608. "mode": "off"
  1609. }
  1610. },
  1611. "mappings": [],
  1612. "thresholds": {
  1613. "mode": "absolute",
  1614. "steps": [
  1615. {
  1616. "color": "green",
  1617. "value": null
  1618. },
  1619. {
  1620. "color": "red",
  1621. "value": 80
  1622. }
  1623. ]
  1624. }
  1625. },
  1626. "overrides": []
  1627. },
  1628. "gridPos": {
  1629. "h": 8,
  1630. "w": 9,
  1631. "x": 15,
  1632. "y": 17
  1633. },
  1634. "id": 15,
  1635. "options": {
  1636. "legend": {
  1637. "calcs": [],
  1638. "displayMode": "list",
  1639. "placement": "bottom",
  1640. "showLegend": true
  1641. },
  1642. "tooltip": {
  1643. "mode": "single",
  1644. "sort": "none"
  1645. }
  1646. },
  1647. "targets": [
  1648. {
  1649. "datasource": "$datasource",
  1650. "editorMode": "code",
  1651. "expr": "sum(increase(externalsecret_provider_api_calls_count{service=~\".*external-secrets.*\"}[1m])) by(provider, call, status)",
  1652. "legendFormat": "{{provider}}/{{call}}={{status}}",
  1653. "range": true,
  1654. "refId": "A"
  1655. }
  1656. ],
  1657. "title": "API calls by provider",
  1658. "type": "timeseries"
  1659. },
  1660. {
  1661. "datasource": "$datasource",
  1662. "description": "",
  1663. "fieldConfig": {
  1664. "defaults": {
  1665. "color": {
  1666. "mode": "thresholds"
  1667. },
  1668. "mappings": [],
  1669. "thresholds": {
  1670. "mode": "absolute",
  1671. "steps": [
  1672. {
  1673. "color": "green",
  1674. "value": null
  1675. },
  1676. {
  1677. "color": "red",
  1678. "value": 80
  1679. }
  1680. ]
  1681. }
  1682. },
  1683. "overrides": []
  1684. },
  1685. "gridPos": {
  1686. "h": 6,
  1687. "w": 3.4285714285714284,
  1688. "x": 0,
  1689. "y": 25
  1690. },
  1691. "id": 5,
  1692. "maxPerRow": 12,
  1693. "options": {
  1694. "colorMode": "value",
  1695. "graphMode": "area",
  1696. "justifyMode": "auto",
  1697. "orientation": "auto",
  1698. "reduceOptions": {
  1699. "calcs": [
  1700. "lastNotNull"
  1701. ],
  1702. "fields": "",
  1703. "values": false
  1704. },
  1705. "textMode": "auto"
  1706. },
  1707. "pluginVersion": "9.5.2",
  1708. "repeat": "controller",
  1709. "repeatDirection": "h",
  1710. "targets": [
  1711. {
  1712. "datasource": "$datasource",
  1713. "editorMode": "code",
  1714. "expr": "sum(controller_runtime_max_concurrent_reconciles{service=~\".*external-secrets.*\",controller=\"$controller\"}) by (controller)",
  1715. "legendFormat": "__auto",
  1716. "range": true,
  1717. "refId": "A"
  1718. }
  1719. ],
  1720. "title": "max concurrent: $controller",
  1721. "type": "stat"
  1722. },
  1723. {
  1724. "datasource": "$datasource",
  1725. "fieldConfig": {
  1726. "defaults": {
  1727. "color": {
  1728. "mode": "palette-classic"
  1729. },
  1730. "custom": {
  1731. "axisCenteredZero": false,
  1732. "axisColorMode": "text",
  1733. "axisLabel": "",
  1734. "axisPlacement": "auto",
  1735. "barAlignment": 0,
  1736. "drawStyle": "line",
  1737. "fillOpacity": 0,
  1738. "gradientMode": "none",
  1739. "hideFrom": {
  1740. "legend": false,
  1741. "tooltip": false,
  1742. "viz": false
  1743. },
  1744. "lineInterpolation": "linear",
  1745. "lineWidth": 1,
  1746. "pointSize": 5,
  1747. "scaleDistribution": {
  1748. "type": "linear"
  1749. },
  1750. "showPoints": "auto",
  1751. "spanNulls": false,
  1752. "stacking": {
  1753. "group": "A",
  1754. "mode": "none"
  1755. },
  1756. "thresholdsStyle": {
  1757. "mode": "off"
  1758. }
  1759. },
  1760. "mappings": [],
  1761. "thresholds": {
  1762. "mode": "absolute",
  1763. "steps": [
  1764. {
  1765. "color": "green",
  1766. "value": null
  1767. },
  1768. {
  1769. "color": "red",
  1770. "value": 80
  1771. }
  1772. ]
  1773. }
  1774. },
  1775. "overrides": []
  1776. },
  1777. "gridPos": {
  1778. "h": 8,
  1779. "w": 3.4285714285714284,
  1780. "x": 0,
  1781. "y": 31
  1782. },
  1783. "id": 3,
  1784. "maxPerRow": 8,
  1785. "options": {
  1786. "legend": {
  1787. "calcs": [],
  1788. "displayMode": "list",
  1789. "placement": "bottom",
  1790. "showLegend": true
  1791. },
  1792. "tooltip": {
  1793. "mode": "single",
  1794. "sort": "none"
  1795. }
  1796. },
  1797. "repeat": "controller",
  1798. "repeatDirection": "h",
  1799. "targets": [
  1800. {
  1801. "datasource": "$datasource",
  1802. "editorMode": "code",
  1803. "expr": "sum(increase(controller_runtime_reconcile_total{service=~\".*external-secrets.*\",controller=~\"$controller\"}[1m])) by (result)",
  1804. "legendFormat": "__auto",
  1805. "range": true,
  1806. "refId": "A"
  1807. }
  1808. ],
  1809. "title": "reconcile rate per minute: $controller",
  1810. "type": "timeseries"
  1811. },
  1812. {
  1813. "datasource": "$datasource",
  1814. "fieldConfig": {
  1815. "defaults": {
  1816. "custom": {
  1817. "hideFrom": {
  1818. "legend": false,
  1819. "tooltip": false,
  1820. "viz": false
  1821. },
  1822. "scaleDistribution": {
  1823. "type": "linear"
  1824. }
  1825. }
  1826. },
  1827. "overrides": []
  1828. },
  1829. "gridPos": {
  1830. "h": 8,
  1831. "w": 3.4285714285714284,
  1832. "x": 0,
  1833. "y": 39
  1834. },
  1835. "id": 39,
  1836. "maxPerRow": 8,
  1837. "options": {
  1838. "calculate": false,
  1839. "cellGap": 1,
  1840. "cellValues": {
  1841. "unit": "short"
  1842. },
  1843. "color": {
  1844. "exponent": 0.5,
  1845. "fill": "dark-orange",
  1846. "mode": "scheme",
  1847. "reverse": false,
  1848. "scale": "exponential",
  1849. "scheme": "Oranges",
  1850. "steps": 10
  1851. },
  1852. "exemplars": {
  1853. "color": "rgba(255,0,255,0.7)"
  1854. },
  1855. "filterValues": {
  1856. "le": 1e-9
  1857. },
  1858. "legend": {
  1859. "show": true
  1860. },
  1861. "rowsFrame": {
  1862. "layout": "auto"
  1863. },
  1864. "tooltip": {
  1865. "show": true,
  1866. "yHistogram": false
  1867. },
  1868. "yAxis": {
  1869. "axisPlacement": "left",
  1870. "max": "5",
  1871. "min": 0,
  1872. "reverse": false,
  1873. "unit": "s"
  1874. }
  1875. },
  1876. "pluginVersion": "9.5.2",
  1877. "repeat": "controller",
  1878. "repeatDirection": "h",
  1879. "targets": [
  1880. {
  1881. "datasource": "$datasource",
  1882. "editorMode": "code",
  1883. "expr": "rate(controller_runtime_reconcile_time_seconds_bucket{service=~\".*external-secrets.*\",controller=~\"$controller\"}[$__rate_interval])",
  1884. "legendFormat": "{{le}}",
  1885. "range": true,
  1886. "refId": "A"
  1887. }
  1888. ],
  1889. "title": "reconcile time latency: $controller",
  1890. "type": "heatmap"
  1891. }
  1892. ],
  1893. "title": "Controllers",
  1894. "type": "row"
  1895. }
  1896. ],
  1897. "refresh": "",
  1898. "revision": 1,
  1899. "schemaVersion": 38,
  1900. "style": "dark",
  1901. "tags": [],
  1902. "templating": {
  1903. "list": [
  1904. {
  1905. "current": {
  1906. "selected": false,
  1907. "text": "Prometheus",
  1908. "value": "Prometheus"
  1909. },
  1910. "hide": 0,
  1911. "includeAll": false,
  1912. "multi": false,
  1913. "name": "datasource",
  1914. "options": [],
  1915. "query": "prometheus",
  1916. "queryValue": "",
  1917. "refresh": 1,
  1918. "regex": "",
  1919. "skipUrlSync": false,
  1920. "type": "datasource"
  1921. },
  1922. {
  1923. "allValue": ".*",
  1924. "current": {
  1925. "selected": false,
  1926. "text": "All",
  1927. "value": "$__all"
  1928. },
  1929. "datasource": {
  1930. "type": "prometheus",
  1931. "uid": "$datasource"
  1932. },
  1933. "definition": "label_values(controller_runtime_active_workers{service=~\".*external-secrets.*\"}, controller)",
  1934. "hide": 0,
  1935. "includeAll": true,
  1936. "multi": true,
  1937. "name": "controller",
  1938. "options": [],
  1939. "query": {
  1940. "query": "label_values(controller_runtime_active_workers{service=~\".*external-secrets.*\"}, controller)",
  1941. "refId": "StandardVariableQuery"
  1942. },
  1943. "refresh": 1,
  1944. "regex": "",
  1945. "skipUrlSync": false,
  1946. "sort": 0,
  1947. "type": "query"
  1948. }
  1949. ]
  1950. },
  1951. "time": {
  1952. "from": "now-1h",
  1953. "to": "now"
  1954. },
  1955. "timepicker": {},
  1956. "timezone": "",
  1957. "title": "External Secrets Operator",
  1958. "uid": "n4IdKaJVk",
  1959. "version": 9,
  1960. "weekStart": ""
  1961. }