Guest User

Untitled

a guest
Nov 24th, 2017
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 25.18 KB | None | 0 0
  1. {
  2. "__inputs": [
  3. {
  4. "name": "DS_PROMETHEUS",
  5. "label": "prometheus",
  6. "description": "",
  7. "type": "datasource",
  8. "pluginId": "prometheus",
  9. "pluginName": "Prometheus"
  10. }
  11. ],
  12. "__requires": [
  13. {
  14. "type": "grafana",
  15. "id": "grafana",
  16. "name": "Grafana",
  17. "version": "4.4.1"
  18. },
  19. {
  20. "type": "panel",
  21. "id": "graph",
  22. "name": "Graph",
  23. "version": ""
  24. },
  25. {
  26. "type": "datasource",
  27. "id": "prometheus",
  28. "name": "Prometheus",
  29. "version": "1.0.0"
  30. },
  31. {
  32. "type": "panel",
  33. "id": "singlestat",
  34. "name": "Singlestat",
  35. "version": ""
  36. }
  37. ],
  38. "annotations": {
  39. "list": []
  40. },
  41. "description": "Dashboard to get an overview of one server",
  42. "editable": true,
  43. "gnetId": 22,
  44. "graphTooltip": 0,
  45. "hideControls": false,
  46. "id": null,
  47. "links": [],
  48. "refresh": false,
  49. "rows": [
  50. {
  51. "collapse": false,
  52. "height": "150",
  53. "panels": [
  54. {
  55. "cacheTimeout": null,
  56. "colorBackground": false,
  57. "colorValue": false,
  58. "colors": [
  59. "rgba(245, 54, 54, 0.9)",
  60. "rgba(237, 129, 40, 0.89)",
  61. "rgba(50, 172, 45, 0.97)"
  62. ],
  63. "datasource": "${DS_PROMETHEUS}",
  64. "format": "none",
  65. "gauge": {
  66. "maxValue": 100,
  67. "minValue": 0,
  68. "show": false,
  69. "thresholdLabels": false,
  70. "thresholdMarkers": true
  71. },
  72. "height": "150",
  73. "id": 4,
  74. "interval": null,
  75. "links": [],
  76. "mappingType": 1,
  77. "mappingTypes": [
  78. {
  79. "name": "value to text",
  80. "value": 1
  81. },
  82. {
  83. "name": "range to text",
  84. "value": 2
  85. }
  86. ],
  87. "maxDataPoints": 100,
  88. "nullPointMode": "connected",
  89. "nullText": null,
  90. "postfix": "",
  91. "postfixFontSize": "50%",
  92. "prefix": "",
  93. "prefixFontSize": "50%",
  94. "rangeMaps": [
  95. {
  96. "from": "null",
  97. "text": "N/A",
  98. "to": "null"
  99. }
  100. ],
  101. "span": 2,
  102. "sparkline": {
  103. "fillColor": "rgba(31, 118, 189, 0.18)",
  104. "full": false,
  105. "lineColor": "rgb(31, 120, 193)",
  106. "show": false
  107. },
  108. "tableColumn": "",
  109. "targets": [
  110. {
  111. "expr": "sum(cluster_autoscaler_nodes_count)\n",
  112. "format": "time_series",
  113. "intervalFactor": 2,
  114. "refId": "A",
  115. "step": 600
  116. }
  117. ],
  118. "thresholds": "",
  119. "title": "Total nodes",
  120. "type": "singlestat",
  121. "valueFontSize": "100%",
  122. "valueMaps": [
  123. {
  124. "op": "=",
  125. "text": "N/A",
  126. "value": "null"
  127. }
  128. ],
  129. "valueName": "current"
  130. },
  131. {
  132. "cacheTimeout": null,
  133. "colorBackground": false,
  134. "colorValue": true,
  135. "colors": [
  136. "rgba(50, 172, 45, 0.97)",
  137. "rgba(237, 129, 40, 0.89)",
  138. "rgba(245, 54, 54, 0.9)"
  139. ],
  140. "datasource": "${DS_PROMETHEUS}",
  141. "decimals": null,
  142. "description": "Shows the nodes which are ready as a percent of the total nodes",
  143. "format": "percent",
  144. "gauge": {
  145. "maxValue": 100,
  146. "minValue": 0,
  147. "show": true,
  148. "thresholdLabels": false,
  149. "thresholdMarkers": false
  150. },
  151. "height": "150",
  152. "id": 6,
  153. "interval": null,
  154. "links": [],
  155. "mappingType": 1,
  156. "mappingTypes": [
  157. {
  158. "name": "value to text",
  159. "value": 1
  160. },
  161. {
  162. "name": "range to text",
  163. "value": 2
  164. }
  165. ],
  166. "maxDataPoints": 100,
  167. "nullPointMode": "connected",
  168. "nullText": null,
  169. "postfix": "",
  170. "postfixFontSize": "50%",
  171. "prefix": "",
  172. "prefixFontSize": "50%",
  173. "rangeMaps": [
  174. {
  175. "from": "null",
  176. "text": "N/A",
  177. "to": "null"
  178. }
  179. ],
  180. "span": 2,
  181. "sparkline": {
  182. "fillColor": "rgba(31, 118, 189, 0.18)",
  183. "full": false,
  184. "lineColor": "rgb(31, 120, 193)",
  185. "show": false
  186. },
  187. "tableColumn": "",
  188. "targets": [
  189. {
  190. "expr": "sum(cluster_autoscaler_nodes_count{state=\"ready\"})/sum(cluster_autoscaler_nodes_count)*100",
  191. "format": "time_series",
  192. "intervalFactor": 2,
  193. "refId": "A",
  194. "step": 600
  195. }
  196. ],
  197. "thresholds": "100,95,80",
  198. "title": "Nodes available",
  199. "type": "singlestat",
  200. "valueFontSize": "80%",
  201. "valueMaps": [
  202. {
  203. "op": "=",
  204. "text": "N/A",
  205. "value": "null"
  206. }
  207. ],
  208. "valueName": "current"
  209. },
  210. {
  211. "cacheTimeout": null,
  212. "colorBackground": true,
  213. "colorValue": false,
  214. "colors": [
  215. "rgba(245, 54, 54, 0.9)",
  216. "rgba(237, 129, 40, 0.89)",
  217. "rgba(50, 172, 45, 0.97)"
  218. ],
  219. "datasource": "${DS_PROMETHEUS}",
  220. "format": "none",
  221. "gauge": {
  222. "maxValue": 100,
  223. "minValue": 0,
  224. "show": false,
  225. "thresholdLabels": false,
  226. "thresholdMarkers": true
  227. },
  228. "height": "150",
  229. "id": 9,
  230. "interval": null,
  231. "links": [],
  232. "mappingType": 1,
  233. "mappingTypes": [
  234. {
  235. "name": "value to text",
  236. "value": 1
  237. },
  238. {
  239. "name": "range to text",
  240. "value": 2
  241. }
  242. ],
  243. "maxDataPoints": 100,
  244. "nullPointMode": "connected",
  245. "nullText": null,
  246. "postfix": "",
  247. "postfixFontSize": "50%",
  248. "prefix": "",
  249. "prefixFontSize": "50%",
  250. "rangeMaps": [
  251. {
  252. "from": "null",
  253. "text": "N/A",
  254. "to": "null"
  255. }
  256. ],
  257. "span": 2,
  258. "sparkline": {
  259. "fillColor": "rgba(31, 118, 189, 0.18)",
  260. "full": false,
  261. "lineColor": "rgb(31, 120, 193)",
  262. "show": false
  263. },
  264. "tableColumn": "",
  265. "targets": [
  266. {
  267. "expr": "sum(cluster_autoscaler_cluster_safe_to_autoscale)",
  268. "format": "time_series",
  269. "intervalFactor": 2,
  270. "legendFormat": "",
  271. "refId": "A",
  272. "step": 600
  273. }
  274. ],
  275. "thresholds": "0,1",
  276. "title": "Is cluster safe to scale?",
  277. "type": "singlestat",
  278. "valueFontSize": "100%",
  279. "valueMaps": [
  280. {
  281. "op": "=",
  282. "text": "Yes",
  283. "value": "1"
  284. },
  285. {
  286. "op": "=",
  287. "text": "No",
  288. "value": "0"
  289. }
  290. ],
  291. "valueName": "current"
  292. },
  293. {
  294. "cacheTimeout": null,
  295. "colorBackground": true,
  296. "colorValue": false,
  297. "colors": [
  298. "rgba(50, 172, 45, 0.97)",
  299. "rgba(237, 129, 40, 0.89)",
  300. "rgba(245, 54, 54, 0.9)"
  301. ],
  302. "datasource": "${DS_PROMETHEUS}",
  303. "description": "Tells you if there are unscheduled pods",
  304. "format": "none",
  305. "gauge": {
  306. "maxValue": 100,
  307. "minValue": 0,
  308. "show": false,
  309. "thresholdLabels": false,
  310. "thresholdMarkers": true
  311. },
  312. "height": "150",
  313. "id": 12,
  314. "interval": null,
  315. "links": [],
  316. "mappingType": 1,
  317. "mappingTypes": [
  318. {
  319. "name": "value to text",
  320. "value": 1
  321. },
  322. {
  323. "name": "range to text",
  324. "value": 2
  325. }
  326. ],
  327. "maxDataPoints": 100,
  328. "nullPointMode": "connected",
  329. "nullText": null,
  330. "postfix": "",
  331. "postfixFontSize": "50%",
  332. "prefix": "",
  333. "prefixFontSize": "50%",
  334. "rangeMaps": [
  335. {
  336. "from": "1",
  337. "text": "Yes",
  338. "to": ""
  339. }
  340. ],
  341. "span": 2,
  342. "sparkline": {
  343. "fillColor": "rgba(31, 118, 189, 0.18)",
  344. "full": false,
  345. "lineColor": "rgb(31, 120, 193)",
  346. "show": false
  347. },
  348. "tableColumn": "",
  349. "targets": [
  350. {
  351. "expr": "sum(cluster_autoscaler_unschedulable_pods_count)",
  352. "format": "time_series",
  353. "intervalFactor": 1,
  354. "legendFormat": " pods",
  355. "refId": "A",
  356. "step": 300
  357. }
  358. ],
  359. "thresholds": "1",
  360. "title": "Number of unscheduled pods",
  361. "type": "singlestat",
  362. "valueFontSize": "100%",
  363. "valueMaps": [],
  364. "valueName": "current"
  365. },
  366. {
  367. "cacheTimeout": null,
  368. "colorBackground": false,
  369. "colorValue": false,
  370. "colors": [
  371. "rgba(245, 54, 54, 0.9)",
  372. "rgba(237, 129, 40, 0.89)",
  373. "rgba(50, 172, 45, 0.97)"
  374. ],
  375. "datasource": "${DS_PROMETHEUS}",
  376. "format": "s",
  377. "gauge": {
  378. "maxValue": 100,
  379. "minValue": 0,
  380. "show": false,
  381. "thresholdLabels": false,
  382. "thresholdMarkers": true
  383. },
  384. "height": "150",
  385. "id": 7,
  386. "interval": null,
  387. "links": [],
  388. "mappingType": 1,
  389. "mappingTypes": [
  390. {
  391. "name": "value to text",
  392. "value": 1
  393. },
  394. {
  395. "name": "range to text",
  396. "value": 2
  397. }
  398. ],
  399. "maxDataPoints": 100,
  400. "nullPointMode": "connected",
  401. "nullText": null,
  402. "postfix": "",
  403. "postfixFontSize": "50%",
  404. "prefix": "",
  405. "prefixFontSize": "50%",
  406. "rangeMaps": [
  407. {
  408. "from": "null",
  409. "text": "N/A",
  410. "to": "null"
  411. }
  412. ],
  413. "span": 2,
  414. "sparkline": {
  415. "fillColor": "rgba(31, 118, 189, 0.18)",
  416. "full": false,
  417. "lineColor": "rgb(31, 120, 193)",
  418. "show": false
  419. },
  420. "tableColumn": "",
  421. "targets": [
  422. {
  423. "expr": "sum(time()-cluster_autoscaler_last_activity{activity=\"scaleDown\"})",
  424. "format": "time_series",
  425. "intervalFactor": 2,
  426. "legendFormat": "",
  427. "refId": "A",
  428. "step": 600
  429. }
  430. ],
  431. "thresholds": "",
  432. "title": "Last scaleDown activity",
  433. "type": "singlestat",
  434. "valueFontSize": "100%",
  435. "valueMaps": [
  436. {
  437. "op": "=",
  438. "text": "N/A",
  439. "value": "null"
  440. }
  441. ],
  442. "valueName": "current"
  443. },
  444. {
  445. "cacheTimeout": null,
  446. "colorBackground": false,
  447. "colorValue": false,
  448. "colors": [
  449. "rgba(245, 54, 54, 0.9)",
  450. "rgba(237, 129, 40, 0.89)",
  451. "rgba(50, 172, 45, 0.97)"
  452. ],
  453. "datasource": "${DS_PROMETHEUS}",
  454. "format": "s",
  455. "gauge": {
  456. "maxValue": 100,
  457. "minValue": 0,
  458. "show": false,
  459. "thresholdLabels": false,
  460. "thresholdMarkers": true
  461. },
  462. "height": "150",
  463. "id": 8,
  464. "interval": null,
  465. "links": [],
  466. "mappingType": 1,
  467. "mappingTypes": [
  468. {
  469. "name": "value to text",
  470. "value": 1
  471. },
  472. {
  473. "name": "range to text",
  474. "value": 2
  475. }
  476. ],
  477. "maxDataPoints": 100,
  478. "nullPointMode": "connected",
  479. "nullText": null,
  480. "postfix": "",
  481. "postfixFontSize": "50%",
  482. "prefix": "",
  483. "prefixFontSize": "50%",
  484. "rangeMaps": [
  485. {
  486. "from": "null",
  487. "text": "N/A",
  488. "to": "null"
  489. }
  490. ],
  491. "span": 2,
  492. "sparkline": {
  493. "fillColor": "rgba(31, 118, 189, 0.18)",
  494. "full": false,
  495. "lineColor": "rgb(31, 120, 193)",
  496. "show": false
  497. },
  498. "tableColumn": "",
  499. "targets": [
  500. {
  501. "expr": "sum(time()-cluster_autoscaler_last_activity{activity=\"autoscaling\"})",
  502. "format": "time_series",
  503. "intervalFactor": 2,
  504. "legendFormat": "",
  505. "refId": "A",
  506. "step": 600
  507. }
  508. ],
  509. "thresholds": "",
  510. "title": "Last autoscale activity",
  511. "type": "singlestat",
  512. "valueFontSize": "100%",
  513. "valueMaps": [
  514. {
  515. "op": "=",
  516. "text": "N/A",
  517. "value": "null"
  518. }
  519. ],
  520. "valueName": "current"
  521. }
  522. ],
  523. "repeat": null,
  524. "repeatIteration": null,
  525. "repeatRowId": null,
  526. "showTitle": false,
  527. "title": "Info",
  528. "titleSize": "h6"
  529. },
  530. {
  531. "collapse": false,
  532. "height": "250px",
  533. "panels": [
  534. {
  535. "alerting": {},
  536. "aliasColors": {},
  537. "bars": false,
  538. "dashLength": 10,
  539. "dashes": false,
  540. "datasource": "${DS_PROMETHEUS}",
  541. "description": "Shows the evicted and unscheduled pods",
  542. "editable": true,
  543. "error": false,
  544. "fill": 1,
  545. "grid": {},
  546. "height": "250px",
  547. "id": 11,
  548. "legend": {
  549. "avg": false,
  550. "current": false,
  551. "max": false,
  552. "min": false,
  553. "show": true,
  554. "total": false,
  555. "values": false
  556. },
  557. "lines": true,
  558. "linewidth": 2,
  559. "links": [],
  560. "nullPointMode": "null as zero",
  561. "percentage": false,
  562. "pointradius": 5,
  563. "points": false,
  564. "renderer": "flot",
  565. "seriesOverrides": [],
  566. "spaceLength": 10,
  567. "span": 6,
  568. "stack": false,
  569. "steppedLine": false,
  570. "targets": [
  571. {
  572. "expr": "sum(cluster_autoscaler_evicted_pods_total)",
  573. "format": "time_series",
  574. "hide": false,
  575. "intervalFactor": 10,
  576. "legendFormat": "evicted pods",
  577. "metric": "",
  578. "refId": "A",
  579. "step": 300
  580. },
  581. {
  582. "expr": "sum(cluster_autoscaler_unschedulable_pods_count)",
  583. "format": "time_series",
  584. "intervalFactor": 2,
  585. "legendFormat": "unscheduled pods",
  586. "refId": "B",
  587. "step": 60
  588. }
  589. ],
  590. "thresholds": [],
  591. "timeFrom": null,
  592. "timeShift": null,
  593. "title": "Pod activity",
  594. "tooltip": {
  595. "msResolution": false,
  596. "shared": true,
  597. "sort": 0,
  598. "value_type": "cumulative"
  599. },
  600. "type": "graph",
  601. "xaxis": {
  602. "buckets": null,
  603. "mode": "time",
  604. "name": null,
  605. "show": true,
  606. "values": []
  607. },
  608. "yaxes": [
  609. {
  610. "format": "none",
  611. "label": "Num Nodes",
  612. "logBase": 1,
  613. "max": null,
  614. "min": 0,
  615. "show": true
  616. },
  617. {
  618. "format": "short",
  619. "label": null,
  620. "logBase": 1,
  621. "max": null,
  622. "min": null,
  623. "show": true
  624. }
  625. ]
  626. },
  627. {
  628. "alerting": {},
  629. "aliasColors": {},
  630. "bars": false,
  631. "dashLength": 10,
  632. "dashes": false,
  633. "datasource": "${DS_PROMETHEUS}",
  634. "description": "Shows the state of the nodes as scaling happens",
  635. "editable": true,
  636. "error": false,
  637. "fill": 1,
  638. "grid": {},
  639. "height": "250px",
  640. "id": 10,
  641. "legend": {
  642. "avg": false,
  643. "current": false,
  644. "max": false,
  645. "min": false,
  646. "show": true,
  647. "total": false,
  648. "values": false
  649. },
  650. "lines": true,
  651. "linewidth": 2,
  652. "links": [],
  653. "nullPointMode": "null as zero",
  654. "percentage": false,
  655. "pointradius": 5,
  656. "points": false,
  657. "renderer": "flot",
  658. "seriesOverrides": [],
  659. "spaceLength": 10,
  660. "span": 6,
  661. "stack": false,
  662. "steppedLine": false,
  663. "targets": [
  664. {
  665. "expr": "sum(cluster_autoscaler_nodes_count{state=\"ready\"})",
  666. "format": "time_series",
  667. "hide": false,
  668. "intervalFactor": 10,
  669. "legendFormat": "ready",
  670. "metric": "",
  671. "refId": "A",
  672. "step": 300
  673. },
  674. {
  675. "expr": "sum(cluster_autoscaler_nodes_count{state=\"unready\"})",
  676. "format": "time_series",
  677. "intervalFactor": 2,
  678. "legendFormat": "unready",
  679. "refId": "B",
  680. "step": 60
  681. },
  682. {
  683. "expr": "sum(cluster_autoscaler_nodes_count{state=\"notStarted\"})\n",
  684. "format": "time_series",
  685. "intervalFactor": 2,
  686. "legendFormat": "not started",
  687. "refId": "C",
  688. "step": 60
  689. }
  690. ],
  691. "thresholds": [],
  692. "timeFrom": null,
  693. "timeShift": null,
  694. "title": "Node activity",
  695. "tooltip": {
  696. "msResolution": false,
  697. "shared": true,
  698. "sort": 0,
  699. "value_type": "cumulative"
  700. },
  701. "type": "graph",
  702. "xaxis": {
  703. "buckets": null,
  704. "mode": "time",
  705. "name": null,
  706. "show": true,
  707. "values": []
  708. },
  709. "yaxes": [
  710. {
  711. "format": "none",
  712. "label": "Num Nodes",
  713. "logBase": 1,
  714. "max": null,
  715. "min": 0,
  716. "show": true
  717. },
  718. {
  719. "format": "short",
  720. "label": null,
  721. "logBase": 1,
  722. "max": null,
  723. "min": null,
  724. "show": true
  725. }
  726. ]
  727. }
  728. ],
  729. "repeat": null,
  730. "repeatIteration": null,
  731. "repeatRowId": null,
  732. "showTitle": false,
  733. "title": "Activity",
  734. "titleSize": "h6"
  735. },
  736. {
  737. "collapse": false,
  738. "height": "250px",
  739. "panels": [
  740. {
  741. "alerting": {},
  742. "aliasColors": {},
  743. "bars": false,
  744. "dashLength": 10,
  745. "dashes": false,
  746. "datasource": "${DS_PROMETHEUS}",
  747. "editable": true,
  748. "error": false,
  749. "fill": 1,
  750. "grid": {},
  751. "height": "250px",
  752. "id": 3,
  753. "legend": {
  754. "avg": false,
  755. "current": false,
  756. "max": false,
  757. "min": false,
  758. "show": true,
  759. "total": false,
  760. "values": false
  761. },
  762. "lines": true,
  763. "linewidth": 2,
  764. "links": [],
  765. "nullPointMode": "connected",
  766. "percentage": false,
  767. "pointradius": 5,
  768. "points": false,
  769. "renderer": "flot",
  770. "seriesOverrides": [],
  771. "spaceLength": 10,
  772. "span": 8,
  773. "stack": false,
  774. "steppedLine": false,
  775. "targets": [
  776. {
  777. "expr": "sum(cluster_autoscaler_scaled_up_nodes_total)",
  778. "format": "time_series",
  779. "hide": false,
  780. "intervalFactor": 10,
  781. "legendFormat": "scaled up total",
  782. "metric": "",
  783. "refId": "A",
  784. "step": 200
  785. },
  786. {
  787. "expr": "sum(cluster_autoscaler_unneeded_nodes_count)",
  788. "format": "time_series",
  789. "intervalFactor": 2,
  790. "legendFormat": "unneeded nodes",
  791. "refId": "B",
  792. "step": 40
  793. },
  794. {
  795. "expr": "sum(cluster_autoscaler_nodes_count)\n",
  796. "format": "time_series",
  797. "intervalFactor": 2,
  798. "legendFormat": "total nodes",
  799. "refId": "C",
  800. "step": 40
  801. }
  802. ],
  803. "thresholds": [],
  804. "timeFrom": null,
  805. "timeShift": null,
  806. "title": "Autoscaling activity",
  807. "tooltip": {
  808. "msResolution": false,
  809. "shared": true,
  810. "sort": 0,
  811. "value_type": "cumulative"
  812. },
  813. "type": "graph",
  814. "xaxis": {
  815. "buckets": null,
  816. "mode": "time",
  817. "name": null,
  818. "show": true,
  819. "values": []
  820. },
  821. "yaxes": [
  822. {
  823. "format": "none",
  824. "label": "Num nodes",
  825. "logBase": 1,
  826. "max": null,
  827. "min": 0,
  828. "show": true
  829. },
  830. {
  831. "format": "short",
  832. "label": null,
  833. "logBase": 1,
  834. "max": null,
  835. "min": null,
  836. "show": true
  837. }
  838. ]
  839. },
  840. {
  841. "cacheTimeout": null,
  842. "colorBackground": false,
  843. "colorValue": false,
  844. "colors": [
  845. "rgba(245, 54, 54, 0.9)",
  846. "rgba(237, 129, 40, 0.89)",
  847. "rgba(50, 172, 45, 0.97)"
  848. ],
  849. "datasource": "${DS_PROMETHEUS}",
  850. "description": "Is the cluster scaling up, down or ticking along okay?",
  851. "format": "none",
  852. "gauge": {
  853. "maxValue": 100,
  854. "minValue": 0,
  855. "show": false,
  856. "thresholdLabels": false,
  857. "thresholdMarkers": true
  858. },
  859. "height": "150",
  860. "id": 13,
  861. "interval": null,
  862. "links": [],
  863. "mappingType": 2,
  864. "mappingTypes": [
  865. {
  866. "name": "value to text",
  867. "value": 1
  868. },
  869. {
  870. "name": "range to text",
  871. "value": 2
  872. }
  873. ],
  874. "maxDataPoints": 100,
  875. "nullPointMode": "connected",
  876. "nullText": null,
  877. "postfix": "",
  878. "postfixFontSize": "50%",
  879. "prefix": "",
  880. "prefixFontSize": "50%",
  881. "rangeMaps": [
  882. {
  883. "from": "-1000",
  884. "text": "Down",
  885. "to": "-1"
  886. },
  887. {
  888. "from": "1",
  889. "text": "Up",
  890. "to": "1000"
  891. },
  892. {
  893. "from": "0",
  894. "text": "Nowhere",
  895. "to": "0"
  896. }
  897. ],
  898. "span": 4,
  899. "sparkline": {
  900. "fillColor": "rgba(31, 118, 189, 0.18)",
  901. "full": false,
  902. "lineColor": "rgb(31, 120, 193)",
  903. "show": false
  904. },
  905. "tableColumn": "",
  906. "targets": [
  907. {
  908. "expr": "sum(cluster_autoscaler_scaled_up_nodes_total)-sum(cluster_autoscaler_scaled_down_nodes_total)",
  909. "format": "time_series",
  910. "intervalFactor": 2,
  911. "legendFormat": "",
  912. "refId": "A",
  913. "step": 600
  914. }
  915. ],
  916. "thresholds": "",
  917. "title": "Cluster direction?",
  918. "type": "singlestat",
  919. "valueFontSize": "100%",
  920. "valueMaps": [
  921. {
  922. "op": "=",
  923. "text": "N/A",
  924. "value": "null"
  925. }
  926. ],
  927. "valueName": "current"
  928. }
  929. ],
  930. "repeat": null,
  931. "repeatIteration": null,
  932. "repeatRowId": null,
  933. "showTitle": false,
  934. "title": "New row",
  935. "titleSize": "h6"
  936. }
  937. ],
  938. "schemaVersion": 14,
  939. "style": "dark",
  940. "tags": [
  941. "prometheus"
  942. ],
  943. "templating": {
  944. "list": []
  945. },
  946. "time": {
  947. "from": "now-6h",
  948. "to": "now"
  949. },
  950. "timepicker": {
  951. "refresh_intervals": [
  952. "5s",
  953. "10s",
  954. "30s",
  955. "1m",
  956. "5m",
  957. "15m",
  958. "30m",
  959. "1h",
  960. "2h",
  961. "1d"
  962. ],
  963. "time_options": [
  964. "5m",
  965. "15m",
  966. "1h",
  967. "6h",
  968. "12h",
  969. "24h",
  970. "2d",
  971. "7d",
  972. "30d"
  973. ]
  974. },
  975. "timezone": "browser",
  976. "title": "Autoscaler",
  977. "version": 12
  978. }
Add Comment
Please, Sign In to add comment