|
1 | 1 | {
|
| 2 | +<<<<<<< HEAD |
2 | 3 | "name": "Kubernetes Fluent Bit monitoring",
|
3 | 4 | "description": null,
|
4 | 5 | "pages": [
|
|
42 | 43 | {
|
43 | 44 | "accountId": 0,
|
44 | 45 | "query": "SELECT latest(os) as 'OS', latest(version) as 'FB version', latest(cluster_name) FROM Metric where metricName = 'fluentbit_build_info' since 1 hour ago facet pod_name, node_name limit max"
|
| 46 | +======= |
| 47 | + "name": "Squid Cache Manager", |
| 48 | + "pages": [ |
| 49 | + { |
| 50 | + "name": "Cache Manager", |
| 51 | + "description": null, |
| 52 | + "widgets": [ |
| 53 | + { |
| 54 | + "title": "Active cache managers", |
| 55 | + "layout": { |
| 56 | + "column": 1, |
| 57 | + "row": 1, |
| 58 | + "width": 3, |
| 59 | + "height": 3 |
| 60 | + }, |
| 61 | + "visualization": { |
| 62 | + "id": "viz.billboard" |
| 63 | + }, |
| 64 | + "rawConfiguration": { |
| 65 | + "facet": { |
| 66 | + "showOtherSeries": false |
| 67 | + }, |
| 68 | + "nrqlQueries": [ |
| 69 | + { |
| 70 | + "accountId": 0, |
| 71 | + "query": "FROM Metric SELECT latest(squid_up) compare with 1 hour ago" |
| 72 | + } |
| 73 | + ], |
| 74 | + "platformOptions": { |
| 75 | + "ignoreTimeRange": false |
| 76 | + } |
| 77 | + } |
| 78 | + }, |
| 79 | + { |
| 80 | + "title": "Traffic ", |
| 81 | + "layout": { |
| 82 | + "column": 4, |
| 83 | + "row": 1, |
| 84 | + "width": 3, |
| 85 | + "height": 3 |
| 86 | + }, |
| 87 | + "visualization": { |
| 88 | + "id": "viz.billboard" |
| 89 | + }, |
| 90 | + "rawConfiguration": { |
| 91 | + "dataFormatters": [ |
| 92 | + { |
| 93 | + "name": "HTTP Traffic Out", |
| 94 | + "type": "humanized" |
| 95 | + }, |
| 96 | + { |
| 97 | + "name": "Total squid_client_http_kbytes_in_kbytes_total", |
| 98 | + "type": "humanized" |
| 99 | + } |
| 100 | + ], |
| 101 | + "facet": { |
| 102 | + "showOtherSeries": false |
| 103 | + }, |
| 104 | + "nrqlQueries": [ |
| 105 | + { |
| 106 | + "accountId": 0, |
| 107 | + "query": "FROM Metric SELECT sum(squid_client_http_kbytes_in_kbytes_total) AS 'HTTP In (Kbs)', sum(squid_client_http_kbytes_out_kbytes_total) AS 'HTTP Out (Kbs)', sum(squid_client_http_requests_total) AS 'HTTP Requests' compare with 1 hour ago" |
| 108 | + } |
| 109 | + ], |
| 110 | + "platformOptions": { |
| 111 | + "ignoreTimeRange": false |
| 112 | + } |
| 113 | + } |
| 114 | + }, |
| 115 | + { |
| 116 | + "title": "Hit Rate (%)", |
| 117 | + "layout": { |
| 118 | + "column": 7, |
| 119 | + "row": 1, |
| 120 | + "width": 3, |
| 121 | + "height": 3 |
| 122 | + }, |
| 123 | + "visualization": { |
| 124 | + "id": "viz.billboard" |
| 125 | + }, |
| 126 | + "rawConfiguration": { |
| 127 | + "dataFormatters": [ |
| 128 | + { |
| 129 | + "name": "Avg squid_client_http_hit_kbytes_out_bytes_total", |
| 130 | + "type": "humanized" |
| 131 | + } |
| 132 | + ], |
| 133 | + "facet": { |
| 134 | + "showOtherSeries": false |
| 135 | + }, |
| 136 | + "nrqlQueries": [ |
| 137 | + { |
| 138 | + "accountId": 0, |
| 139 | + "query": "FROM Metric SELECT sum(squid_client_http_hit_kbytes_out_bytes_total) / sum(squid_client_http_kbytes_out_kbytes_total) * 100 As 'Bytes %', sum(squid_client_http_hits_total) / sum(squid_client_http_requests_total) * 100 AS 'Cache %'" |
| 140 | + } |
| 141 | + ], |
| 142 | + "platformOptions": { |
| 143 | + "ignoreTimeRange": false |
| 144 | + }, |
| 145 | + "thresholds": [ |
| 146 | + { |
| 147 | + "alertSeverity": "CRITICAL" |
| 148 | + } |
| 149 | + ] |
| 150 | + } |
| 151 | + }, |
| 152 | + { |
| 153 | + "title": "Error Rate (%)", |
| 154 | + "layout": { |
| 155 | + "column": 10, |
| 156 | + "row": 1, |
| 157 | + "width": 3, |
| 158 | + "height": 3 |
| 159 | + }, |
| 160 | + "visualization": { |
| 161 | + "id": "viz.billboard" |
| 162 | + }, |
| 163 | + "rawConfiguration": { |
| 164 | + "dataFormatters": [ |
| 165 | + { |
| 166 | + "name": "Avg squid_client_http_errors_total", |
| 167 | + "type": "decimal" |
| 168 | + } |
| 169 | + ], |
| 170 | + "facet": { |
| 171 | + "showOtherSeries": false |
| 172 | + }, |
| 173 | + "nrqlQueries": [ |
| 174 | + { |
| 175 | + "accountId": 0, |
| 176 | + "query": "FROM Metric SELECT sum(squid_client_http_errors_total) / sum(squid_client_http_requests_total) * 100 AS 'Error rate'" |
| 177 | + } |
| 178 | + ], |
| 179 | + "platformOptions": { |
| 180 | + "ignoreTimeRange": false |
| 181 | + } |
| 182 | + } |
| 183 | + }, |
| 184 | + { |
| 185 | + "title": "Traffic (Kbs)", |
| 186 | + "layout": { |
| 187 | + "column": 1, |
| 188 | + "row": 4, |
| 189 | + "width": 4, |
| 190 | + "height": 3 |
| 191 | + }, |
| 192 | + "visualization": { |
| 193 | + "id": "viz.area" |
| 194 | + }, |
| 195 | + "rawConfiguration": { |
| 196 | + "facet": { |
| 197 | + "showOtherSeries": false |
| 198 | + }, |
| 199 | + "legend": { |
| 200 | + "enabled": true |
| 201 | + }, |
| 202 | + "nrqlQueries": [ |
| 203 | + { |
| 204 | + "accountId": 0, |
| 205 | + "query": "FROM Metric SELECT sum(squid_client_http_kbytes_in_kbytes_total) AS 'HTTP In (Kbs)', sum(squid_client_http_kbytes_out_kbytes_total) AS 'HTTP Out (Kbs)' timeseries auto" |
| 206 | + } |
| 207 | + ], |
| 208 | + "platformOptions": { |
| 209 | + "ignoreTimeRange": false |
| 210 | + } |
| 211 | + } |
| 212 | + }, |
| 213 | + { |
| 214 | + "title": "Bytes Hit Rate (%)", |
| 215 | + "layout": { |
| 216 | + "column": 5, |
| 217 | + "row": 4, |
| 218 | + "width": 4, |
| 219 | + "height": 3 |
| 220 | + }, |
| 221 | + "visualization": { |
| 222 | + "id": "viz.line" |
| 223 | + }, |
| 224 | + "rawConfiguration": { |
| 225 | + "facet": { |
| 226 | + "showOtherSeries": false |
| 227 | + }, |
| 228 | + "legend": { |
| 229 | + "enabled": true |
| 230 | + }, |
| 231 | + "nrqlQueries": [ |
| 232 | + { |
| 233 | + "accountId": 0, |
| 234 | + "query": "FROM Metric SELECT sum(squid_client_http_hit_kbytes_out_bytes_total) / sum(squid_client_http_kbytes_out_kbytes_total) TIMESERIES" |
| 235 | + } |
| 236 | + ], |
| 237 | + "platformOptions": { |
| 238 | + "ignoreTimeRange": false |
| 239 | + }, |
| 240 | + "units": { |
| 241 | + "unit": "PERCENTAGE" |
| 242 | + }, |
| 243 | + "yAxisLeft": { |
| 244 | + "zero": true |
| 245 | + } |
| 246 | + } |
| 247 | + }, |
| 248 | + { |
| 249 | + "title": "Traffic requests", |
| 250 | + "layout": { |
| 251 | + "column": 9, |
| 252 | + "row": 4, |
| 253 | + "width": 4, |
| 254 | + "height": 3 |
| 255 | + }, |
| 256 | + "visualization": { |
| 257 | + "id": "viz.area" |
| 258 | + }, |
| 259 | + "rawConfiguration": { |
| 260 | + "facet": { |
| 261 | + "showOtherSeries": false |
| 262 | + }, |
| 263 | + "legend": { |
| 264 | + "enabled": true |
| 265 | + }, |
| 266 | + "nrqlQueries": [ |
| 267 | + { |
| 268 | + "accountId": 0, |
| 269 | + "query": "FROM Metric SELECT sum(squid_client_http_requests_total) AS 'HTTP Requests' timeseries auto" |
| 270 | + } |
| 271 | + ], |
| 272 | + "platformOptions": { |
| 273 | + "ignoreTimeRange": false |
| 274 | + } |
| 275 | + } |
| 276 | + }, |
| 277 | + { |
| 278 | + "title": "Error Rate (%)", |
| 279 | + "layout": { |
| 280 | + "column": 1, |
| 281 | + "row": 7, |
| 282 | + "width": 8, |
| 283 | + "height": 3 |
| 284 | + }, |
| 285 | + "visualization": { |
| 286 | + "id": "viz.line" |
| 287 | + }, |
| 288 | + "rawConfiguration": { |
| 289 | + "facet": { |
| 290 | + "showOtherSeries": false |
| 291 | + }, |
| 292 | + "legend": { |
| 293 | + "enabled": true |
| 294 | + }, |
| 295 | + "nrqlQueries": [ |
| 296 | + { |
| 297 | + "accountId": 0, |
| 298 | + "query": "FROM Metric SELECT sum(squid_client_http_errors_total) / sum(squid_client_http_requests_total) TIMESERIES" |
| 299 | + } |
| 300 | + ], |
| 301 | + "platformOptions": { |
| 302 | + "ignoreTimeRange": false |
| 303 | + }, |
| 304 | + "units": { |
| 305 | + "unit": "PERCENTAGE" |
| 306 | + }, |
| 307 | + "yAxisLeft": { |
| 308 | + "zero": true |
| 309 | + } |
| 310 | + } |
| 311 | + }, |
| 312 | + { |
| 313 | + "title": "Cache Hit Rate (%)", |
| 314 | + "layout": { |
| 315 | + "column": 9, |
| 316 | + "row": 7, |
| 317 | + "width": 4, |
| 318 | + "height": 3 |
| 319 | + }, |
| 320 | + "visualization": { |
| 321 | + "id": "viz.line" |
| 322 | + }, |
| 323 | + "rawConfiguration": { |
| 324 | + "facet": { |
| 325 | + "showOtherSeries": false |
| 326 | + }, |
| 327 | + "legend": { |
| 328 | + "enabled": true |
| 329 | + }, |
| 330 | + "nrqlQueries": [ |
| 331 | + { |
| 332 | + "accountId": 0, |
| 333 | + "query": "FROM Metric SELECT sum(squid_client_http_hits_total) / sum(squid_client_http_requests_total) TIMESERIES" |
| 334 | + } |
| 335 | + ], |
| 336 | + "platformOptions": { |
| 337 | + "ignoreTimeRange": false |
| 338 | + }, |
| 339 | + "units": { |
| 340 | + "unit": "PERCENTAGE" |
| 341 | + }, |
| 342 | + "yAxisLeft": { |
| 343 | + "zero": true |
| 344 | +>>>>>>> 59deda89 (feat: push to check santize dashboard) |
45 | 345 | }
|
46 | 346 | ],
|
47 | 347 | "platformOptions": {
|
48 | 348 | "ignoreTimeRange": false
|
49 | 349 | }
|
50 | 350 | }
|
| 351 | +<<<<<<< HEAD |
51 | 352 | },
|
52 | 353 | {
|
53 | 354 | "title": "Fluent Bit uptime",
|
|
957 | 1258 | }
|
958 | 1259 | ]
|
959 | 1260 | }
|
| 1261 | +======= |
| 1262 | + ] |
| 1263 | + } |
| 1264 | + ] |
| 1265 | + } |
| 1266 | + |
| 1267 | +>>>>>>> 59deda89 (feat: push to check santize dashboard) |
0 commit comments