keda-dashboard.json 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986
  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. "description": "Visualize metrics provided by Keda",
  25. "editable": true,
  26. "fiscalYearStartMonth": 0,
  27. "graphTooltip": 0,
  28. "id": 9794,
  29. "links": [],
  30. "liveNow": false,
  31. "panels": [
  32. {
  33. "collapsed": false,
  34. "gridPos": {
  35. "h": 1,
  36. "w": 24,
  37. "x": 0,
  38. "y": 0
  39. },
  40. "id": 8,
  41. "panels": [],
  42. "title": "Metric Server",
  43. "type": "row"
  44. },
  45. {
  46. "datasource": {
  47. "type": "prometheus",
  48. "uid": "${datasource}"
  49. },
  50. "description": "The total number of errors encountered for all scalers.",
  51. "fieldConfig": {
  52. "defaults": {
  53. "color": {
  54. "mode": "palette-classic"
  55. },
  56. "custom": {
  57. "axisLabel": "",
  58. "axisPlacement": "auto",
  59. "barAlignment": 0,
  60. "drawStyle": "line",
  61. "fillOpacity": 25,
  62. "gradientMode": "opacity",
  63. "hideFrom": {
  64. "legend": false,
  65. "tooltip": false,
  66. "viz": false
  67. },
  68. "lineInterpolation": "linear",
  69. "lineWidth": 2,
  70. "pointSize": 5,
  71. "scaleDistribution": {
  72. "type": "linear"
  73. },
  74. "showPoints": "never",
  75. "spanNulls": true,
  76. "stacking": {
  77. "group": "A",
  78. "mode": "none"
  79. },
  80. "thresholdsStyle": {
  81. "mode": "off"
  82. }
  83. },
  84. "mappings": [],
  85. "thresholds": {
  86. "mode": "absolute",
  87. "steps": [
  88. {
  89. "color": "green",
  90. "value": null
  91. },
  92. {
  93. "color": "red",
  94. "value": 80
  95. }
  96. ]
  97. },
  98. "unit": "Errors/sec"
  99. },
  100. "overrides": [
  101. {
  102. "matcher": {
  103. "id": "byName",
  104. "options": "http-demo"
  105. },
  106. "properties": [
  107. {
  108. "id": "color",
  109. "value": {
  110. "fixedColor": "red",
  111. "mode": "fixed"
  112. }
  113. }
  114. ]
  115. },
  116. {
  117. "matcher": {
  118. "id": "byName",
  119. "options": "scaledObject"
  120. },
  121. "properties": [
  122. {
  123. "id": "color",
  124. "value": {
  125. "fixedColor": "red",
  126. "mode": "fixed"
  127. }
  128. }
  129. ]
  130. },
  131. {
  132. "matcher": {
  133. "id": "byName",
  134. "options": "keda-system/keda-operator-metrics-apiserver"
  135. },
  136. "properties": [
  137. {
  138. "id": "color",
  139. "value": {
  140. "fixedColor": "red",
  141. "mode": "fixed"
  142. }
  143. }
  144. ]
  145. }
  146. ]
  147. },
  148. "gridPos": {
  149. "h": 9,
  150. "w": 8,
  151. "x": 0,
  152. "y": 1
  153. },
  154. "id": 4,
  155. "options": {
  156. "legend": {
  157. "calcs": [],
  158. "displayMode": "list",
  159. "placement": "bottom",
  160. "showLegend": true
  161. },
  162. "tooltip": {
  163. "mode": "single",
  164. "sort": "none"
  165. }
  166. },
  167. "targets": [
  168. {
  169. "datasource": {
  170. "type": "prometheus",
  171. "uid": "${datasource}"
  172. },
  173. "editorMode": "code",
  174. "expr": "sum by(job) (rate(keda_scaler_errors_total{}[5m]))",
  175. "legendFormat": "{{ job }}",
  176. "range": true,
  177. "refId": "A"
  178. }
  179. ],
  180. "title": "Scaler Total Errors",
  181. "type": "timeseries"
  182. },
  183. {
  184. "datasource": {
  185. "type": "prometheus",
  186. "uid": "${datasource}"
  187. },
  188. "description": "The number of errors that have occurred for each scaler.",
  189. "fieldConfig": {
  190. "defaults": {
  191. "color": {
  192. "mode": "palette-classic"
  193. },
  194. "custom": {
  195. "axisLabel": "",
  196. "axisPlacement": "auto",
  197. "barAlignment": 0,
  198. "drawStyle": "line",
  199. "fillOpacity": 25,
  200. "gradientMode": "opacity",
  201. "hideFrom": {
  202. "legend": false,
  203. "tooltip": false,
  204. "viz": false
  205. },
  206. "lineInterpolation": "linear",
  207. "lineWidth": 2,
  208. "pointSize": 5,
  209. "scaleDistribution": {
  210. "type": "linear"
  211. },
  212. "showPoints": "never",
  213. "spanNulls": true,
  214. "stacking": {
  215. "group": "A",
  216. "mode": "none"
  217. },
  218. "thresholdsStyle": {
  219. "mode": "off"
  220. }
  221. },
  222. "mappings": [],
  223. "thresholds": {
  224. "mode": "absolute",
  225. "steps": [
  226. {
  227. "color": "green",
  228. "value": null
  229. },
  230. {
  231. "color": "red",
  232. "value": 80
  233. }
  234. ]
  235. },
  236. "unit": "Errors/sec"
  237. },
  238. "overrides": [
  239. {
  240. "matcher": {
  241. "id": "byName",
  242. "options": "http-demo"
  243. },
  244. "properties": [
  245. {
  246. "id": "color",
  247. "value": {
  248. "fixedColor": "red",
  249. "mode": "fixed"
  250. }
  251. }
  252. ]
  253. },
  254. {
  255. "matcher": {
  256. "id": "byName",
  257. "options": "scaler"
  258. },
  259. "properties": [
  260. {
  261. "id": "color",
  262. "value": {
  263. "fixedColor": "red",
  264. "mode": "fixed"
  265. }
  266. }
  267. ]
  268. },
  269. {
  270. "matcher": {
  271. "id": "byName",
  272. "options": "prometheusScaler"
  273. },
  274. "properties": [
  275. {
  276. "id": "color",
  277. "value": {
  278. "fixedColor": "red",
  279. "mode": "fixed"
  280. }
  281. }
  282. ]
  283. }
  284. ]
  285. },
  286. "gridPos": {
  287. "h": 9,
  288. "w": 8,
  289. "x": 8,
  290. "y": 1
  291. },
  292. "id": 3,
  293. "options": {
  294. "legend": {
  295. "calcs": [],
  296. "displayMode": "list",
  297. "placement": "bottom",
  298. "showLegend": true
  299. },
  300. "tooltip": {
  301. "mode": "single",
  302. "sort": "none"
  303. }
  304. },
  305. "targets": [
  306. {
  307. "datasource": {
  308. "type": "prometheus",
  309. "uid": "${datasource}"
  310. },
  311. "editorMode": "code",
  312. "expr": "sum by(scaler) (rate(keda_scaler_errors{namespace=~\"$namespace\", scaledObject=~\"$scaledObject\", scaler=~\"$scaler\"}[5m]))",
  313. "legendFormat": "{{ scaler }}",
  314. "range": true,
  315. "refId": "A"
  316. }
  317. ],
  318. "title": "Scaler Errors",
  319. "type": "timeseries"
  320. },
  321. {
  322. "datasource": {
  323. "type": "prometheus",
  324. "uid": "${datasource}"
  325. },
  326. "description": "The number of errors that have occurred for each scaled object.",
  327. "fieldConfig": {
  328. "defaults": {
  329. "color": {
  330. "mode": "palette-classic"
  331. },
  332. "custom": {
  333. "axisLabel": "",
  334. "axisPlacement": "auto",
  335. "barAlignment": 0,
  336. "drawStyle": "line",
  337. "fillOpacity": 25,
  338. "gradientMode": "opacity",
  339. "hideFrom": {
  340. "legend": false,
  341. "tooltip": false,
  342. "viz": false
  343. },
  344. "lineInterpolation": "linear",
  345. "lineWidth": 2,
  346. "pointSize": 5,
  347. "scaleDistribution": {
  348. "type": "linear"
  349. },
  350. "showPoints": "never",
  351. "spanNulls": true,
  352. "stacking": {
  353. "group": "A",
  354. "mode": "none"
  355. },
  356. "thresholdsStyle": {
  357. "mode": "off"
  358. }
  359. },
  360. "mappings": [],
  361. "thresholds": {
  362. "mode": "absolute",
  363. "steps": [
  364. {
  365. "color": "green",
  366. "value": null
  367. },
  368. {
  369. "color": "red",
  370. "value": 80
  371. }
  372. ]
  373. },
  374. "unit": "Errors/sec"
  375. },
  376. "overrides": [
  377. {
  378. "matcher": {
  379. "id": "byName",
  380. "options": "http-demo"
  381. },
  382. "properties": [
  383. {
  384. "id": "color",
  385. "value": {
  386. "fixedColor": "red",
  387. "mode": "fixed"
  388. }
  389. }
  390. ]
  391. }
  392. ]
  393. },
  394. "gridPos": {
  395. "h": 9,
  396. "w": 8,
  397. "x": 16,
  398. "y": 1
  399. },
  400. "id": 2,
  401. "options": {
  402. "legend": {
  403. "calcs": [],
  404. "displayMode": "list",
  405. "placement": "bottom",
  406. "showLegend": true
  407. },
  408. "tooltip": {
  409. "mode": "single",
  410. "sort": "none"
  411. }
  412. },
  413. "targets": [
  414. {
  415. "datasource": {
  416. "type": "prometheus",
  417. "uid": "${datasource}"
  418. },
  419. "editorMode": "code",
  420. "expr": "sum by(scaledObject) (rate(keda_scaled_object_errors{namespace=~\"$namespace\", scaledObject=~\"$scaledObject\"}[5m]))",
  421. "legendFormat": "{{ scaledObject }}",
  422. "range": true,
  423. "refId": "A"
  424. }
  425. ],
  426. "title": "Scaled Object Errors",
  427. "type": "timeseries"
  428. },
  429. {
  430. "datasource": {
  431. "type": "prometheus",
  432. "uid": "${datasource}"
  433. },
  434. "description": "The current value for each scaler’s metric that would be used by the HPA in computing the target average.",
  435. "fieldConfig": {
  436. "defaults": {
  437. "color": {
  438. "mode": "palette-classic"
  439. },
  440. "custom": {
  441. "axisLabel": "",
  442. "axisPlacement": "auto",
  443. "barAlignment": 0,
  444. "drawStyle": "line",
  445. "fillOpacity": 25,
  446. "gradientMode": "opacity",
  447. "hideFrom": {
  448. "legend": false,
  449. "tooltip": false,
  450. "viz": false
  451. },
  452. "lineInterpolation": "linear",
  453. "lineWidth": 2,
  454. "pointSize": 5,
  455. "scaleDistribution": {
  456. "type": "linear"
  457. },
  458. "showPoints": "never",
  459. "spanNulls": true,
  460. "stacking": {
  461. "group": "A",
  462. "mode": "none"
  463. },
  464. "thresholdsStyle": {
  465. "mode": "off"
  466. }
  467. },
  468. "mappings": [],
  469. "thresholds": {
  470. "mode": "absolute",
  471. "steps": [
  472. {
  473. "color": "green",
  474. "value": null
  475. },
  476. {
  477. "color": "red",
  478. "value": 80
  479. }
  480. ]
  481. },
  482. "unit": "none"
  483. },
  484. "overrides": [
  485. {
  486. "matcher": {
  487. "id": "byName",
  488. "options": "http-demo"
  489. },
  490. "properties": [
  491. {
  492. "id": "color",
  493. "value": {
  494. "fixedColor": "blue",
  495. "mode": "fixed"
  496. }
  497. }
  498. ]
  499. }
  500. ]
  501. },
  502. "gridPos": {
  503. "h": 9,
  504. "w": 24,
  505. "x": 0,
  506. "y": 10
  507. },
  508. "id": 5,
  509. "options": {
  510. "legend": {
  511. "calcs": [],
  512. "displayMode": "list",
  513. "placement": "bottom",
  514. "showLegend": true
  515. },
  516. "tooltip": {
  517. "mode": "single",
  518. "sort": "none"
  519. }
  520. },
  521. "targets": [
  522. {
  523. "datasource": {
  524. "type": "prometheus",
  525. "uid": "${datasource}"
  526. },
  527. "editorMode": "code",
  528. "expr": "sum by(metric) (rate(keda_scaler_metrics_value{namespace=~\"$namespace\", metric=~\"$metric\"}[5m]))",
  529. "legendFormat": "{{ metric }}",
  530. "range": true,
  531. "refId": "A"
  532. }
  533. ],
  534. "title": "Scaler Metric Value",
  535. "type": "timeseries"
  536. },
  537. {
  538. "collapsed": false,
  539. "gridPos": {
  540. "h": 1,
  541. "w": 24,
  542. "x": 0,
  543. "y": 19
  544. },
  545. "id": 10,
  546. "panels": [],
  547. "title": "Scale Target",
  548. "type": "row"
  549. },
  550. {
  551. "datasource": {
  552. "type": "prometheus",
  553. "uid": "${datasource}"
  554. },
  555. "description": "Visualizes changes in replicasets of deployments and statefulsets over time.",
  556. "fieldConfig": {
  557. "defaults": {
  558. "color": {
  559. "mode": "continuous-GrYlRd"
  560. },
  561. "custom": {
  562. "fillOpacity": 70,
  563. "lineWidth": 5,
  564. "spanNulls": true
  565. },
  566. "mappings": [
  567. {
  568. "options": {
  569. "0": {
  570. "index": 0,
  571. "text": "No Scaling"
  572. },
  573. "1": {
  574. "index": 1,
  575. "text": "Scaling"
  576. }
  577. },
  578. "type": "value"
  579. }
  580. ],
  581. "thresholds": {
  582. "mode": "absolute",
  583. "steps": [
  584. {
  585. "color": "yellow",
  586. "value": null
  587. }
  588. ]
  589. },
  590. "unit": "none"
  591. },
  592. "overrides": []
  593. },
  594. "gridPos": {
  595. "h": 10,
  596. "w": 23,
  597. "x": 0,
  598. "y": 20
  599. },
  600. "id": 11,
  601. "options": {
  602. "alignValue": "left",
  603. "legend": {
  604. "displayMode": "list",
  605. "placement": "bottom",
  606. "showLegend": false
  607. },
  608. "mergeValues": true,
  609. "rowHeight": 1,
  610. "showValue": "never",
  611. "tooltip": {
  612. "mode": "single",
  613. "sort": "none"
  614. }
  615. },
  616. "targets": [
  617. {
  618. "datasource": {
  619. "type": "prometheus",
  620. "uid": "${datasource}"
  621. },
  622. "editorMode": "code",
  623. "expr": "changes(kube_deployment_spec_replicas{deployment=~\"$scaledObject\"}[1m])",
  624. "legendFormat": "{{ deployment }}",
  625. "range": true,
  626. "refId": "A"
  627. },
  628. {
  629. "datasource": {
  630. "type": "prometheus",
  631. "uid": "${datasource}"
  632. },
  633. "editorMode": "code",
  634. "expr": "changes(kube_statefulset_replicas{statefulset=~\"$scaledObject\"}[1m])",
  635. "hide": false,
  636. "legendFormat": "{{ statefulset }}",
  637. "range": true,
  638. "refId": "B"
  639. }
  640. ],
  641. "title": "Changes in Replicas",
  642. "type": "state-timeline"
  643. },
  644. {
  645. "datasource": {
  646. "type": "prometheus",
  647. "uid": "${datasource}"
  648. },
  649. "description": "shows current replicas against max ones",
  650. "fieldConfig": {
  651. "defaults": {
  652. "color": {
  653. "mode": "thresholds"
  654. },
  655. "mappings": [],
  656. "min": 0,
  657. "thresholds": {
  658. "mode": "percentage",
  659. "steps": [
  660. {
  661. "color": "green",
  662. "value": null
  663. },
  664. {
  665. "color": "red",
  666. "value": 80
  667. }
  668. ]
  669. },
  670. "unit": "short"
  671. },
  672. "overrides": []
  673. },
  674. "gridPos": {
  675. "h": 8,
  676. "w": 12,
  677. "x": 0,
  678. "y": 30
  679. },
  680. "id": 15,
  681. "options": {
  682. "orientation": "auto",
  683. "reduceOptions": {
  684. "calcs": [
  685. "lastNotNull"
  686. ],
  687. "fields": "/^current_replicas$/",
  688. "values": false
  689. },
  690. "showThresholdLabels": false,
  691. "showThresholdMarkers": true
  692. },
  693. "pluginVersion": "9.0.5",
  694. "targets": [
  695. {
  696. "datasource": {
  697. "type": "prometheus",
  698. "uid": "${datasource}"
  699. },
  700. "editorMode": "code",
  701. "exemplar": false,
  702. "expr": "kube_horizontalpodautoscaler_status_current_replicas{namespace=\"$namespace\",horizontalpodautoscaler=\"keda-hpa-$scaledObject\"}",
  703. "instant": true,
  704. "legendFormat": "current_replicas",
  705. "range": false,
  706. "refId": "A"
  707. },
  708. {
  709. "datasource": {
  710. "type": "prometheus",
  711. "uid": "${datasource}"
  712. },
  713. "editorMode": "code",
  714. "exemplar": false,
  715. "expr": "kube_horizontalpodautoscaler_spec_max_replicas{namespace=\"$namespace\",horizontalpodautoscaler=\"keda-hpa-$scaledObject\"}",
  716. "hide": false,
  717. "instant": true,
  718. "legendFormat": "max_replicas",
  719. "range": false,
  720. "refId": "B"
  721. }
  722. ],
  723. "title": "HPA current/max replicas",
  724. "type": "gauge"
  725. },
  726. {
  727. "datasource": {
  728. "type": "prometheus",
  729. "uid": "${datasource}"
  730. },
  731. "description": "shows current replicas against max ones based on time difference",
  732. "fieldConfig": {
  733. "defaults": {
  734. "color": {
  735. "mode": "palette-classic"
  736. },
  737. "custom": {
  738. "axisCenteredZero": false,
  739. "axisColorMode": "text",
  740. "axisLabel": "",
  741. "axisPlacement": "auto",
  742. "barAlignment": 0,
  743. "drawStyle": "line",
  744. "fillOpacity": 100,
  745. "gradientMode": "opacity",
  746. "hideFrom": {
  747. "legend": false,
  748. "tooltip": false,
  749. "viz": false
  750. },
  751. "lineInterpolation": "linear",
  752. "lineStyle": {
  753. "fill": "solid"
  754. },
  755. "lineWidth": 1,
  756. "pointSize": 5,
  757. "scaleDistribution": {
  758. "type": "linear"
  759. },
  760. "showPoints": "auto",
  761. "spanNulls": false,
  762. "stacking": {
  763. "group": "A",
  764. "mode": "none"
  765. },
  766. "thresholdsStyle": {
  767. "mode": "off"
  768. }
  769. },
  770. "mappings": [],
  771. "thresholds": {
  772. "mode": "absolute",
  773. "steps": [
  774. {
  775. "color": "green",
  776. "value": null
  777. }
  778. ]
  779. },
  780. "unit": "short"
  781. },
  782. "overrides": []
  783. },
  784. "gridPos": {
  785. "h": 8,
  786. "w": 11,
  787. "x": 12,
  788. "y": 30
  789. },
  790. "id": 13,
  791. "options": {
  792. "legend": {
  793. "calcs": [],
  794. "displayMode": "list",
  795. "placement": "bottom",
  796. "showLegend": true
  797. },
  798. "tooltip": {
  799. "mode": "single",
  800. "sort": "none"
  801. }
  802. },
  803. "targets": [
  804. {
  805. "datasource": {
  806. "type": "prometheus",
  807. "uid": "${datasource}"
  808. },
  809. "editorMode": "code",
  810. "exemplar": false,
  811. "expr": "kube_horizontalpodautoscaler_status_current_replicas{namespace=\"$namespace\",horizontalpodautoscaler=\"keda-hpa-$scaledObject\"}",
  812. "format": "time_series",
  813. "instant": false,
  814. "interval": "",
  815. "legendFormat": "current_replicas",
  816. "range": true,
  817. "refId": "A"
  818. },
  819. {
  820. "datasource": {
  821. "type": "prometheus",
  822. "uid": "${datasource}"
  823. },
  824. "editorMode": "code",
  825. "exemplar": false,
  826. "expr": "kube_horizontalpodautoscaler_spec_max_replicas{namespace=\"$namespace\",horizontalpodautoscaler=\"keda-hpa-$scaledObject\"}",
  827. "format": "time_series",
  828. "hide": false,
  829. "instant": false,
  830. "legendFormat": "max_replicas",
  831. "range": true,
  832. "refId": "B"
  833. }
  834. ],
  835. "title": "HPA current/max replicas (time based)",
  836. "type": "timeseries"
  837. }
  838. ],
  839. "refresh": "1m",
  840. "schemaVersion": 36,
  841. "style": "dark",
  842. "tags": [
  843. "keda"
  844. ],
  845. "templating": {
  846. "list": [
  847. {
  848. "current": {
  849. "selected": false,
  850. "text": "ecp-stage-system",
  851. "value": "ecp-stage-system"
  852. },
  853. "hide": 0,
  854. "includeAll": false,
  855. "multi": false,
  856. "name": "datasource",
  857. "options": [],
  858. "query": "prometheus",
  859. "queryValue": "",
  860. "refresh": 1,
  861. "regex": "",
  862. "skipUrlSync": false,
  863. "type": "datasource"
  864. },
  865. {
  866. "current": {
  867. "selected": false,
  868. "text": "keda",
  869. "value": "keda"
  870. },
  871. "datasource": {
  872. "type": "prometheus",
  873. "uid": "${datasource}"
  874. },
  875. "definition": "label_values(keda_scaled_object_errors, namespace)",
  876. "hide": 0,
  877. "includeAll": false,
  878. "multi": false,
  879. "name": "namespace",
  880. "options": [],
  881. "query": {
  882. "query": "label_values(keda_scaled_object_errors, namespace)",
  883. "refId": "StandardVariableQuery"
  884. },
  885. "refresh": 1,
  886. "regex": "",
  887. "skipUrlSync": false,
  888. "sort": 1,
  889. "type": "query"
  890. },
  891. {
  892. "current": {
  893. "selected": true,
  894. "text": [
  895. "keda-demo"
  896. ],
  897. "value": [
  898. "keda-demo"
  899. ]
  900. },
  901. "datasource": {
  902. "type": "prometheus",
  903. "uid": "${datasource}"
  904. },
  905. "definition": "label_values(keda_scaled_object_errors{namespace=\"$namespace\"}, scaledObject)",
  906. "hide": 0,
  907. "includeAll": true,
  908. "multi": true,
  909. "name": "scaledObject",
  910. "options": [],
  911. "query": {
  912. "query": "label_values(keda_scaled_object_errors{namespace=\"$namespace\"}, scaledObject)",
  913. "refId": "StandardVariableQuery"
  914. },
  915. "refresh": 2,
  916. "regex": "",
  917. "skipUrlSync": false,
  918. "sort": 0,
  919. "type": "query"
  920. },
  921. {
  922. "current": {
  923. "selected": false,
  924. "text": "prometheusScaler",
  925. "value": "prometheusScaler"
  926. },
  927. "datasource": {
  928. "type": "prometheus",
  929. "uid": "${datasource}"
  930. },
  931. "definition": "label_values(keda_scaler_errors{namespace=\"$namespace\"}, scaler)",
  932. "hide": 0,
  933. "includeAll": false,
  934. "multi": false,
  935. "name": "scaler",
  936. "options": [],
  937. "query": {
  938. "query": "label_values(keda_scaler_errors{namespace=\"$namespace\"}, scaler)",
  939. "refId": "StandardVariableQuery"
  940. },
  941. "refresh": 2,
  942. "regex": "",
  943. "skipUrlSync": false,
  944. "sort": 0,
  945. "type": "query"
  946. },
  947. {
  948. "current": {
  949. "selected": false,
  950. "text": "s0-prometheus-container_cpu_usage_seconds_total",
  951. "value": "s0-prometheus-container_cpu_usage_seconds_total"
  952. },
  953. "datasource": {
  954. "type": "prometheus",
  955. "uid": "${datasource}"
  956. },
  957. "definition": "label_values(keda_scaler_errors{namespace=\"$namespace\"}, metric)",
  958. "hide": 0,
  959. "includeAll": false,
  960. "multi": false,
  961. "name": "metric",
  962. "options": [],
  963. "query": {
  964. "query": "label_values(keda_scaler_errors{namespace=\"$namespace\"}, metric)",
  965. "refId": "StandardVariableQuery"
  966. },
  967. "refresh": 2,
  968. "regex": "",
  969. "skipUrlSync": false,
  970. "sort": 0,
  971. "type": "query"
  972. }
  973. ]
  974. },
  975. "time": {
  976. "from": "now-24h",
  977. "to": "now"
  978. },
  979. "timepicker": {},
  980. "timezone": "",
  981. "title": "Keda",
  982. "uid": "asdasd8rvmMxdVk",
  983. "version": 4,
  984. "weekStart": ""
  985. }