Guillaume Thouvenin | 18fe0c0 | 2016-11-17 14:20:02 +0100 | [diff] [blame] | 1 | applications: |
Simon Pasquier | a4eef55 | 2017-03-21 14:27:31 +0100 | [diff] [blame] | 2 | - grafana |
Guillaume Thouvenin | 18fe0c0 | 2016-11-17 14:20:02 +0100 | [diff] [blame] | 3 | parameters: |
| 4 | grafana: |
| 5 | client: |
| 6 | enabled: true |
Guillaume Thouvenin | 885c5fc | 2017-01-10 17:08:26 +0100 | [diff] [blame] | 7 | base_templates: |
| 8 | main_dashboard: |
| 9 | title: 'Main' |
| 10 | editable: true |
| 11 | hideControls: false |
| 12 | templating: |
| 13 | enable: true |
| 14 | list: |
| 15 | - allFormat: regex values |
| 16 | hide: 0 |
| 17 | includeAll: false |
| 18 | name: environment |
| 19 | options: [] |
| 20 | query: show tag values from cpu_idle with key = environment_label |
| 21 | refresh: 1 |
| 22 | refresh_on_load: true |
| 23 | regex: '' |
| 24 | type: query |
| 25 | sort: 0 |
| 26 | multi: false |
| 27 | service_row: |
| 28 | showTitle: true |
| 29 | height: 100px |
Martin Polreich | 1e62599 | 2017-10-09 17:09:10 +0200 | [diff] [blame] | 30 | prometheus_main_dashboard: |
| 31 | title: 'Main' |
| 32 | editable: true |
| 33 | hideControls: false |
| 34 | prometheus_cluster_status: |
| 35 | span: 2 |
| 36 | editable: false |
| 37 | type: singlestat |
| 38 | prefixFontSize: "50%" |
| 39 | postfixFontSize: "50%" |
| 40 | colorBackground: true |
| 41 | colors: |
| 42 | - "rgba(225, 40, 40, 0.59)" |
| 43 | - "rgba(245, 150, 40, 0.73)" |
| 44 | - "rgba(71, 212, 59, 0.4)" |
| 45 | thresholds: "0.01,1" |
| 46 | interval: "> 60s" |
| 47 | sparkline: |
| 48 | fillColor: "rgba(31, 118, 189, 0.18)" |
| 49 | full: false |
| 50 | lineColor: "rgb(31, 120, 193)" |
| 51 | show: false |
| 52 | valueFontSize: "50%" |
| 53 | mappingType: 2 |
| 54 | rangeMaps: |
| 55 | - from: "null" |
| 56 | text: "no data" |
| 57 | to: "null" |
| 58 | - from: "0" |
| 59 | text: "DOWN" |
| 60 | to: "0" |
| 61 | - from: "0.01" |
| 62 | text: "CRIT" |
| 63 | to: "0.5" |
| 64 | - from: "0.51" |
| 65 | text: "WARN" |
| 66 | to: "0.99" |
| 67 | - from: "1" |
| 68 | text: "UP" |
| 69 | to: "1" |
| 70 | - from: "2" |
| 71 | text: "UNKW" |
| 72 | to: "2" |
| 73 | valueName: current |
Guillaume Thouvenin | 885c5fc | 2017-01-10 17:08:26 +0100 | [diff] [blame] | 74 | cluster_status_singlestat: |
| 75 | span: 2 |
| 76 | editable: false |
| 77 | type: singlestat |
| 78 | prefixFontSize: "50%" |
| 79 | postfixFontSize: "50%" |
| 80 | colorBackground: true |
| 81 | colors: |
| 82 | - "rgba(71, 212, 59, 0.4)" |
| 83 | - "rgba(245, 150, 40, 0.73)" |
| 84 | - "rgba(225, 40, 40, 0.59)" |
| 85 | thresholds: "1,3" |
| 86 | interval: "> 60s" |
| 87 | sparkline: |
| 88 | fillColor: "rgba(31, 118, 189, 0.18)" |
| 89 | full: false |
| 90 | lineColor: "rgb(31, 120, 193)" |
| 91 | show: false |
| 92 | valueFontSize: "50%" |
| 93 | valueMaps: |
| 94 | - op: "=" |
| 95 | text: "no data" |
| 96 | value: "null" |
| 97 | - op: "=" |
| 98 | text: "OKAY" |
| 99 | value: "0" |
| 100 | - op: "=" |
| 101 | text: "WARN" |
| 102 | value: "1" |
| 103 | - op: "=" |
| 104 | text: "UNKW" |
| 105 | value: "2" |
| 106 | - op: "=" |
| 107 | text: "CRIT" |
| 108 | value: "3" |
| 109 | - op: "=" |
| 110 | text: "DOWN" |
| 111 | value: "4" |
| 112 | valueName: current |
Guillaume Thouvenin | f014d23 | 2017-03-10 14:28:53 +0100 | [diff] [blame] | 113 | service_level_dashboard: |
| 114 | title: 'Service Level Indicators' |
| 115 | editable: true |
| 116 | hideControls: false |
| 117 | templating: |
| 118 | enable: true |
| 119 | list: |
| 120 | - allFormat: regex values |
| 121 | hide: 0 |
| 122 | includeAll: false |
| 123 | name: environment |
| 124 | options: [] |
| 125 | query: show tag values from cpu_idle with key = environment_label |
| 126 | refresh: 1 |
| 127 | refresh_on_load: true |
| 128 | regex: '' |
| 129 | type: query |
| 130 | sort: 0 |
| 131 | multi: false |
| 132 | service_level_row: |
| 133 | showTitle: true |
| 134 | height: 200px |
| 135 | service_level_piechart: |
| 136 | span: 3 |
| 137 | type: 'grafana-piechart-panel' |
| 138 | legend: |
| 139 | percentage: true |
| 140 | show: true |
| 141 | sortDesc: true |
| 142 | values: true |
| 143 | legendType: Under graph |
| 144 | aliasColors: |
| 145 | Healthy: "#7EB26D" |
| 146 | Up: "#7EB26D" |
| 147 | Okay: "#7EB26D" |
Martin Polreich | 1e62599 | 2017-10-09 17:09:10 +0200 | [diff] [blame] | 148 | Degraded or Unknown: "#EAB839" |
Guillaume Thouvenin | f014d23 | 2017-03-10 14:28:53 +0100 | [diff] [blame] | 149 | Down: "#890F02" |
| 150 | Error: "#890F02" |
| 151 | Fatal: "#890F02" |