grafana-dashboard.json 53 KB

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