grafana-dashboard.json 56 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169
  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. "collapsed": true,
  2013. "gridPos": {
  2014. "h": 1,
  2015. "w": 24,
  2016. "x": 0,
  2017. "y": 24
  2018. },
  2019. "id": 150,
  2020. "panels": [
  2021. {
  2022. "datasource": {
  2023. "type": "prometheus",
  2024. "uid": "$datasource"
  2025. },
  2026. "fieldConfig": {
  2027. "defaults": {
  2028. "color": {
  2029. "mode": "palette-classic"
  2030. },
  2031. "custom": {
  2032. "axisBorderShow": false,
  2033. "axisCenteredZero": false,
  2034. "axisColorMode": "text",
  2035. "axisLabel": "",
  2036. "axisPlacement": "auto",
  2037. "barAlignment": 0,
  2038. "barWidthFactor": 0.6,
  2039. "drawStyle": "line",
  2040. "fillOpacity": 0,
  2041. "gradientMode": "none",
  2042. "hideFrom": {
  2043. "legend": false,
  2044. "tooltip": false,
  2045. "viz": false
  2046. },
  2047. "insertNulls": false,
  2048. "lineInterpolation": "linear",
  2049. "lineWidth": 1,
  2050. "pointSize": 5,
  2051. "scaleDistribution": {
  2052. "type": "linear"
  2053. },
  2054. "showPoints": "auto",
  2055. "spanNulls": false,
  2056. "stacking": {
  2057. "group": "A",
  2058. "mode": "none"
  2059. },
  2060. "thresholdsStyle": {
  2061. "mode": "off"
  2062. }
  2063. },
  2064. "mappings": [],
  2065. "thresholds": {
  2066. "mode": "absolute",
  2067. "steps": [
  2068. {
  2069. "color": "green"
  2070. },
  2071. {
  2072. "color": "red",
  2073. "value": 80
  2074. }
  2075. ]
  2076. }
  2077. },
  2078. "overrides": []
  2079. },
  2080. "gridPos": {
  2081. "h": 9,
  2082. "w": 24,
  2083. "x": 0,
  2084. "y": 25
  2085. },
  2086. "id": 151,
  2087. "options": {
  2088. "legend": {
  2089. "calcs": [],
  2090. "displayMode": "list",
  2091. "placement": "bottom",
  2092. "showLegend": true
  2093. },
  2094. "tooltip": {
  2095. "hideZeros": false,
  2096. "mode": "single",
  2097. "sort": "none"
  2098. }
  2099. },
  2100. "pluginVersion": "12.0.2",
  2101. "targets": [
  2102. {
  2103. "editorMode": "code",
  2104. "expr": "sum(externalsecret_status_condition{condition=\"Ready\", status=\"False\"})",
  2105. "legendFormat": "Not ready amount",
  2106. "range": true,
  2107. "refId": "A",
  2108. "datasource": {
  2109. "type": "prometheus",
  2110. "uid": "$datasource"
  2111. }
  2112. }
  2113. ],
  2114. "title": "Secrets not ready",
  2115. "type": "timeseries"
  2116. }
  2117. ],
  2118. "title": "Secrets",
  2119. "type": "row"
  2120. }
  2121. ],
  2122. "refresh": "",
  2123. "schemaVersion": 41,
  2124. "tags": [],
  2125. "templating": {
  2126. "list": [
  2127. {
  2128. "current": {},
  2129. "includeAll": false,
  2130. "name": "datasource",
  2131. "options": [],
  2132. "query": "prometheus",
  2133. "refresh": 1,
  2134. "regex": "",
  2135. "type": "datasource"
  2136. },
  2137. {
  2138. "allValue": ".*",
  2139. "current": {},
  2140. "datasource": {
  2141. "type": "prometheus",
  2142. "uid": "$datasource"
  2143. },
  2144. "definition": "label_values(controller_runtime_active_workers{service=~\".*external-secrets.*\"}, controller)",
  2145. "includeAll": true,
  2146. "multi": true,
  2147. "name": "controller",
  2148. "options": [],
  2149. "query": {
  2150. "query": "label_values(controller_runtime_active_workers{service=~\".*external-secrets.*\"}, controller)",
  2151. "refId": "StandardVariableQuery"
  2152. },
  2153. "refresh": 1,
  2154. "regex": "",
  2155. "type": "query"
  2156. }
  2157. ]
  2158. },
  2159. "time": {
  2160. "from": "now-1h",
  2161. "to": "now"
  2162. },
  2163. "timepicker": {},
  2164. "timezone": "",
  2165. "title": "External Secrets Operator",
  2166. "uid": "n4IdKaJVk",
  2167. "version": 11,
  2168. "weekStart": ""
  2169. }