adheli.tavares | 1c98f1f | 2022-06-16 09:21:46 +0100 | [diff] [blame] | 1 | { |
| 2 | "annotations": { |
| 3 | "list": [ |
| 4 | { |
| 5 | "builtIn": 1, |
adheli.tavares | 21c3a2b | 2024-10-31 16:01:59 +0000 | [diff] [blame^] | 6 | "datasource": { |
| 7 | "type": "datasource", |
| 8 | "uid": "grafana" |
| 9 | }, |
adheli.tavares | 1c98f1f | 2022-06-16 09:21:46 +0100 | [diff] [blame] | 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": "Dashboard for Service Level Agreeements", |
| 25 | "editable": true, |
| 26 | "fiscalYearStartMonth": 0, |
| 27 | "gnetId": 14430, |
| 28 | "graphTooltip": 0, |
adheli.tavares | 0fd7cdc | 2023-01-13 09:14:23 +0000 | [diff] [blame] | 29 | "id": 3, |
adheli.tavares | 1c98f1f | 2022-06-16 09:21:46 +0100 | [diff] [blame] | 30 | "links": [], |
| 31 | "liveNow": false, |
| 32 | "panels": [ |
| 33 | { |
| 34 | "collapsed": false, |
adheli.tavares | 21c3a2b | 2024-10-31 16:01:59 +0000 | [diff] [blame^] | 35 | "datasource": { |
| 36 | "type": "prometheus", |
| 37 | "uid": "dkSf71fnz" |
| 38 | }, |
adheli.tavares | 1c98f1f | 2022-06-16 09:21:46 +0100 | [diff] [blame] | 39 | "gridPos": { |
| 40 | "h": 1, |
| 41 | "w": 24, |
| 42 | "x": 0, |
adheli.tavares | 0fd7cdc | 2023-01-13 09:14:23 +0000 | [diff] [blame] | 43 | "y": 0 |
adheli.tavares | 1c98f1f | 2022-06-16 09:21:46 +0100 | [diff] [blame] | 44 | }, |
| 45 | "id": 54, |
| 46 | "panels": [], |
adheli.tavares | 21c3a2b | 2024-10-31 16:01:59 +0000 | [diff] [blame^] | 47 | "targets": [ |
| 48 | { |
| 49 | "datasource": { |
| 50 | "type": "prometheus", |
| 51 | "uid": "dkSf71fnz" |
| 52 | }, |
| 53 | "refId": "A" |
| 54 | } |
| 55 | ], |
adheli.tavares | 1c98f1f | 2022-06-16 09:21:46 +0100 | [diff] [blame] | 56 | "title": "Basic Statistics", |
| 57 | "type": "row" |
| 58 | }, |
| 59 | { |
adheli.tavares | 21c3a2b | 2024-10-31 16:01:59 +0000 | [diff] [blame^] | 60 | "datasource": { |
| 61 | "type": "prometheus", |
| 62 | "uid": "dkSf71fnz" |
| 63 | }, |
adheli.tavares | 1c98f1f | 2022-06-16 09:21:46 +0100 | [diff] [blame] | 64 | "fieldConfig": { |
| 65 | "defaults": { |
| 66 | "color": { |
| 67 | "mode": "thresholds" |
| 68 | }, |
| 69 | "decimals": 1, |
| 70 | "mappings": [ |
| 71 | { |
| 72 | "options": { |
| 73 | "match": "null", |
| 74 | "result": { |
| 75 | "text": "N/A" |
| 76 | } |
| 77 | }, |
| 78 | "type": "special" |
| 79 | } |
| 80 | ], |
| 81 | "thresholds": { |
| 82 | "mode": "absolute", |
| 83 | "steps": [ |
| 84 | { |
| 85 | "color": "green", |
| 86 | "value": null |
| 87 | }, |
| 88 | { |
| 89 | "color": "red", |
| 90 | "value": 80 |
| 91 | } |
| 92 | ] |
| 93 | }, |
| 94 | "unit": "s" |
| 95 | }, |
| 96 | "overrides": [] |
| 97 | }, |
| 98 | "gridPos": { |
| 99 | "h": 6, |
| 100 | "w": 6, |
| 101 | "x": 0, |
adheli.tavares | 0fd7cdc | 2023-01-13 09:14:23 +0000 | [diff] [blame] | 102 | "y": 1 |
adheli.tavares | 1c98f1f | 2022-06-16 09:21:46 +0100 | [diff] [blame] | 103 | }, |
| 104 | "id": 52, |
adheli.tavares | 1c98f1f | 2022-06-16 09:21:46 +0100 | [diff] [blame] | 105 | "maxDataPoints": 100, |
| 106 | "options": { |
| 107 | "colorMode": "value", |
| 108 | "graphMode": "none", |
| 109 | "justifyMode": "auto", |
| 110 | "orientation": "horizontal", |
adheli.tavares | 21c3a2b | 2024-10-31 16:01:59 +0000 | [diff] [blame^] | 111 | "percentChangeColorMode": "standard", |
adheli.tavares | 1c98f1f | 2022-06-16 09:21:46 +0100 | [diff] [blame] | 112 | "reduceOptions": { |
| 113 | "calcs": [ |
| 114 | "lastNotNull" |
| 115 | ], |
| 116 | "fields": "", |
| 117 | "values": false |
| 118 | }, |
adheli.tavares | 21c3a2b | 2024-10-31 16:01:59 +0000 | [diff] [blame^] | 119 | "showPercentChange": false, |
| 120 | "textMode": "auto", |
| 121 | "wideLayout": true |
adheli.tavares | 1c98f1f | 2022-06-16 09:21:46 +0100 | [diff] [blame] | 122 | }, |
adheli.tavares | 21c3a2b | 2024-10-31 16:01:59 +0000 | [diff] [blame^] | 123 | "pluginVersion": "11.1.0", |
adheli.tavares | 1c98f1f | 2022-06-16 09:21:46 +0100 | [diff] [blame] | 124 | "targets": [ |
| 125 | { |
adheli.tavares | 57328ba | 2022-12-15 10:15:08 +0000 | [diff] [blame] | 126 | "datasource": { |
| 127 | "type": "prometheus", |
| 128 | "uid": "dkSf71fnz" |
| 129 | }, |
| 130 | "exemplar": true, |
| 131 | "expr": "process_uptime_seconds", |
adheli.tavares | 1c98f1f | 2022-06-16 09:21:46 +0100 | [diff] [blame] | 132 | "format": "time_series", |
adheli.tavares | 57328ba | 2022-12-15 10:15:08 +0000 | [diff] [blame] | 133 | "interval": "", |
adheli.tavares | 1c98f1f | 2022-06-16 09:21:46 +0100 | [diff] [blame] | 134 | "intervalFactor": 2, |
adheli.tavares | 57328ba | 2022-12-15 10:15:08 +0000 | [diff] [blame] | 135 | "legendFormat": "{{job}}", |
adheli.tavares | 1c98f1f | 2022-06-16 09:21:46 +0100 | [diff] [blame] | 136 | "metric": "", |
| 137 | "refId": "A", |
| 138 | "step": 14400 |
| 139 | } |
| 140 | ], |
| 141 | "title": "Uptime", |
| 142 | "type": "stat" |
| 143 | }, |
| 144 | { |
adheli.tavares | 21c3a2b | 2024-10-31 16:01:59 +0000 | [diff] [blame^] | 145 | "datasource": { |
| 146 | "type": "prometheus", |
| 147 | "uid": "dkSf71fnz" |
| 148 | }, |
adheli.tavares | 1c98f1f | 2022-06-16 09:21:46 +0100 | [diff] [blame] | 149 | "fieldConfig": { |
| 150 | "defaults": { |
| 151 | "color": { |
| 152 | "mode": "thresholds" |
| 153 | }, |
| 154 | "mappings": [ |
| 155 | { |
| 156 | "options": { |
| 157 | "match": "null", |
| 158 | "result": { |
| 159 | "text": "N/A" |
| 160 | } |
| 161 | }, |
| 162 | "type": "special" |
| 163 | } |
| 164 | ], |
| 165 | "thresholds": { |
| 166 | "mode": "absolute", |
| 167 | "steps": [ |
| 168 | { |
| 169 | "color": "green", |
| 170 | "value": null |
| 171 | }, |
| 172 | { |
| 173 | "color": "red", |
| 174 | "value": 80 |
| 175 | } |
| 176 | ] |
| 177 | }, |
| 178 | "unit": "dateTimeAsIso" |
| 179 | }, |
| 180 | "overrides": [] |
| 181 | }, |
| 182 | "gridPos": { |
| 183 | "h": 6, |
| 184 | "w": 6, |
| 185 | "x": 6, |
adheli.tavares | 0fd7cdc | 2023-01-13 09:14:23 +0000 | [diff] [blame] | 186 | "y": 1 |
adheli.tavares | 1c98f1f | 2022-06-16 09:21:46 +0100 | [diff] [blame] | 187 | }, |
| 188 | "id": 56, |
adheli.tavares | 1c98f1f | 2022-06-16 09:21:46 +0100 | [diff] [blame] | 189 | "maxDataPoints": 100, |
| 190 | "options": { |
| 191 | "colorMode": "value", |
| 192 | "graphMode": "none", |
| 193 | "justifyMode": "auto", |
| 194 | "orientation": "horizontal", |
adheli.tavares | 21c3a2b | 2024-10-31 16:01:59 +0000 | [diff] [blame^] | 195 | "percentChangeColorMode": "standard", |
adheli.tavares | 1c98f1f | 2022-06-16 09:21:46 +0100 | [diff] [blame] | 196 | "reduceOptions": { |
| 197 | "calcs": [ |
| 198 | "lastNotNull" |
| 199 | ], |
| 200 | "fields": "", |
| 201 | "values": false |
| 202 | }, |
adheli.tavares | 21c3a2b | 2024-10-31 16:01:59 +0000 | [diff] [blame^] | 203 | "showPercentChange": false, |
| 204 | "textMode": "auto", |
| 205 | "wideLayout": true |
adheli.tavares | 1c98f1f | 2022-06-16 09:21:46 +0100 | [diff] [blame] | 206 | }, |
adheli.tavares | 21c3a2b | 2024-10-31 16:01:59 +0000 | [diff] [blame^] | 207 | "pluginVersion": "11.1.0", |
adheli.tavares | 1c98f1f | 2022-06-16 09:21:46 +0100 | [diff] [blame] | 208 | "targets": [ |
| 209 | { |
adheli.tavares | 57328ba | 2022-12-15 10:15:08 +0000 | [diff] [blame] | 210 | "datasource": { |
| 211 | "type": "prometheus", |
| 212 | "uid": "dkSf71fnz" |
| 213 | }, |
| 214 | "exemplar": true, |
adheli.tavares | 1d9c756 | 2023-01-09 11:28:25 +0000 | [diff] [blame] | 215 | "expr": "process_start_time_seconds{job=~\"api-metrics|acm-metrics|pap-metrics|apex-pdp-metrics\"}*1000", |
adheli.tavares | 1c98f1f | 2022-06-16 09:21:46 +0100 | [diff] [blame] | 216 | "format": "time_series", |
adheli.tavares | 57328ba | 2022-12-15 10:15:08 +0000 | [diff] [blame] | 217 | "interval": "", |
adheli.tavares | 1c98f1f | 2022-06-16 09:21:46 +0100 | [diff] [blame] | 218 | "intervalFactor": 2, |
adheli.tavares | 57328ba | 2022-12-15 10:15:08 +0000 | [diff] [blame] | 219 | "legendFormat": "{{instance}}", |
adheli.tavares | 1c98f1f | 2022-06-16 09:21:46 +0100 | [diff] [blame] | 220 | "metric": "", |
| 221 | "refId": "A", |
| 222 | "step": 14400 |
| 223 | } |
| 224 | ], |
| 225 | "title": "Start time", |
| 226 | "type": "stat" |
| 227 | }, |
| 228 | { |
adheli.tavares | 21c3a2b | 2024-10-31 16:01:59 +0000 | [diff] [blame^] | 229 | "datasource": { |
| 230 | "type": "prometheus", |
| 231 | "uid": "dkSf71fnz" |
| 232 | }, |
adheli.tavares | 1c98f1f | 2022-06-16 09:21:46 +0100 | [diff] [blame] | 233 | "fieldConfig": { |
| 234 | "defaults": { |
| 235 | "color": { |
| 236 | "mode": "thresholds" |
| 237 | }, |
| 238 | "decimals": 1, |
| 239 | "mappings": [ |
| 240 | { |
| 241 | "options": { |
| 242 | "match": "null", |
| 243 | "result": { |
| 244 | "text": "N/A" |
| 245 | } |
| 246 | }, |
| 247 | "type": "special" |
| 248 | } |
| 249 | ], |
| 250 | "max": 100, |
| 251 | "min": 0, |
| 252 | "thresholds": { |
| 253 | "mode": "absolute", |
| 254 | "steps": [ |
| 255 | { |
| 256 | "color": "rgba(50, 172, 45, 0.97)", |
| 257 | "value": null |
| 258 | }, |
| 259 | { |
| 260 | "color": "rgba(237, 129, 40, 0.89)", |
| 261 | "value": 70 |
| 262 | }, |
| 263 | { |
| 264 | "color": "rgba(245, 54, 54, 0.9)", |
| 265 | "value": 90 |
| 266 | } |
| 267 | ] |
| 268 | }, |
| 269 | "unit": "percent" |
| 270 | }, |
| 271 | "overrides": [] |
| 272 | }, |
| 273 | "gridPos": { |
| 274 | "h": 6, |
| 275 | "w": 6, |
adheli.tavares | 57328ba | 2022-12-15 10:15:08 +0000 | [diff] [blame] | 276 | "x": 0, |
adheli.tavares | 0fd7cdc | 2023-01-13 09:14:23 +0000 | [diff] [blame] | 277 | "y": 7 |
adheli.tavares | 1c98f1f | 2022-06-16 09:21:46 +0100 | [diff] [blame] | 278 | }, |
| 279 | "id": 58, |
adheli.tavares | 1c98f1f | 2022-06-16 09:21:46 +0100 | [diff] [blame] | 280 | "maxDataPoints": 100, |
| 281 | "options": { |
adheli.tavares | 21c3a2b | 2024-10-31 16:01:59 +0000 | [diff] [blame^] | 282 | "minVizHeight": 75, |
| 283 | "minVizWidth": 75, |
adheli.tavares | 1c98f1f | 2022-06-16 09:21:46 +0100 | [diff] [blame] | 284 | "orientation": "horizontal", |
| 285 | "reduceOptions": { |
| 286 | "calcs": [ |
| 287 | "lastNotNull" |
| 288 | ], |
| 289 | "fields": "", |
| 290 | "values": false |
| 291 | }, |
| 292 | "showThresholdLabels": false, |
adheli.tavares | 21c3a2b | 2024-10-31 16:01:59 +0000 | [diff] [blame^] | 293 | "showThresholdMarkers": true, |
| 294 | "sizing": "auto" |
adheli.tavares | 1c98f1f | 2022-06-16 09:21:46 +0100 | [diff] [blame] | 295 | }, |
adheli.tavares | 21c3a2b | 2024-10-31 16:01:59 +0000 | [diff] [blame^] | 296 | "pluginVersion": "11.1.0", |
adheli.tavares | 1c98f1f | 2022-06-16 09:21:46 +0100 | [diff] [blame] | 297 | "targets": [ |
| 298 | { |
adheli.tavares | 57328ba | 2022-12-15 10:15:08 +0000 | [diff] [blame] | 299 | "datasource": { |
| 300 | "type": "prometheus", |
| 301 | "uid": "dkSf71fnz" |
| 302 | }, |
| 303 | "exemplar": true, |
adheli.tavares | 1d9c756 | 2023-01-09 11:28:25 +0000 | [diff] [blame] | 304 | "expr": "sum(jvm_memory_used_bytes{job=~\"api-metrics|acm-metrics|pap-metrics|apex-pdp-metrics\", area=\"heap\"})*100/sum(jvm_memory_max_bytes{job=~\"api-metrics|acm-metrics|pap-metrics|apex-pdp-metrics\", area=\"heap\"})", |
adheli.tavares | 1c98f1f | 2022-06-16 09:21:46 +0100 | [diff] [blame] | 305 | "format": "time_series", |
adheli.tavares | 57328ba | 2022-12-15 10:15:08 +0000 | [diff] [blame] | 306 | "interval": "", |
adheli.tavares | 1c98f1f | 2022-06-16 09:21:46 +0100 | [diff] [blame] | 307 | "intervalFactor": 1, |
| 308 | "legendFormat": "", |
| 309 | "refId": "A", |
| 310 | "step": 14400 |
| 311 | } |
| 312 | ], |
| 313 | "title": "Heap Used", |
| 314 | "type": "gauge" |
| 315 | }, |
| 316 | { |
adheli.tavares | 21c3a2b | 2024-10-31 16:01:59 +0000 | [diff] [blame^] | 317 | "datasource": { |
| 318 | "type": "prometheus", |
| 319 | "uid": "dkSf71fnz" |
| 320 | }, |
adheli.tavares | 1c98f1f | 2022-06-16 09:21:46 +0100 | [diff] [blame] | 321 | "fieldConfig": { |
| 322 | "defaults": { |
| 323 | "color": { |
| 324 | "mode": "thresholds" |
| 325 | }, |
| 326 | "decimals": 1, |
| 327 | "mappings": [ |
| 328 | { |
| 329 | "options": { |
| 330 | "match": "null", |
| 331 | "result": { |
| 332 | "text": "N/A" |
| 333 | } |
| 334 | }, |
| 335 | "type": "special" |
| 336 | }, |
| 337 | { |
| 338 | "options": { |
| 339 | "from": -1e+32, |
| 340 | "result": { |
| 341 | "text": "N/A" |
| 342 | }, |
| 343 | "to": 0 |
| 344 | }, |
| 345 | "type": "range" |
| 346 | } |
| 347 | ], |
| 348 | "max": 100, |
| 349 | "min": 0, |
| 350 | "thresholds": { |
| 351 | "mode": "absolute", |
| 352 | "steps": [ |
| 353 | { |
| 354 | "color": "rgba(50, 172, 45, 0.97)", |
| 355 | "value": null |
| 356 | }, |
| 357 | { |
| 358 | "color": "rgba(237, 129, 40, 0.89)", |
| 359 | "value": 70 |
| 360 | }, |
| 361 | { |
| 362 | "color": "rgba(245, 54, 54, 0.9)", |
| 363 | "value": 90 |
| 364 | } |
| 365 | ] |
| 366 | }, |
| 367 | "unit": "percent" |
| 368 | }, |
| 369 | "overrides": [] |
| 370 | }, |
| 371 | "gridPos": { |
| 372 | "h": 6, |
| 373 | "w": 6, |
adheli.tavares | 57328ba | 2022-12-15 10:15:08 +0000 | [diff] [blame] | 374 | "x": 6, |
adheli.tavares | 0fd7cdc | 2023-01-13 09:14:23 +0000 | [diff] [blame] | 375 | "y": 7 |
adheli.tavares | 1c98f1f | 2022-06-16 09:21:46 +0100 | [diff] [blame] | 376 | }, |
| 377 | "id": 60, |
adheli.tavares | 1c98f1f | 2022-06-16 09:21:46 +0100 | [diff] [blame] | 378 | "maxDataPoints": 100, |
| 379 | "options": { |
adheli.tavares | 21c3a2b | 2024-10-31 16:01:59 +0000 | [diff] [blame^] | 380 | "minVizHeight": 75, |
| 381 | "minVizWidth": 75, |
adheli.tavares | 1c98f1f | 2022-06-16 09:21:46 +0100 | [diff] [blame] | 382 | "orientation": "horizontal", |
| 383 | "reduceOptions": { |
| 384 | "calcs": [ |
| 385 | "lastNotNull" |
| 386 | ], |
| 387 | "fields": "", |
| 388 | "values": false |
| 389 | }, |
| 390 | "showThresholdLabels": false, |
adheli.tavares | 21c3a2b | 2024-10-31 16:01:59 +0000 | [diff] [blame^] | 391 | "showThresholdMarkers": true, |
| 392 | "sizing": "auto" |
adheli.tavares | 1c98f1f | 2022-06-16 09:21:46 +0100 | [diff] [blame] | 393 | }, |
adheli.tavares | 21c3a2b | 2024-10-31 16:01:59 +0000 | [diff] [blame^] | 394 | "pluginVersion": "11.1.0", |
adheli.tavares | 1c98f1f | 2022-06-16 09:21:46 +0100 | [diff] [blame] | 395 | "targets": [ |
| 396 | { |
adheli.tavares | 57328ba | 2022-12-15 10:15:08 +0000 | [diff] [blame] | 397 | "datasource": { |
| 398 | "type": "prometheus", |
| 399 | "uid": "dkSf71fnz" |
| 400 | }, |
| 401 | "exemplar": true, |
adheli.tavares | 1d9c756 | 2023-01-09 11:28:25 +0000 | [diff] [blame] | 402 | "expr": "sum(jvm_memory_used_bytes{job=~\"api-metrics|acm-metrics|pap-metrics|apex-pdp-metrics\", area=\"nonheap\"})*100/sum(jvm_memory_max_bytes{job=~\"api-metrics|acm-metrics|pap-metrics|apex-pdp-metrics\", area=\"nonheap\"})", |
adheli.tavares | 1c98f1f | 2022-06-16 09:21:46 +0100 | [diff] [blame] | 403 | "format": "time_series", |
adheli.tavares | 57328ba | 2022-12-15 10:15:08 +0000 | [diff] [blame] | 404 | "interval": "", |
adheli.tavares | 1c98f1f | 2022-06-16 09:21:46 +0100 | [diff] [blame] | 405 | "intervalFactor": 2, |
| 406 | "legendFormat": "", |
| 407 | "refId": "A", |
| 408 | "step": 14400 |
| 409 | } |
| 410 | ], |
| 411 | "title": "Non-Heap Used", |
| 412 | "type": "gauge" |
| 413 | }, |
| 414 | { |
adheli.tavares | 21c3a2b | 2024-10-31 16:01:59 +0000 | [diff] [blame^] | 415 | "datasource": { |
| 416 | "type": "prometheus", |
| 417 | "uid": "dkSf71fnz" |
| 418 | }, |
adheli.tavares | 57328ba | 2022-12-15 10:15:08 +0000 | [diff] [blame] | 419 | "fieldConfig": { |
| 420 | "defaults": { |
| 421 | "color": { |
| 422 | "mode": "palette-classic" |
| 423 | }, |
| 424 | "custom": { |
adheli.tavares | 21c3a2b | 2024-10-31 16:01:59 +0000 | [diff] [blame^] | 425 | "axisBorderShow": false, |
| 426 | "axisCenteredZero": false, |
| 427 | "axisColorMode": "text", |
adheli.tavares | 57328ba | 2022-12-15 10:15:08 +0000 | [diff] [blame] | 428 | "axisLabel": "", |
| 429 | "axisPlacement": "auto", |
| 430 | "barAlignment": 0, |
| 431 | "drawStyle": "line", |
| 432 | "fillOpacity": 10, |
| 433 | "gradientMode": "none", |
| 434 | "hideFrom": { |
| 435 | "legend": false, |
| 436 | "tooltip": false, |
| 437 | "viz": false |
| 438 | }, |
adheli.tavares | 21c3a2b | 2024-10-31 16:01:59 +0000 | [diff] [blame^] | 439 | "insertNulls": false, |
adheli.tavares | 57328ba | 2022-12-15 10:15:08 +0000 | [diff] [blame] | 440 | "lineInterpolation": "linear", |
| 441 | "lineWidth": 1, |
| 442 | "pointSize": 5, |
| 443 | "scaleDistribution": { |
| 444 | "type": "linear" |
| 445 | }, |
| 446 | "showPoints": "never", |
| 447 | "spanNulls": true, |
| 448 | "stacking": { |
| 449 | "group": "A", |
| 450 | "mode": "none" |
| 451 | }, |
| 452 | "thresholdsStyle": { |
| 453 | "mode": "off" |
| 454 | } |
| 455 | }, |
| 456 | "links": [], |
| 457 | "mappings": [], |
| 458 | "thresholds": { |
| 459 | "mode": "absolute", |
| 460 | "steps": [ |
| 461 | { |
| 462 | "color": "green", |
| 463 | "value": null |
| 464 | }, |
| 465 | { |
| 466 | "color": "red", |
| 467 | "value": 80 |
| 468 | } |
| 469 | ] |
| 470 | }, |
| 471 | "unit": "short" |
| 472 | }, |
| 473 | "overrides": [] |
adheli.tavares | 1c98f1f | 2022-06-16 09:21:46 +0100 | [diff] [blame] | 474 | }, |
adheli.tavares | 57328ba | 2022-12-15 10:15:08 +0000 | [diff] [blame] | 475 | "gridPos": { |
| 476 | "h": 8, |
| 477 | "w": 12, |
| 478 | "x": 0, |
adheli.tavares | 0fd7cdc | 2023-01-13 09:14:23 +0000 | [diff] [blame] | 479 | "y": 13 |
adheli.tavares | 57328ba | 2022-12-15 10:15:08 +0000 | [diff] [blame] | 480 | }, |
| 481 | "id": 96, |
adheli.tavares | 57328ba | 2022-12-15 10:15:08 +0000 | [diff] [blame] | 482 | "options": { |
| 483 | "legend": { |
| 484 | "calcs": [ |
| 485 | "mean", |
| 486 | "lastNotNull", |
| 487 | "max", |
| 488 | "min" |
| 489 | ], |
| 490 | "displayMode": "table", |
adheli.tavares | 21c3a2b | 2024-10-31 16:01:59 +0000 | [diff] [blame^] | 491 | "placement": "bottom", |
| 492 | "showLegend": true |
adheli.tavares | 57328ba | 2022-12-15 10:15:08 +0000 | [diff] [blame] | 493 | }, |
| 494 | "tooltip": { |
adheli.tavares | 21c3a2b | 2024-10-31 16:01:59 +0000 | [diff] [blame^] | 495 | "mode": "single", |
| 496 | "sort": "none" |
adheli.tavares | 57328ba | 2022-12-15 10:15:08 +0000 | [diff] [blame] | 497 | } |
| 498 | }, |
| 499 | "pluginVersion": "8.3.4", |
| 500 | "targets": [ |
| 501 | { |
| 502 | "datasource": { |
| 503 | "type": "prometheus", |
| 504 | "uid": "dkSf71fnz" |
| 505 | }, |
| 506 | "exemplar": true, |
adheli.tavares | 1d9c756 | 2023-01-09 11:28:25 +0000 | [diff] [blame] | 507 | "expr": "avg(system_load_average_1m{job=~\"api-metrics|acm-metrics|pap-metrics|apex-pdp-metrics\"})", |
adheli.tavares | 57328ba | 2022-12-15 10:15:08 +0000 | [diff] [blame] | 508 | "format": "time_series", |
| 509 | "interval": "", |
| 510 | "intervalFactor": 1, |
| 511 | "legendFormat": "Load Average [1m] ", |
| 512 | "refId": "A" |
| 513 | }, |
| 514 | { |
| 515 | "datasource": { |
| 516 | "type": "prometheus", |
| 517 | "uid": "dkSf71fnz" |
| 518 | }, |
| 519 | "exemplar": true, |
adheli.tavares | 1d9c756 | 2023-01-09 11:28:25 +0000 | [diff] [blame] | 520 | "expr": "avg(system_cpu_count{job=~\"api-metrics|acm-metrics|pap-metrics|apex-pdp-metrics\"})", |
adheli.tavares | 57328ba | 2022-12-15 10:15:08 +0000 | [diff] [blame] | 521 | "format": "time_series", |
| 522 | "interval": "", |
| 523 | "intervalFactor": 1, |
| 524 | "legendFormat": "CPU Core Size", |
| 525 | "refId": "B" |
| 526 | } |
| 527 | ], |
| 528 | "title": "Load Average", |
| 529 | "type": "timeseries" |
| 530 | }, |
| 531 | { |
adheli.tavares | 21c3a2b | 2024-10-31 16:01:59 +0000 | [diff] [blame^] | 532 | "datasource": { |
| 533 | "type": "prometheus", |
| 534 | "uid": "dkSf71fnz" |
| 535 | }, |
adheli.tavares | 1c98f1f | 2022-06-16 09:21:46 +0100 | [diff] [blame] | 536 | "fieldConfig": { |
| 537 | "defaults": { |
| 538 | "color": { |
| 539 | "mode": "palette-classic" |
| 540 | }, |
| 541 | "custom": { |
adheli.tavares | 21c3a2b | 2024-10-31 16:01:59 +0000 | [diff] [blame^] | 542 | "axisBorderShow": false, |
| 543 | "axisCenteredZero": false, |
| 544 | "axisColorMode": "text", |
adheli.tavares | 1c98f1f | 2022-06-16 09:21:46 +0100 | [diff] [blame] | 545 | "axisLabel": "", |
| 546 | "axisPlacement": "auto", |
| 547 | "barAlignment": 0, |
| 548 | "drawStyle": "line", |
| 549 | "fillOpacity": 10, |
| 550 | "gradientMode": "none", |
| 551 | "hideFrom": { |
| 552 | "legend": false, |
| 553 | "tooltip": false, |
| 554 | "viz": false |
| 555 | }, |
adheli.tavares | 21c3a2b | 2024-10-31 16:01:59 +0000 | [diff] [blame^] | 556 | "insertNulls": false, |
adheli.tavares | 1c98f1f | 2022-06-16 09:21:46 +0100 | [diff] [blame] | 557 | "lineInterpolation": "linear", |
| 558 | "lineWidth": 1, |
| 559 | "pointSize": 5, |
| 560 | "scaleDistribution": { |
| 561 | "type": "linear" |
| 562 | }, |
| 563 | "showPoints": "never", |
| 564 | "spanNulls": true, |
| 565 | "stacking": { |
| 566 | "group": "A", |
| 567 | "mode": "none" |
| 568 | }, |
| 569 | "thresholdsStyle": { |
| 570 | "mode": "off" |
| 571 | } |
| 572 | }, |
| 573 | "links": [], |
| 574 | "mappings": [], |
| 575 | "thresholds": { |
| 576 | "mode": "absolute", |
| 577 | "steps": [ |
| 578 | { |
| 579 | "color": "green", |
| 580 | "value": null |
| 581 | }, |
| 582 | { |
| 583 | "color": "red", |
| 584 | "value": 80 |
| 585 | } |
| 586 | ] |
| 587 | }, |
| 588 | "unit": "percentunit" |
| 589 | }, |
| 590 | "overrides": [] |
| 591 | }, |
| 592 | "gridPos": { |
| 593 | "h": 7, |
| 594 | "w": 12, |
| 595 | "x": 0, |
adheli.tavares | 0fd7cdc | 2023-01-13 09:14:23 +0000 | [diff] [blame] | 596 | "y": 21 |
adheli.tavares | 1c98f1f | 2022-06-16 09:21:46 +0100 | [diff] [blame] | 597 | }, |
| 598 | "id": 95, |
adheli.tavares | 1c98f1f | 2022-06-16 09:21:46 +0100 | [diff] [blame] | 599 | "options": { |
| 600 | "legend": { |
| 601 | "calcs": [ |
| 602 | "mean", |
| 603 | "lastNotNull", |
| 604 | "max", |
| 605 | "min" |
| 606 | ], |
| 607 | "displayMode": "table", |
adheli.tavares | 21c3a2b | 2024-10-31 16:01:59 +0000 | [diff] [blame^] | 608 | "placement": "bottom", |
| 609 | "showLegend": true |
adheli.tavares | 1c98f1f | 2022-06-16 09:21:46 +0100 | [diff] [blame] | 610 | }, |
| 611 | "tooltip": { |
adheli.tavares | 21c3a2b | 2024-10-31 16:01:59 +0000 | [diff] [blame^] | 612 | "mode": "single", |
| 613 | "sort": "none" |
adheli.tavares | 1c98f1f | 2022-06-16 09:21:46 +0100 | [diff] [blame] | 614 | } |
| 615 | }, |
| 616 | "pluginVersion": "8.3.4", |
| 617 | "targets": [ |
| 618 | { |
adheli.tavares | 57328ba | 2022-12-15 10:15:08 +0000 | [diff] [blame] | 619 | "datasource": { |
| 620 | "type": "prometheus", |
| 621 | "uid": "dkSf71fnz" |
| 622 | }, |
| 623 | "exemplar": true, |
adheli.tavares | 1d9c756 | 2023-01-09 11:28:25 +0000 | [diff] [blame] | 624 | "expr": "avg(system_cpu_usage{job=~\"api-metrics|acm-metrics|pap-metrics|apex-pdp-metrics\"})", |
adheli.tavares | 1c98f1f | 2022-06-16 09:21:46 +0100 | [diff] [blame] | 625 | "format": "time_series", |
adheli.tavares | 57328ba | 2022-12-15 10:15:08 +0000 | [diff] [blame] | 626 | "interval": "", |
adheli.tavares | 1c98f1f | 2022-06-16 09:21:46 +0100 | [diff] [blame] | 627 | "intervalFactor": 1, |
| 628 | "legendFormat": "System CPU Usage", |
| 629 | "refId": "A" |
| 630 | }, |
| 631 | { |
adheli.tavares | 57328ba | 2022-12-15 10:15:08 +0000 | [diff] [blame] | 632 | "datasource": { |
| 633 | "type": "prometheus", |
| 634 | "uid": "dkSf71fnz" |
| 635 | }, |
| 636 | "exemplar": true, |
adheli.tavares | 1d9c756 | 2023-01-09 11:28:25 +0000 | [diff] [blame] | 637 | "expr": "avg(process_cpu_usage{job=~\"api-metrics|acm-metrics|pap-metrics|apex-pdp-metrics\"})", |
adheli.tavares | 1c98f1f | 2022-06-16 09:21:46 +0100 | [diff] [blame] | 638 | "format": "time_series", |
adheli.tavares | 57328ba | 2022-12-15 10:15:08 +0000 | [diff] [blame] | 639 | "interval": "", |
adheli.tavares | 1c98f1f | 2022-06-16 09:21:46 +0100 | [diff] [blame] | 640 | "intervalFactor": 1, |
| 641 | "legendFormat": "Process CPU Usage", |
| 642 | "refId": "B" |
| 643 | } |
| 644 | ], |
| 645 | "title": "CPU Usage", |
| 646 | "type": "timeseries" |
| 647 | }, |
| 648 | { |
adheli.tavares | 21c3a2b | 2024-10-31 16:01:59 +0000 | [diff] [blame^] | 649 | "datasource": { |
| 650 | "type": "prometheus", |
| 651 | "uid": "dkSf71fnz" |
| 652 | }, |
adheli.tavares | 1c98f1f | 2022-06-16 09:21:46 +0100 | [diff] [blame] | 653 | "fieldConfig": { |
| 654 | "defaults": { |
| 655 | "color": { |
| 656 | "mode": "palette-classic" |
| 657 | }, |
| 658 | "custom": { |
| 659 | "axisLabel": "", |
| 660 | "axisPlacement": "auto", |
| 661 | "barAlignment": 0, |
| 662 | "drawStyle": "line", |
| 663 | "fillOpacity": 0, |
| 664 | "gradientMode": "none", |
| 665 | "hideFrom": { |
| 666 | "legend": false, |
| 667 | "tooltip": false, |
| 668 | "viz": false |
| 669 | }, |
| 670 | "lineInterpolation": "linear", |
| 671 | "lineWidth": 1, |
| 672 | "pointSize": 5, |
| 673 | "scaleDistribution": { |
| 674 | "type": "linear" |
| 675 | }, |
| 676 | "showPoints": "auto", |
| 677 | "spanNulls": false, |
| 678 | "stacking": { |
| 679 | "group": "A", |
| 680 | "mode": "none" |
| 681 | }, |
| 682 | "thresholdsStyle": { |
| 683 | "mode": "off" |
| 684 | } |
| 685 | }, |
| 686 | "mappings": [], |
| 687 | "thresholds": { |
| 688 | "mode": "absolute", |
| 689 | "steps": [ |
| 690 | { |
adheli.tavares | 21c3a2b | 2024-10-31 16:01:59 +0000 | [diff] [blame^] | 691 | "color": "green" |
adheli.tavares | 1c98f1f | 2022-06-16 09:21:46 +0100 | [diff] [blame] | 692 | }, |
| 693 | { |
| 694 | "color": "red", |
| 695 | "value": 80 |
| 696 | } |
| 697 | ] |
| 698 | }, |
| 699 | "unit": "decbytes" |
| 700 | }, |
| 701 | "overrides": [] |
| 702 | }, |
| 703 | "gridPos": { |
| 704 | "h": 8, |
| 705 | "w": 12, |
| 706 | "x": 0, |
adheli.tavares | 0fd7cdc | 2023-01-13 09:14:23 +0000 | [diff] [blame] | 707 | "y": 28 |
adheli.tavares | 1c98f1f | 2022-06-16 09:21:46 +0100 | [diff] [blame] | 708 | }, |
| 709 | "id": 113, |
| 710 | "options": { |
| 711 | "legend": { |
| 712 | "calcs": [ |
| 713 | "lastNotNull", |
| 714 | "min", |
| 715 | "max" |
| 716 | ], |
| 717 | "displayMode": "table", |
adheli.tavares | 21c3a2b | 2024-10-31 16:01:59 +0000 | [diff] [blame^] | 718 | "placement": "right", |
| 719 | "showLegend": true |
adheli.tavares | 1c98f1f | 2022-06-16 09:21:46 +0100 | [diff] [blame] | 720 | }, |
| 721 | "tooltip": { |
| 722 | "mode": "single" |
| 723 | } |
| 724 | }, |
| 725 | "targets": [ |
| 726 | { |
| 727 | "datasource": { |
| 728 | "type": "prometheus", |
| 729 | "uid": "dkSf71fnz" |
| 730 | }, |
| 731 | "exemplar": true, |
adheli.tavares | 1d9c756 | 2023-01-09 11:28:25 +0000 | [diff] [blame] | 732 | "expr": "avg by (id) (jvm_memory_used_bytes{job=~\"api-metrics|acm-metrics|pap-metrics|apex-pdp-metrics\"})", |
adheli.tavares | 1c98f1f | 2022-06-16 09:21:46 +0100 | [diff] [blame] | 733 | "interval": "", |
| 734 | "legendFormat": "{{id}}", |
| 735 | "refId": "A" |
| 736 | } |
| 737 | ], |
| 738 | "title": "Memory Usage", |
| 739 | "type": "timeseries" |
| 740 | }, |
| 741 | { |
| 742 | "collapsed": false, |
adheli.tavares | 21c3a2b | 2024-10-31 16:01:59 +0000 | [diff] [blame^] | 743 | "datasource": { |
| 744 | "type": "prometheus", |
| 745 | "uid": "dkSf71fnz" |
| 746 | }, |
adheli.tavares | 1c98f1f | 2022-06-16 09:21:46 +0100 | [diff] [blame] | 747 | "gridPos": { |
| 748 | "h": 1, |
| 749 | "w": 24, |
| 750 | "x": 0, |
adheli.tavares | 0fd7cdc | 2023-01-13 09:14:23 +0000 | [diff] [blame] | 751 | "y": 36 |
adheli.tavares | 1c98f1f | 2022-06-16 09:21:46 +0100 | [diff] [blame] | 752 | }, |
| 753 | "id": 18, |
| 754 | "panels": [], |
adheli.tavares | 21c3a2b | 2024-10-31 16:01:59 +0000 | [diff] [blame^] | 755 | "targets": [ |
| 756 | { |
| 757 | "datasource": { |
| 758 | "type": "prometheus", |
| 759 | "uid": "dkSf71fnz" |
| 760 | }, |
| 761 | "refId": "A" |
| 762 | } |
| 763 | ], |
adheli.tavares | 1c98f1f | 2022-06-16 09:21:46 +0100 | [diff] [blame] | 764 | "title": "HTTP Statistics", |
| 765 | "type": "row" |
| 766 | }, |
| 767 | { |
adheli.tavares | 21c3a2b | 2024-10-31 16:01:59 +0000 | [diff] [blame^] | 768 | "datasource": { |
| 769 | "type": "prometheus", |
| 770 | "uid": "dkSf71fnz" |
| 771 | }, |
adheli.tavares | 1c98f1f | 2022-06-16 09:21:46 +0100 | [diff] [blame] | 772 | "fieldConfig": { |
| 773 | "defaults": { |
| 774 | "color": { |
| 775 | "mode": "palette-classic" |
| 776 | }, |
| 777 | "custom": { |
| 778 | "axisLabel": "", |
| 779 | "axisPlacement": "auto", |
| 780 | "barAlignment": 0, |
| 781 | "drawStyle": "line", |
| 782 | "fillOpacity": 10, |
| 783 | "gradientMode": "none", |
| 784 | "hideFrom": { |
| 785 | "legend": false, |
| 786 | "tooltip": false, |
| 787 | "viz": false |
| 788 | }, |
| 789 | "lineInterpolation": "linear", |
| 790 | "lineWidth": 1, |
| 791 | "pointSize": 5, |
| 792 | "scaleDistribution": { |
| 793 | "type": "linear" |
| 794 | }, |
| 795 | "showPoints": "never", |
| 796 | "spanNulls": true, |
| 797 | "stacking": { |
| 798 | "group": "A", |
| 799 | "mode": "none" |
| 800 | }, |
| 801 | "thresholdsStyle": { |
| 802 | "mode": "off" |
| 803 | } |
| 804 | }, |
| 805 | "links": [], |
| 806 | "mappings": [], |
| 807 | "thresholds": { |
| 808 | "mode": "absolute", |
| 809 | "steps": [ |
| 810 | { |
adheli.tavares | 21c3a2b | 2024-10-31 16:01:59 +0000 | [diff] [blame^] | 811 | "color": "green" |
adheli.tavares | 1c98f1f | 2022-06-16 09:21:46 +0100 | [diff] [blame] | 812 | }, |
| 813 | { |
| 814 | "color": "red", |
| 815 | "value": 80 |
| 816 | } |
| 817 | ] |
| 818 | }, |
| 819 | "unit": "none" |
| 820 | }, |
| 821 | "overrides": [] |
| 822 | }, |
| 823 | "gridPos": { |
adheli.tavares | 57328ba | 2022-12-15 10:15:08 +0000 | [diff] [blame] | 824 | "h": 10, |
adheli.tavares | 0fd7cdc | 2023-01-13 09:14:23 +0000 | [diff] [blame] | 825 | "w": 23, |
adheli.tavares | 1c98f1f | 2022-06-16 09:21:46 +0100 | [diff] [blame] | 826 | "x": 0, |
adheli.tavares | 0fd7cdc | 2023-01-13 09:14:23 +0000 | [diff] [blame] | 827 | "y": 37 |
adheli.tavares | 1c98f1f | 2022-06-16 09:21:46 +0100 | [diff] [blame] | 828 | }, |
| 829 | "id": 4, |
adheli.tavares | 1c98f1f | 2022-06-16 09:21:46 +0100 | [diff] [blame] | 830 | "options": { |
| 831 | "legend": { |
adheli.tavares | 57328ba | 2022-12-15 10:15:08 +0000 | [diff] [blame] | 832 | "calcs": [ |
| 833 | "lastNotNull", |
| 834 | "sum" |
| 835 | ], |
adheli.tavares | 1c98f1f | 2022-06-16 09:21:46 +0100 | [diff] [blame] | 836 | "displayMode": "table", |
adheli.tavares | 21c3a2b | 2024-10-31 16:01:59 +0000 | [diff] [blame^] | 837 | "placement": "right", |
| 838 | "showLegend": true |
adheli.tavares | 1c98f1f | 2022-06-16 09:21:46 +0100 | [diff] [blame] | 839 | }, |
| 840 | "tooltip": { |
| 841 | "mode": "single" |
| 842 | } |
| 843 | }, |
| 844 | "pluginVersion": "8.3.4", |
| 845 | "targets": [ |
| 846 | { |
adheli.tavares | 57328ba | 2022-12-15 10:15:08 +0000 | [diff] [blame] | 847 | "datasource": { |
| 848 | "type": "prometheus", |
| 849 | "uid": "dkSf71fnz" |
| 850 | }, |
| 851 | "exemplar": true, |
adheli.tavares | 21c3a2b | 2024-10-31 16:01:59 +0000 | [diff] [blame^] | 852 | "expr": "rate(http_server_requests_seconds_count{uri!~\".*metrics.*|.*prometheus.*\"}[$__range])", |
adheli.tavares | 1c98f1f | 2022-06-16 09:21:46 +0100 | [diff] [blame] | 853 | "format": "time_series", |
| 854 | "interval": "", |
| 855 | "intervalFactor": 1, |
adheli.tavares | 57328ba | 2022-12-15 10:15:08 +0000 | [diff] [blame] | 856 | "legendFormat": "{{method}} [{{status}}] - {{instance}}{{uri}}", |
adheli.tavares | 1c98f1f | 2022-06-16 09:21:46 +0100 | [diff] [blame] | 857 | "refId": "A" |
| 858 | } |
| 859 | ], |
| 860 | "title": "Request Count", |
| 861 | "type": "timeseries" |
| 862 | }, |
| 863 | { |
adheli.tavares | 21c3a2b | 2024-10-31 16:01:59 +0000 | [diff] [blame^] | 864 | "datasource": { |
| 865 | "type": "prometheus", |
| 866 | "uid": "dkSf71fnz" |
| 867 | }, |
adheli.tavares | 1c98f1f | 2022-06-16 09:21:46 +0100 | [diff] [blame] | 868 | "fieldConfig": { |
| 869 | "defaults": { |
| 870 | "color": { |
| 871 | "mode": "palette-classic" |
| 872 | }, |
| 873 | "custom": { |
| 874 | "axisLabel": "", |
| 875 | "axisPlacement": "auto", |
| 876 | "barAlignment": 0, |
| 877 | "drawStyle": "line", |
| 878 | "fillOpacity": 10, |
| 879 | "gradientMode": "none", |
| 880 | "hideFrom": { |
| 881 | "legend": false, |
| 882 | "tooltip": false, |
| 883 | "viz": false |
| 884 | }, |
| 885 | "lineInterpolation": "linear", |
| 886 | "lineWidth": 1, |
| 887 | "pointSize": 5, |
| 888 | "scaleDistribution": { |
| 889 | "type": "linear" |
| 890 | }, |
| 891 | "showPoints": "never", |
| 892 | "spanNulls": true, |
| 893 | "stacking": { |
| 894 | "group": "A", |
| 895 | "mode": "none" |
| 896 | }, |
| 897 | "thresholdsStyle": { |
| 898 | "mode": "off" |
| 899 | } |
| 900 | }, |
| 901 | "links": [], |
| 902 | "mappings": [], |
| 903 | "thresholds": { |
| 904 | "mode": "absolute", |
| 905 | "steps": [ |
| 906 | { |
adheli.tavares | 21c3a2b | 2024-10-31 16:01:59 +0000 | [diff] [blame^] | 907 | "color": "green" |
adheli.tavares | 1c98f1f | 2022-06-16 09:21:46 +0100 | [diff] [blame] | 908 | }, |
| 909 | { |
| 910 | "color": "red", |
| 911 | "value": 80 |
| 912 | } |
| 913 | ] |
| 914 | }, |
| 915 | "unit": "s" |
| 916 | }, |
| 917 | "overrides": [] |
| 918 | }, |
| 919 | "gridPos": { |
| 920 | "h": 10, |
adheli.tavares | 0fd7cdc | 2023-01-13 09:14:23 +0000 | [diff] [blame] | 921 | "w": 23, |
adheli.tavares | 1c98f1f | 2022-06-16 09:21:46 +0100 | [diff] [blame] | 922 | "x": 0, |
adheli.tavares | 0fd7cdc | 2023-01-13 09:14:23 +0000 | [diff] [blame] | 923 | "y": 47 |
adheli.tavares | 1c98f1f | 2022-06-16 09:21:46 +0100 | [diff] [blame] | 924 | }, |
| 925 | "id": 2, |
adheli.tavares | 1c98f1f | 2022-06-16 09:21:46 +0100 | [diff] [blame] | 926 | "options": { |
| 927 | "legend": { |
| 928 | "calcs": [ |
| 929 | "mean", |
| 930 | "max", |
adheli.tavares | 0fd7cdc | 2023-01-13 09:14:23 +0000 | [diff] [blame] | 931 | "min", |
| 932 | "lastNotNull" |
adheli.tavares | 1c98f1f | 2022-06-16 09:21:46 +0100 | [diff] [blame] | 933 | ], |
| 934 | "displayMode": "table", |
adheli.tavares | 21c3a2b | 2024-10-31 16:01:59 +0000 | [diff] [blame^] | 935 | "placement": "right", |
| 936 | "showLegend": true |
adheli.tavares | 1c98f1f | 2022-06-16 09:21:46 +0100 | [diff] [blame] | 937 | }, |
| 938 | "tooltip": { |
| 939 | "mode": "single" |
| 940 | } |
| 941 | }, |
| 942 | "pluginVersion": "8.3.4", |
| 943 | "targets": [ |
| 944 | { |
adheli.tavares | 57328ba | 2022-12-15 10:15:08 +0000 | [diff] [blame] | 945 | "datasource": { |
| 946 | "type": "prometheus", |
| 947 | "uid": "dkSf71fnz" |
| 948 | }, |
| 949 | "exemplar": true, |
adheli.tavares | 21c3a2b | 2024-10-31 16:01:59 +0000 | [diff] [blame^] | 950 | "expr": "irate(http_server_requests_seconds_sum{job=~\"api-metrics|acm-metrics|pap-metrics\",outcome=\"SUCCESS\",uri!~\".*metrics.*|.*prometheus.*\"}[$__range]) / irate(http_server_requests_seconds_count{job=~\"api-metrics|acm-metrics|pap-metrics\",outcome=\"SUCCESS\",uri!~\".*metrics.*|.*prometheus.*\"}[$__range])", |
adheli.tavares | 1c98f1f | 2022-06-16 09:21:46 +0100 | [diff] [blame] | 951 | "format": "time_series", |
adheli.tavares | 57328ba | 2022-12-15 10:15:08 +0000 | [diff] [blame] | 952 | "interval": "", |
adheli.tavares | 1c98f1f | 2022-06-16 09:21:46 +0100 | [diff] [blame] | 953 | "intervalFactor": 1, |
adheli.tavares | 57328ba | 2022-12-15 10:15:08 +0000 | [diff] [blame] | 954 | "legendFormat": "{{method}} [{{status}}] - {{instance}}{{uri}}", |
adheli.tavares | 1c98f1f | 2022-06-16 09:21:46 +0100 | [diff] [blame] | 955 | "refId": "A" |
| 956 | } |
| 957 | ], |
| 958 | "title": "Response Time", |
| 959 | "type": "timeseries" |
| 960 | }, |
| 961 | { |
adheli.tavares | 21c3a2b | 2024-10-31 16:01:59 +0000 | [diff] [blame^] | 962 | "datasource": { |
| 963 | "type": "prometheus", |
| 964 | "uid": "dkSf71fnz" |
| 965 | }, |
adheli.tavares | 1c98f1f | 2022-06-16 09:21:46 +0100 | [diff] [blame] | 966 | "fieldConfig": { |
| 967 | "defaults": { |
| 968 | "color": { |
| 969 | "mode": "palette-classic" |
| 970 | }, |
| 971 | "custom": { |
| 972 | "axisLabel": "", |
| 973 | "axisPlacement": "auto", |
| 974 | "barAlignment": 0, |
| 975 | "drawStyle": "line", |
| 976 | "fillOpacity": 10, |
| 977 | "gradientMode": "none", |
| 978 | "hideFrom": { |
| 979 | "legend": false, |
| 980 | "tooltip": false, |
| 981 | "viz": false |
| 982 | }, |
| 983 | "lineInterpolation": "linear", |
| 984 | "lineWidth": 1, |
| 985 | "pointSize": 5, |
| 986 | "scaleDistribution": { |
| 987 | "type": "linear" |
| 988 | }, |
| 989 | "showPoints": "never", |
| 990 | "spanNulls": true, |
| 991 | "stacking": { |
| 992 | "group": "A", |
| 993 | "mode": "none" |
| 994 | }, |
| 995 | "thresholdsStyle": { |
| 996 | "mode": "off" |
| 997 | } |
| 998 | }, |
| 999 | "links": [], |
| 1000 | "mappings": [], |
| 1001 | "thresholds": { |
| 1002 | "mode": "absolute", |
| 1003 | "steps": [ |
| 1004 | { |
adheli.tavares | 21c3a2b | 2024-10-31 16:01:59 +0000 | [diff] [blame^] | 1005 | "color": "green" |
adheli.tavares | 1c98f1f | 2022-06-16 09:21:46 +0100 | [diff] [blame] | 1006 | }, |
| 1007 | { |
| 1008 | "color": "red", |
| 1009 | "value": 80 |
| 1010 | } |
| 1011 | ] |
| 1012 | }, |
| 1013 | "unit": "locale" |
| 1014 | }, |
| 1015 | "overrides": [] |
| 1016 | }, |
| 1017 | "gridPos": { |
adheli.tavares | 0fd7cdc | 2023-01-13 09:14:23 +0000 | [diff] [blame] | 1018 | "h": 10, |
| 1019 | "w": 22, |
adheli.tavares | 1c98f1f | 2022-06-16 09:21:46 +0100 | [diff] [blame] | 1020 | "x": 0, |
adheli.tavares | 0fd7cdc | 2023-01-13 09:14:23 +0000 | [diff] [blame] | 1021 | "y": 57 |
adheli.tavares | 1c98f1f | 2022-06-16 09:21:46 +0100 | [diff] [blame] | 1022 | }, |
| 1023 | "id": 111, |
adheli.tavares | 1c98f1f | 2022-06-16 09:21:46 +0100 | [diff] [blame] | 1024 | "options": { |
| 1025 | "legend": { |
adheli.tavares | 57328ba | 2022-12-15 10:15:08 +0000 | [diff] [blame] | 1026 | "calcs": [ |
| 1027 | "lastNotNull", |
| 1028 | "max" |
| 1029 | ], |
| 1030 | "displayMode": "table", |
adheli.tavares | 21c3a2b | 2024-10-31 16:01:59 +0000 | [diff] [blame^] | 1031 | "placement": "right", |
| 1032 | "showLegend": true |
adheli.tavares | 1c98f1f | 2022-06-16 09:21:46 +0100 | [diff] [blame] | 1033 | }, |
| 1034 | "tooltip": { |
| 1035 | "mode": "single" |
| 1036 | } |
| 1037 | }, |
| 1038 | "pluginVersion": "8.3.4", |
| 1039 | "targets": [ |
| 1040 | { |
adheli.tavares | 57328ba | 2022-12-15 10:15:08 +0000 | [diff] [blame] | 1041 | "datasource": { |
| 1042 | "type": "prometheus", |
| 1043 | "uid": "dkSf71fnz" |
| 1044 | }, |
| 1045 | "exemplar": true, |
adheli.tavares | dae767c | 2023-11-30 16:07:46 +0000 | [diff] [blame] | 1046 | "expr": "http_server_requests_seconds_max{job=~\"api-metrics|acm-metrics|pap-metrics\",uri!~\".*metrics.*|.*prometheus.*\"}", |
adheli.tavares | 1c98f1f | 2022-06-16 09:21:46 +0100 | [diff] [blame] | 1047 | "format": "time_series", |
| 1048 | "interval": "", |
| 1049 | "intervalFactor": 1, |
adheli.tavares | 57328ba | 2022-12-15 10:15:08 +0000 | [diff] [blame] | 1050 | "legendFormat": "{{method}} [{{status}}] - {{instance}}{{uri}}", |
adheli.tavares | 1c98f1f | 2022-06-16 09:21:46 +0100 | [diff] [blame] | 1051 | "refId": "A" |
| 1052 | } |
| 1053 | ], |
| 1054 | "title": "HTTP Server Requests Max", |
| 1055 | "type": "timeseries" |
adheli.tavares | 57328ba | 2022-12-15 10:15:08 +0000 | [diff] [blame] | 1056 | }, |
| 1057 | { |
| 1058 | "collapsed": false, |
adheli.tavares | 21c3a2b | 2024-10-31 16:01:59 +0000 | [diff] [blame^] | 1059 | "datasource": { |
| 1060 | "type": "prometheus", |
| 1061 | "uid": "dkSf71fnz" |
| 1062 | }, |
adheli.tavares | 57328ba | 2022-12-15 10:15:08 +0000 | [diff] [blame] | 1063 | "gridPos": { |
| 1064 | "h": 1, |
| 1065 | "w": 24, |
| 1066 | "x": 0, |
adheli.tavares | 0fd7cdc | 2023-01-13 09:14:23 +0000 | [diff] [blame] | 1067 | "y": 67 |
adheli.tavares | 57328ba | 2022-12-15 10:15:08 +0000 | [diff] [blame] | 1068 | }, |
| 1069 | "id": 115, |
| 1070 | "panels": [], |
adheli.tavares | 21c3a2b | 2024-10-31 16:01:59 +0000 | [diff] [blame^] | 1071 | "targets": [ |
| 1072 | { |
| 1073 | "datasource": { |
| 1074 | "type": "prometheus", |
| 1075 | "uid": "dkSf71fnz" |
| 1076 | }, |
| 1077 | "refId": "A" |
| 1078 | } |
| 1079 | ], |
adheli.tavares | 57328ba | 2022-12-15 10:15:08 +0000 | [diff] [blame] | 1080 | "title": "Deployment statistics", |
| 1081 | "type": "row" |
| 1082 | }, |
| 1083 | { |
adheli.tavares | 21c3a2b | 2024-10-31 16:01:59 +0000 | [diff] [blame^] | 1084 | "datasource": { |
| 1085 | "type": "prometheus", |
| 1086 | "uid": "dkSf71fnz" |
| 1087 | }, |
adheli.tavares | 57328ba | 2022-12-15 10:15:08 +0000 | [diff] [blame] | 1088 | "fieldConfig": { |
| 1089 | "defaults": { |
| 1090 | "mappings": [], |
| 1091 | "thresholds": { |
| 1092 | "mode": "absolute", |
| 1093 | "steps": [ |
| 1094 | { |
adheli.tavares | 21c3a2b | 2024-10-31 16:01:59 +0000 | [diff] [blame^] | 1095 | "color": "green" |
adheli.tavares | 57328ba | 2022-12-15 10:15:08 +0000 | [diff] [blame] | 1096 | }, |
| 1097 | { |
| 1098 | "color": "red", |
| 1099 | "value": 80 |
| 1100 | } |
| 1101 | ] |
| 1102 | }, |
| 1103 | "unit": "short" |
| 1104 | }, |
| 1105 | "overrides": [] |
| 1106 | }, |
| 1107 | "gridPos": { |
| 1108 | "h": 6, |
| 1109 | "w": 3, |
| 1110 | "x": 0, |
adheli.tavares | 0fd7cdc | 2023-01-13 09:14:23 +0000 | [diff] [blame] | 1111 | "y": 68 |
adheli.tavares | 57328ba | 2022-12-15 10:15:08 +0000 | [diff] [blame] | 1112 | }, |
| 1113 | "id": 117, |
| 1114 | "options": { |
| 1115 | "colorMode": "value", |
| 1116 | "graphMode": "area", |
| 1117 | "justifyMode": "auto", |
| 1118 | "orientation": "auto", |
| 1119 | "reduceOptions": { |
| 1120 | "calcs": [ |
| 1121 | "lastNotNull" |
| 1122 | ], |
| 1123 | "fields": "", |
| 1124 | "values": false |
| 1125 | }, |
| 1126 | "textMode": "auto" |
| 1127 | }, |
| 1128 | "pluginVersion": "8.3.4", |
| 1129 | "targets": [ |
| 1130 | { |
| 1131 | "datasource": { |
| 1132 | "type": "prometheus", |
| 1133 | "uid": "dkSf71fnz" |
| 1134 | }, |
| 1135 | "exemplar": true, |
adheli.tavares | dae767c | 2023-11-30 16:07:46 +0000 | [diff] [blame] | 1136 | "expr": "pap_policy_deployments_total{operation=\"deploy\",status=\"SUCCESS\"}", |
adheli.tavares | 57328ba | 2022-12-15 10:15:08 +0000 | [diff] [blame] | 1137 | "interval": "", |
| 1138 | "legendFormat": "", |
| 1139 | "refId": "A" |
| 1140 | } |
| 1141 | ], |
| 1142 | "title": "Successful deployments", |
| 1143 | "type": "stat" |
| 1144 | }, |
| 1145 | { |
adheli.tavares | 21c3a2b | 2024-10-31 16:01:59 +0000 | [diff] [blame^] | 1146 | "datasource": { |
| 1147 | "type": "prometheus", |
| 1148 | "uid": "dkSf71fnz" |
| 1149 | }, |
adheli.tavares | 57328ba | 2022-12-15 10:15:08 +0000 | [diff] [blame] | 1150 | "fieldConfig": { |
| 1151 | "defaults": { |
| 1152 | "mappings": [], |
| 1153 | "thresholds": { |
| 1154 | "mode": "absolute", |
| 1155 | "steps": [ |
| 1156 | { |
adheli.tavares | 21c3a2b | 2024-10-31 16:01:59 +0000 | [diff] [blame^] | 1157 | "color": "green" |
adheli.tavares | 57328ba | 2022-12-15 10:15:08 +0000 | [diff] [blame] | 1158 | }, |
| 1159 | { |
| 1160 | "color": "red", |
| 1161 | "value": 80 |
| 1162 | } |
| 1163 | ] |
| 1164 | }, |
| 1165 | "unit": "short" |
| 1166 | }, |
| 1167 | "overrides": [] |
| 1168 | }, |
| 1169 | "gridPos": { |
| 1170 | "h": 6, |
| 1171 | "w": 3, |
| 1172 | "x": 3, |
adheli.tavares | 0fd7cdc | 2023-01-13 09:14:23 +0000 | [diff] [blame] | 1173 | "y": 68 |
adheli.tavares | 57328ba | 2022-12-15 10:15:08 +0000 | [diff] [blame] | 1174 | }, |
| 1175 | "id": 118, |
| 1176 | "options": { |
| 1177 | "colorMode": "value", |
| 1178 | "graphMode": "area", |
| 1179 | "justifyMode": "auto", |
| 1180 | "orientation": "auto", |
| 1181 | "reduceOptions": { |
| 1182 | "calcs": [ |
| 1183 | "lastNotNull" |
| 1184 | ], |
| 1185 | "fields": "", |
| 1186 | "values": false |
| 1187 | }, |
| 1188 | "textMode": "auto" |
| 1189 | }, |
| 1190 | "pluginVersion": "8.3.4", |
| 1191 | "targets": [ |
| 1192 | { |
| 1193 | "datasource": { |
| 1194 | "type": "prometheus", |
| 1195 | "uid": "dkSf71fnz" |
| 1196 | }, |
| 1197 | "exemplar": true, |
adheli.tavares | dae767c | 2023-11-30 16:07:46 +0000 | [diff] [blame] | 1198 | "expr": "pap_policy_deployments_total{operation=\"undeploy\",status=\"SUCCESS\"}", |
adheli.tavares | 57328ba | 2022-12-15 10:15:08 +0000 | [diff] [blame] | 1199 | "interval": "", |
| 1200 | "legendFormat": "", |
| 1201 | "refId": "A" |
| 1202 | } |
| 1203 | ], |
| 1204 | "title": "Successful undeployments", |
| 1205 | "type": "stat" |
| 1206 | }, |
| 1207 | { |
adheli.tavares | 21c3a2b | 2024-10-31 16:01:59 +0000 | [diff] [blame^] | 1208 | "datasource": { |
| 1209 | "type": "prometheus", |
| 1210 | "uid": "dkSf71fnz" |
| 1211 | }, |
adheli.tavares | 57328ba | 2022-12-15 10:15:08 +0000 | [diff] [blame] | 1212 | "fieldConfig": { |
| 1213 | "defaults": { |
| 1214 | "mappings": [], |
| 1215 | "thresholds": { |
| 1216 | "mode": "absolute", |
| 1217 | "steps": [ |
| 1218 | { |
adheli.tavares | 21c3a2b | 2024-10-31 16:01:59 +0000 | [diff] [blame^] | 1219 | "color": "green" |
adheli.tavares | 57328ba | 2022-12-15 10:15:08 +0000 | [diff] [blame] | 1220 | }, |
| 1221 | { |
| 1222 | "color": "red", |
| 1223 | "value": 1 |
| 1224 | } |
| 1225 | ] |
| 1226 | }, |
| 1227 | "unit": "short" |
| 1228 | }, |
| 1229 | "overrides": [] |
| 1230 | }, |
| 1231 | "gridPos": { |
| 1232 | "h": 6, |
| 1233 | "w": 3, |
| 1234 | "x": 6, |
adheli.tavares | 0fd7cdc | 2023-01-13 09:14:23 +0000 | [diff] [blame] | 1235 | "y": 68 |
adheli.tavares | 57328ba | 2022-12-15 10:15:08 +0000 | [diff] [blame] | 1236 | }, |
| 1237 | "id": 119, |
| 1238 | "options": { |
| 1239 | "colorMode": "value", |
| 1240 | "graphMode": "area", |
| 1241 | "justifyMode": "auto", |
| 1242 | "orientation": "auto", |
| 1243 | "reduceOptions": { |
| 1244 | "calcs": [ |
| 1245 | "lastNotNull" |
| 1246 | ], |
| 1247 | "fields": "", |
| 1248 | "values": false |
| 1249 | }, |
| 1250 | "textMode": "auto" |
| 1251 | }, |
| 1252 | "pluginVersion": "8.3.4", |
| 1253 | "targets": [ |
| 1254 | { |
| 1255 | "datasource": { |
| 1256 | "type": "prometheus", |
| 1257 | "uid": "dkSf71fnz" |
| 1258 | }, |
| 1259 | "exemplar": true, |
adheli.tavares | dae767c | 2023-11-30 16:07:46 +0000 | [diff] [blame] | 1260 | "expr": "pap_policy_deployments_total{operation=\"deploy\",status=\"FAILURE\"}", |
adheli.tavares | 57328ba | 2022-12-15 10:15:08 +0000 | [diff] [blame] | 1261 | "interval": "", |
| 1262 | "legendFormat": "", |
| 1263 | "refId": "A" |
| 1264 | } |
| 1265 | ], |
| 1266 | "title": "Failed deployments", |
| 1267 | "type": "stat" |
| 1268 | }, |
| 1269 | { |
adheli.tavares | 21c3a2b | 2024-10-31 16:01:59 +0000 | [diff] [blame^] | 1270 | "datasource": { |
| 1271 | "type": "prometheus", |
| 1272 | "uid": "dkSf71fnz" |
| 1273 | }, |
adheli.tavares | 57328ba | 2022-12-15 10:15:08 +0000 | [diff] [blame] | 1274 | "fieldConfig": { |
| 1275 | "defaults": { |
| 1276 | "mappings": [], |
| 1277 | "thresholds": { |
| 1278 | "mode": "absolute", |
| 1279 | "steps": [ |
| 1280 | { |
adheli.tavares | 21c3a2b | 2024-10-31 16:01:59 +0000 | [diff] [blame^] | 1281 | "color": "green" |
adheli.tavares | 57328ba | 2022-12-15 10:15:08 +0000 | [diff] [blame] | 1282 | }, |
| 1283 | { |
| 1284 | "color": "red", |
| 1285 | "value": 1 |
| 1286 | } |
| 1287 | ] |
| 1288 | }, |
| 1289 | "unit": "short" |
| 1290 | }, |
| 1291 | "overrides": [] |
| 1292 | }, |
| 1293 | "gridPos": { |
| 1294 | "h": 6, |
| 1295 | "w": 3, |
| 1296 | "x": 9, |
adheli.tavares | 0fd7cdc | 2023-01-13 09:14:23 +0000 | [diff] [blame] | 1297 | "y": 68 |
adheli.tavares | 57328ba | 2022-12-15 10:15:08 +0000 | [diff] [blame] | 1298 | }, |
| 1299 | "id": 120, |
| 1300 | "options": { |
| 1301 | "colorMode": "value", |
| 1302 | "graphMode": "area", |
| 1303 | "justifyMode": "auto", |
| 1304 | "orientation": "auto", |
| 1305 | "reduceOptions": { |
| 1306 | "calcs": [ |
| 1307 | "lastNotNull" |
| 1308 | ], |
| 1309 | "fields": "", |
| 1310 | "values": false |
| 1311 | }, |
| 1312 | "textMode": "auto" |
| 1313 | }, |
| 1314 | "pluginVersion": "8.3.4", |
| 1315 | "targets": [ |
| 1316 | { |
| 1317 | "datasource": { |
| 1318 | "type": "prometheus", |
| 1319 | "uid": "dkSf71fnz" |
| 1320 | }, |
| 1321 | "exemplar": true, |
adheli.tavares | dae767c | 2023-11-30 16:07:46 +0000 | [diff] [blame] | 1322 | "expr": "pap_policy_deployments_total{operation=\"undeploy\",status=\"FAILURE\"}", |
adheli.tavares | 57328ba | 2022-12-15 10:15:08 +0000 | [diff] [blame] | 1323 | "interval": "", |
| 1324 | "legendFormat": "", |
| 1325 | "refId": "A" |
| 1326 | } |
| 1327 | ], |
| 1328 | "title": "Failed undeployments", |
| 1329 | "type": "stat" |
| 1330 | }, |
| 1331 | { |
adheli.tavares | 21c3a2b | 2024-10-31 16:01:59 +0000 | [diff] [blame^] | 1332 | "datasource": { |
| 1333 | "type": "prometheus", |
| 1334 | "uid": "dkSf71fnz" |
| 1335 | }, |
adheli.tavares | 1d9c756 | 2023-01-09 11:28:25 +0000 | [diff] [blame] | 1336 | "description": "Policy Executions Total for APEX-PDP", |
| 1337 | "fieldConfig": { |
| 1338 | "defaults": { |
| 1339 | "mappings": [], |
| 1340 | "thresholds": { |
| 1341 | "mode": "absolute", |
| 1342 | "steps": [ |
| 1343 | { |
adheli.tavares | 21c3a2b | 2024-10-31 16:01:59 +0000 | [diff] [blame^] | 1344 | "color": "green" |
adheli.tavares | 1d9c756 | 2023-01-09 11:28:25 +0000 | [diff] [blame] | 1345 | }, |
| 1346 | { |
| 1347 | "color": "red", |
| 1348 | "value": 80 |
| 1349 | } |
| 1350 | ] |
| 1351 | }, |
| 1352 | "unit": "short" |
| 1353 | }, |
| 1354 | "overrides": [] |
| 1355 | }, |
| 1356 | "gridPos": { |
| 1357 | "h": 8, |
| 1358 | "w": 12, |
| 1359 | "x": 0, |
adheli.tavares | 0fd7cdc | 2023-01-13 09:14:23 +0000 | [diff] [blame] | 1360 | "y": 74 |
adheli.tavares | 1d9c756 | 2023-01-09 11:28:25 +0000 | [diff] [blame] | 1361 | }, |
| 1362 | "id": 128, |
| 1363 | "options": { |
| 1364 | "colorMode": "value", |
| 1365 | "graphMode": "area", |
| 1366 | "justifyMode": "auto", |
| 1367 | "orientation": "auto", |
| 1368 | "reduceOptions": { |
| 1369 | "calcs": [ |
| 1370 | "lastNotNull" |
| 1371 | ], |
| 1372 | "fields": "", |
| 1373 | "values": false |
| 1374 | }, |
| 1375 | "textMode": "auto" |
| 1376 | }, |
| 1377 | "pluginVersion": "8.3.4", |
| 1378 | "targets": [ |
| 1379 | { |
| 1380 | "datasource": { |
| 1381 | "type": "prometheus", |
| 1382 | "uid": "dkSf71fnz" |
| 1383 | }, |
| 1384 | "exemplar": true, |
adheli.tavares | dae767c | 2023-11-30 16:07:46 +0000 | [diff] [blame] | 1385 | "expr": "pdpa_policy_executions_total{job=\"apex-pdp-metrics\",status=\"SUCCESS\"}", |
adheli.tavares | 1d9c756 | 2023-01-09 11:28:25 +0000 | [diff] [blame] | 1386 | "interval": "", |
| 1387 | "legendFormat": "Successful", |
| 1388 | "refId": "A" |
| 1389 | }, |
| 1390 | { |
| 1391 | "datasource": { |
| 1392 | "type": "prometheus", |
| 1393 | "uid": "dkSf71fnz" |
| 1394 | }, |
| 1395 | "exemplar": true, |
adheli.tavares | dae767c | 2023-11-30 16:07:46 +0000 | [diff] [blame] | 1396 | "expr": "pdpa_policy_executions_total{job=\"apex-pdp-metrics\",status=\"FAIL\"}", |
adheli.tavares | 1d9c756 | 2023-01-09 11:28:25 +0000 | [diff] [blame] | 1397 | "hide": false, |
| 1398 | "interval": "", |
| 1399 | "legendFormat": "Failed", |
| 1400 | "refId": "B" |
| 1401 | }, |
| 1402 | { |
| 1403 | "datasource": { |
| 1404 | "type": "prometheus", |
| 1405 | "uid": "dkSf71fnz" |
| 1406 | }, |
| 1407 | "exemplar": true, |
adheli.tavares | dae767c | 2023-11-30 16:07:46 +0000 | [diff] [blame] | 1408 | "expr": "pdpa_policy_executions_total{job=\"apex-pdp-metrics\",status=\"TOTAL\"}", |
adheli.tavares | 1d9c756 | 2023-01-09 11:28:25 +0000 | [diff] [blame] | 1409 | "hide": false, |
| 1410 | "interval": "", |
| 1411 | "legendFormat": "Total", |
| 1412 | "refId": "C" |
| 1413 | } |
| 1414 | ], |
| 1415 | "title": "Policy Executions", |
| 1416 | "type": "stat" |
| 1417 | }, |
| 1418 | { |
adheli.tavares | 21c3a2b | 2024-10-31 16:01:59 +0000 | [diff] [blame^] | 1419 | "datasource": { |
| 1420 | "type": "prometheus", |
| 1421 | "uid": "dkSf71fnz" |
| 1422 | }, |
adheli.tavares | 57328ba | 2022-12-15 10:15:08 +0000 | [diff] [blame] | 1423 | "fieldConfig": { |
| 1424 | "defaults": { |
| 1425 | "color": { |
| 1426 | "mode": "palette-classic" |
| 1427 | }, |
| 1428 | "custom": { |
| 1429 | "axisLabel": "", |
| 1430 | "axisPlacement": "auto", |
| 1431 | "barAlignment": 0, |
| 1432 | "drawStyle": "line", |
| 1433 | "fillOpacity": 0, |
| 1434 | "gradientMode": "none", |
| 1435 | "hideFrom": { |
| 1436 | "legend": false, |
| 1437 | "tooltip": false, |
| 1438 | "viz": false |
| 1439 | }, |
| 1440 | "lineInterpolation": "linear", |
| 1441 | "lineWidth": 1, |
| 1442 | "pointSize": 5, |
| 1443 | "scaleDistribution": { |
| 1444 | "type": "linear" |
| 1445 | }, |
| 1446 | "showPoints": "auto", |
| 1447 | "spanNulls": false, |
| 1448 | "stacking": { |
| 1449 | "group": "A", |
| 1450 | "mode": "none" |
| 1451 | }, |
| 1452 | "thresholdsStyle": { |
| 1453 | "mode": "off" |
| 1454 | } |
| 1455 | }, |
| 1456 | "mappings": [], |
| 1457 | "thresholds": { |
| 1458 | "mode": "absolute", |
| 1459 | "steps": [ |
| 1460 | { |
adheli.tavares | 21c3a2b | 2024-10-31 16:01:59 +0000 | [diff] [blame^] | 1461 | "color": "green" |
adheli.tavares | 57328ba | 2022-12-15 10:15:08 +0000 | [diff] [blame] | 1462 | }, |
| 1463 | { |
| 1464 | "color": "red", |
| 1465 | "value": 400 |
| 1466 | } |
| 1467 | ] |
| 1468 | }, |
| 1469 | "unit": "ms" |
| 1470 | }, |
| 1471 | "overrides": [] |
| 1472 | }, |
| 1473 | "gridPos": { |
| 1474 | "h": 8, |
| 1475 | "w": 12, |
| 1476 | "x": 0, |
adheli.tavares | 0fd7cdc | 2023-01-13 09:14:23 +0000 | [diff] [blame] | 1477 | "y": 82 |
adheli.tavares | 57328ba | 2022-12-15 10:15:08 +0000 | [diff] [blame] | 1478 | }, |
| 1479 | "id": 122, |
| 1480 | "options": { |
| 1481 | "legend": { |
| 1482 | "calcs": [ |
| 1483 | "lastNotNull", |
| 1484 | "min", |
| 1485 | "max" |
| 1486 | ], |
| 1487 | "displayMode": "table", |
adheli.tavares | 21c3a2b | 2024-10-31 16:01:59 +0000 | [diff] [blame^] | 1488 | "placement": "right", |
| 1489 | "showLegend": true |
adheli.tavares | 57328ba | 2022-12-15 10:15:08 +0000 | [diff] [blame] | 1490 | }, |
| 1491 | "tooltip": { |
| 1492 | "mode": "single" |
| 1493 | } |
| 1494 | }, |
| 1495 | "targets": [ |
| 1496 | { |
| 1497 | "datasource": { |
| 1498 | "type": "prometheus", |
| 1499 | "uid": "dkSf71fnz" |
| 1500 | }, |
| 1501 | "exemplar": true, |
adheli.tavares | 21c3a2b | 2024-10-31 16:01:59 +0000 | [diff] [blame^] | 1502 | "expr": "irate(pap_policy_deployments_seconds_sum[$__range])/irate(pap_policy_deployments_seconds_count[$__range])", |
adheli.tavares | 57328ba | 2022-12-15 10:15:08 +0000 | [diff] [blame] | 1503 | "interval": "", |
| 1504 | "legendFormat": "{{operation}} - {{status}}", |
| 1505 | "refId": "A" |
| 1506 | } |
| 1507 | ], |
| 1508 | "title": "Deployment timing", |
| 1509 | "type": "timeseries" |
adheli.tavares | 1d9c756 | 2023-01-09 11:28:25 +0000 | [diff] [blame] | 1510 | }, |
| 1511 | { |
| 1512 | "collapsed": false, |
adheli.tavares | 21c3a2b | 2024-10-31 16:01:59 +0000 | [diff] [blame^] | 1513 | "datasource": { |
| 1514 | "type": "prometheus", |
| 1515 | "uid": "dkSf71fnz" |
| 1516 | }, |
adheli.tavares | 1d9c756 | 2023-01-09 11:28:25 +0000 | [diff] [blame] | 1517 | "gridPos": { |
| 1518 | "h": 1, |
| 1519 | "w": 24, |
| 1520 | "x": 0, |
adheli.tavares | 0fd7cdc | 2023-01-13 09:14:23 +0000 | [diff] [blame] | 1521 | "y": 90 |
adheli.tavares | 1d9c756 | 2023-01-09 11:28:25 +0000 | [diff] [blame] | 1522 | }, |
| 1523 | "id": 124, |
| 1524 | "panels": [], |
adheli.tavares | 21c3a2b | 2024-10-31 16:01:59 +0000 | [diff] [blame^] | 1525 | "targets": [ |
| 1526 | { |
| 1527 | "datasource": { |
| 1528 | "type": "prometheus", |
| 1529 | "uid": "dkSf71fnz" |
| 1530 | }, |
| 1531 | "refId": "A" |
| 1532 | } |
| 1533 | ], |
adheli.tavares | 1d9c756 | 2023-01-09 11:28:25 +0000 | [diff] [blame] | 1534 | "title": "Apex-PDP", |
| 1535 | "type": "row" |
| 1536 | }, |
| 1537 | { |
adheli.tavares | 21c3a2b | 2024-10-31 16:01:59 +0000 | [diff] [blame^] | 1538 | "datasource": { |
| 1539 | "type": "prometheus", |
| 1540 | "uid": "dkSf71fnz" |
| 1541 | }, |
adheli.tavares | 1d9c756 | 2023-01-09 11:28:25 +0000 | [diff] [blame] | 1542 | "fieldConfig": { |
| 1543 | "defaults": { |
| 1544 | "color": { |
| 1545 | "mode": "fixed" |
| 1546 | }, |
| 1547 | "mappings": [ |
| 1548 | { |
| 1549 | "options": { |
| 1550 | "0": { |
| 1551 | "color": "red", |
| 1552 | "index": 0, |
| 1553 | "text": "Undefined" |
| 1554 | }, |
| 1555 | "1": { |
| 1556 | "color": "#ffffff", |
| 1557 | "index": 1, |
| 1558 | "text": "Stopped" |
| 1559 | }, |
| 1560 | "2": { |
| 1561 | "color": "blue", |
| 1562 | "index": 2, |
| 1563 | "text": "Ready" |
| 1564 | }, |
| 1565 | "3": { |
| 1566 | "color": "green", |
| 1567 | "index": 3, |
| 1568 | "text": "Running" |
| 1569 | }, |
| 1570 | "4": { |
| 1571 | "color": "yellow", |
| 1572 | "index": 4, |
| 1573 | "text": "Stopping" |
| 1574 | } |
| 1575 | }, |
| 1576 | "type": "value" |
| 1577 | } |
| 1578 | ], |
| 1579 | "thresholds": { |
| 1580 | "mode": "absolute", |
| 1581 | "steps": [ |
| 1582 | { |
adheli.tavares | 21c3a2b | 2024-10-31 16:01:59 +0000 | [diff] [blame^] | 1583 | "color": "green" |
adheli.tavares | 1d9c756 | 2023-01-09 11:28:25 +0000 | [diff] [blame] | 1584 | }, |
| 1585 | { |
| 1586 | "color": "red", |
| 1587 | "value": 80 |
| 1588 | } |
| 1589 | ] |
| 1590 | }, |
| 1591 | "unit": "short" |
| 1592 | }, |
| 1593 | "overrides": [] |
| 1594 | }, |
| 1595 | "gridPos": { |
| 1596 | "h": 8, |
| 1597 | "w": 5, |
| 1598 | "x": 0, |
adheli.tavares | 0fd7cdc | 2023-01-13 09:14:23 +0000 | [diff] [blame] | 1599 | "y": 91 |
adheli.tavares | 1d9c756 | 2023-01-09 11:28:25 +0000 | [diff] [blame] | 1600 | }, |
| 1601 | "id": 126, |
| 1602 | "options": { |
| 1603 | "colorMode": "value", |
| 1604 | "graphMode": "area", |
| 1605 | "justifyMode": "auto", |
| 1606 | "orientation": "horizontal", |
| 1607 | "reduceOptions": { |
| 1608 | "calcs": [ |
| 1609 | "lastNotNull" |
| 1610 | ], |
| 1611 | "fields": "", |
| 1612 | "values": false |
| 1613 | }, |
| 1614 | "text": { |
| 1615 | "titleSize": 20, |
| 1616 | "valueSize": 20 |
| 1617 | }, |
| 1618 | "textMode": "auto" |
| 1619 | }, |
| 1620 | "pluginVersion": "8.3.4", |
| 1621 | "targets": [ |
| 1622 | { |
| 1623 | "datasource": { |
| 1624 | "type": "prometheus", |
| 1625 | "uid": "dkSf71fnz" |
| 1626 | }, |
| 1627 | "exemplar": true, |
| 1628 | "expr": "pdpa_engine_state{job=\"apex-pdp-metrics\"}", |
| 1629 | "interval": "", |
| 1630 | "legendFormat": "{{ engine_instance_id }}", |
| 1631 | "refId": "A" |
| 1632 | } |
| 1633 | ], |
| 1634 | "title": "Engines Stats", |
| 1635 | "type": "stat" |
| 1636 | }, |
| 1637 | { |
adheli.tavares | 21c3a2b | 2024-10-31 16:01:59 +0000 | [diff] [blame^] | 1638 | "datasource": { |
| 1639 | "type": "prometheus", |
| 1640 | "uid": "dkSf71fnz" |
| 1641 | }, |
adheli.tavares | 0fd7cdc | 2023-01-13 09:14:23 +0000 | [diff] [blame] | 1642 | "description": "", |
adheli.tavares | 1d9c756 | 2023-01-09 11:28:25 +0000 | [diff] [blame] | 1643 | "fieldConfig": { |
| 1644 | "defaults": { |
| 1645 | "color": { |
| 1646 | "mode": "palette-classic" |
| 1647 | }, |
| 1648 | "decimals": 0, |
| 1649 | "mappings": [], |
| 1650 | "thresholds": { |
| 1651 | "mode": "absolute", |
| 1652 | "steps": [ |
| 1653 | { |
adheli.tavares | 21c3a2b | 2024-10-31 16:01:59 +0000 | [diff] [blame^] | 1654 | "color": "green" |
adheli.tavares | 1d9c756 | 2023-01-09 11:28:25 +0000 | [diff] [blame] | 1655 | }, |
| 1656 | { |
| 1657 | "color": "red", |
| 1658 | "value": 80 |
| 1659 | } |
| 1660 | ] |
| 1661 | }, |
adheli.tavares | 0fd7cdc | 2023-01-13 09:14:23 +0000 | [diff] [blame] | 1662 | "unit": "ms" |
adheli.tavares | 1d9c756 | 2023-01-09 11:28:25 +0000 | [diff] [blame] | 1663 | }, |
| 1664 | "overrides": [] |
| 1665 | }, |
| 1666 | "gridPos": { |
| 1667 | "h": 8, |
adheli.tavares | 0fd7cdc | 2023-01-13 09:14:23 +0000 | [diff] [blame] | 1668 | "w": 8, |
adheli.tavares | 1d9c756 | 2023-01-09 11:28:25 +0000 | [diff] [blame] | 1669 | "x": 5, |
adheli.tavares | 0fd7cdc | 2023-01-13 09:14:23 +0000 | [diff] [blame] | 1670 | "y": 91 |
adheli.tavares | 1d9c756 | 2023-01-09 11:28:25 +0000 | [diff] [blame] | 1671 | }, |
| 1672 | "id": 130, |
| 1673 | "options": { |
| 1674 | "colorMode": "none", |
| 1675 | "graphMode": "none", |
| 1676 | "justifyMode": "auto", |
| 1677 | "orientation": "horizontal", |
| 1678 | "reduceOptions": { |
| 1679 | "calcs": [ |
| 1680 | "lastNotNull" |
| 1681 | ], |
| 1682 | "fields": "", |
| 1683 | "values": false |
| 1684 | }, |
| 1685 | "text": { |
| 1686 | "titleSize": 25, |
| 1687 | "valueSize": 25 |
| 1688 | }, |
| 1689 | "textMode": "auto" |
| 1690 | }, |
| 1691 | "pluginVersion": "8.3.4", |
| 1692 | "targets": [ |
| 1693 | { |
| 1694 | "datasource": { |
| 1695 | "type": "prometheus", |
| 1696 | "uid": "dkSf71fnz" |
| 1697 | }, |
adheli.tavares | 0fd7cdc | 2023-01-13 09:14:23 +0000 | [diff] [blame] | 1698 | "exemplar": false, |
| 1699 | "expr": "(time() * 1000) - (pdpa_engine_last_start_timestamp_epoch{job=\"apex-pdp-metrics\"})", |
adheli.tavares | 1d9c756 | 2023-01-09 11:28:25 +0000 | [diff] [blame] | 1700 | "format": "time_series", |
adheli.tavares | 0fd7cdc | 2023-01-13 09:14:23 +0000 | [diff] [blame] | 1701 | "instant": true, |
adheli.tavares | 1d9c756 | 2023-01-09 11:28:25 +0000 | [diff] [blame] | 1702 | "interval": "", |
| 1703 | "legendFormat": "{{ engine_instance_id }}", |
| 1704 | "refId": "A" |
| 1705 | } |
| 1706 | ], |
adheli.tavares | 0fd7cdc | 2023-01-13 09:14:23 +0000 | [diff] [blame] | 1707 | "title": "Engine Uptime (since last start)", |
adheli.tavares | 1d9c756 | 2023-01-09 11:28:25 +0000 | [diff] [blame] | 1708 | "type": "stat" |
| 1709 | }, |
| 1710 | { |
adheli.tavares | 21c3a2b | 2024-10-31 16:01:59 +0000 | [diff] [blame^] | 1711 | "datasource": { |
| 1712 | "type": "prometheus", |
| 1713 | "uid": "dkSf71fnz" |
| 1714 | }, |
adheli.tavares | 1d9c756 | 2023-01-09 11:28:25 +0000 | [diff] [blame] | 1715 | "description": "Number of APEX event execution counter per engine thread", |
| 1716 | "fieldConfig": { |
| 1717 | "defaults": { |
| 1718 | "color": { |
| 1719 | "mode": "palette-classic" |
| 1720 | }, |
| 1721 | "custom": { |
| 1722 | "axisLabel": "", |
| 1723 | "axisPlacement": "auto", |
| 1724 | "barAlignment": 0, |
| 1725 | "drawStyle": "line", |
| 1726 | "fillOpacity": 0, |
| 1727 | "gradientMode": "none", |
| 1728 | "hideFrom": { |
| 1729 | "legend": false, |
| 1730 | "tooltip": false, |
| 1731 | "viz": false |
| 1732 | }, |
| 1733 | "lineInterpolation": "linear", |
| 1734 | "lineWidth": 1, |
| 1735 | "pointSize": 5, |
| 1736 | "scaleDistribution": { |
| 1737 | "type": "linear" |
| 1738 | }, |
| 1739 | "showPoints": "auto", |
| 1740 | "spanNulls": false, |
| 1741 | "stacking": { |
| 1742 | "group": "A", |
| 1743 | "mode": "none" |
| 1744 | }, |
| 1745 | "thresholdsStyle": { |
| 1746 | "mode": "off" |
| 1747 | } |
| 1748 | }, |
| 1749 | "mappings": [], |
| 1750 | "thresholds": { |
| 1751 | "mode": "absolute", |
| 1752 | "steps": [ |
| 1753 | { |
adheli.tavares | 21c3a2b | 2024-10-31 16:01:59 +0000 | [diff] [blame^] | 1754 | "color": "green" |
adheli.tavares | 1d9c756 | 2023-01-09 11:28:25 +0000 | [diff] [blame] | 1755 | }, |
| 1756 | { |
| 1757 | "color": "red", |
| 1758 | "value": 80 |
| 1759 | } |
| 1760 | ] |
| 1761 | }, |
| 1762 | "unit": "ops" |
| 1763 | }, |
| 1764 | "overrides": [] |
| 1765 | }, |
| 1766 | "gridPos": { |
| 1767 | "h": 8, |
| 1768 | "w": 12, |
| 1769 | "x": 0, |
adheli.tavares | 0fd7cdc | 2023-01-13 09:14:23 +0000 | [diff] [blame] | 1770 | "y": 99 |
adheli.tavares | 1d9c756 | 2023-01-09 11:28:25 +0000 | [diff] [blame] | 1771 | }, |
| 1772 | "id": 132, |
| 1773 | "options": { |
| 1774 | "legend": { |
| 1775 | "calcs": [ |
| 1776 | "lastNotNull", |
| 1777 | "min", |
| 1778 | "max" |
| 1779 | ], |
| 1780 | "displayMode": "table", |
adheli.tavares | 21c3a2b | 2024-10-31 16:01:59 +0000 | [diff] [blame^] | 1781 | "placement": "right", |
| 1782 | "showLegend": true |
adheli.tavares | 1d9c756 | 2023-01-09 11:28:25 +0000 | [diff] [blame] | 1783 | }, |
| 1784 | "tooltip": { |
| 1785 | "mode": "single", |
| 1786 | "sort": "none" |
| 1787 | } |
| 1788 | }, |
| 1789 | "pluginVersion": "8.4.5", |
| 1790 | "targets": [ |
| 1791 | { |
| 1792 | "datasource": { |
| 1793 | "type": "prometheus", |
| 1794 | "uid": "dkSf71fnz" |
| 1795 | }, |
| 1796 | "exemplar": true, |
adheli.tavares | 21c3a2b | 2024-10-31 16:01:59 +0000 | [diff] [blame^] | 1797 | "expr": "rate(pdpa_engine_average_execution_time_seconds{job=\"apex-pdp-metrics\"}[$__range])", |
adheli.tavares | 1d9c756 | 2023-01-09 11:28:25 +0000 | [diff] [blame] | 1798 | "format": "time_series", |
| 1799 | "interval": "", |
| 1800 | "legendFormat": "{{ engine_instance_id }}", |
| 1801 | "refId": "A" |
| 1802 | } |
| 1803 | ], |
| 1804 | "title": "Avg Engine Execution Time", |
| 1805 | "type": "timeseries" |
| 1806 | }, |
| 1807 | { |
adheli.tavares | 21c3a2b | 2024-10-31 16:01:59 +0000 | [diff] [blame^] | 1808 | "datasource": { |
| 1809 | "type": "prometheus", |
| 1810 | "uid": "dkSf71fnz" |
| 1811 | }, |
adheli.tavares | 1d9c756 | 2023-01-09 11:28:25 +0000 | [diff] [blame] | 1812 | "description": "Number of APEX event execution counter per engine thread", |
| 1813 | "fieldConfig": { |
| 1814 | "defaults": { |
| 1815 | "color": { |
| 1816 | "mode": "palette-classic" |
| 1817 | }, |
| 1818 | "custom": { |
| 1819 | "hideFrom": { |
| 1820 | "legend": false, |
| 1821 | "tooltip": false, |
| 1822 | "viz": false |
| 1823 | } |
| 1824 | }, |
| 1825 | "mappings": [], |
| 1826 | "unit": "short" |
| 1827 | }, |
| 1828 | "overrides": [] |
| 1829 | }, |
| 1830 | "gridPos": { |
| 1831 | "h": 8, |
| 1832 | "w": 12, |
| 1833 | "x": 0, |
adheli.tavares | 0fd7cdc | 2023-01-13 09:14:23 +0000 | [diff] [blame] | 1834 | "y": 107 |
adheli.tavares | 1d9c756 | 2023-01-09 11:28:25 +0000 | [diff] [blame] | 1835 | }, |
| 1836 | "id": 133, |
| 1837 | "options": { |
| 1838 | "displayLabels": [ |
| 1839 | "percent" |
| 1840 | ], |
| 1841 | "legend": { |
| 1842 | "displayMode": "table", |
| 1843 | "placement": "right", |
adheli.tavares | 21c3a2b | 2024-10-31 16:01:59 +0000 | [diff] [blame^] | 1844 | "showLegend": true, |
adheli.tavares | 1d9c756 | 2023-01-09 11:28:25 +0000 | [diff] [blame] | 1845 | "values": [ |
| 1846 | "value" |
| 1847 | ] |
| 1848 | }, |
| 1849 | "pieType": "donut", |
| 1850 | "reduceOptions": { |
| 1851 | "calcs": [ |
| 1852 | "lastNotNull" |
| 1853 | ], |
| 1854 | "fields": "", |
| 1855 | "values": false |
| 1856 | }, |
| 1857 | "tooltip": { |
| 1858 | "mode": "single" |
| 1859 | } |
| 1860 | }, |
| 1861 | "pluginVersion": "8.4.5", |
| 1862 | "targets": [ |
| 1863 | { |
| 1864 | "datasource": { |
| 1865 | "type": "prometheus", |
| 1866 | "uid": "dkSf71fnz" |
| 1867 | }, |
| 1868 | "exemplar": true, |
| 1869 | "expr": "pdpa_engine_event_executions{job=\"apex-pdp-metrics\"}", |
| 1870 | "format": "time_series", |
| 1871 | "interval": "", |
| 1872 | "legendFormat": "{{ engine_instance_id }}", |
| 1873 | "refId": "A" |
| 1874 | } |
| 1875 | ], |
| 1876 | "title": "Engine Executions Count", |
| 1877 | "type": "piechart" |
adheli.tavares | 1c98f1f | 2022-06-16 09:21:46 +0100 | [diff] [blame] | 1878 | } |
| 1879 | ], |
| 1880 | "refresh": "10s", |
adheli.tavares | 21c3a2b | 2024-10-31 16:01:59 +0000 | [diff] [blame^] | 1881 | "schemaVersion": 39, |
adheli.tavares | 1c98f1f | 2022-06-16 09:21:46 +0100 | [diff] [blame] | 1882 | "tags": [], |
| 1883 | "templating": { |
adheli.tavares | 0fd7cdc | 2023-01-13 09:14:23 +0000 | [diff] [blame] | 1884 | "list": [] |
adheli.tavares | 1c98f1f | 2022-06-16 09:21:46 +0100 | [diff] [blame] | 1885 | }, |
| 1886 | "time": { |
adheli.tavares | 21c3a2b | 2024-10-31 16:01:59 +0000 | [diff] [blame^] | 1887 | "from": "now-30m", |
adheli.tavares | 1c98f1f | 2022-06-16 09:21:46 +0100 | [diff] [blame] | 1888 | "to": "now" |
| 1889 | }, |
| 1890 | "timepicker": { |
| 1891 | "refresh_intervals": [ |
| 1892 | "10s", |
| 1893 | "30s", |
| 1894 | "1m", |
| 1895 | "5m", |
| 1896 | "15m", |
| 1897 | "30m", |
| 1898 | "1h", |
| 1899 | "2h", |
| 1900 | "1d" |
| 1901 | ], |
| 1902 | "time_options": [ |
| 1903 | "5m", |
| 1904 | "15m", |
| 1905 | "1h", |
| 1906 | "6h", |
| 1907 | "12h", |
| 1908 | "24h", |
| 1909 | "2d", |
| 1910 | "7d", |
| 1911 | "30d" |
| 1912 | ] |
| 1913 | }, |
| 1914 | "timezone": "", |
| 1915 | "title": "SLA's Metrics", |
| 1916 | "uid": "ySoel0jnk", |
adheli.tavares | 21c3a2b | 2024-10-31 16:01:59 +0000 | [diff] [blame^] | 1917 | "version": 7, |
adheli.tavares | 1c98f1f | 2022-06-16 09:21:46 +0100 | [diff] [blame] | 1918 | "weekStart": "" |
| 1919 | } |