adheli.tavares | 1c98f1f | 2022-06-16 09:21:46 +0100 | [diff] [blame^] | 1 | { |
| 2 | "annotations": { |
| 3 | "list": [ |
| 4 | { |
| 5 | "builtIn": 1, |
| 6 | "datasource": "-- Grafana --", |
| 7 | "enable": true, |
| 8 | "hide": true, |
| 9 | "iconColor": "rgba(0, 211, 255, 1)", |
| 10 | "name": "Annotations & Alerts", |
| 11 | "target": { |
| 12 | "limit": 100, |
| 13 | "matchAny": false, |
| 14 | "tags": [], |
| 15 | "type": "dashboard" |
| 16 | }, |
| 17 | "type": "dashboard" |
| 18 | } |
| 19 | ] |
| 20 | }, |
| 21 | "description": "Dashboard for Service Level Agreeements", |
| 22 | "editable": true, |
| 23 | "fiscalYearStartMonth": 0, |
| 24 | "gnetId": 14430, |
| 25 | "graphTooltip": 0, |
| 26 | "id": 3, |
| 27 | "iteration": 1655133658474, |
| 28 | "links": [], |
| 29 | "liveNow": false, |
| 30 | "panels": [ |
| 31 | { |
| 32 | "collapsed": false, |
| 33 | "gridPos": { |
| 34 | "h": 1, |
| 35 | "w": 24, |
| 36 | "x": 0, |
| 37 | "y": 0 |
| 38 | }, |
| 39 | "id": 54, |
| 40 | "panels": [], |
| 41 | "title": "Basic Statistics", |
| 42 | "type": "row" |
| 43 | }, |
| 44 | { |
| 45 | "datasource": { |
| 46 | "type": "prometheus", |
| 47 | "uid": "dkSf71fnz" |
| 48 | }, |
| 49 | "fieldConfig": { |
| 50 | "defaults": { |
| 51 | "color": { |
| 52 | "mode": "thresholds" |
| 53 | }, |
| 54 | "decimals": 1, |
| 55 | "mappings": [ |
| 56 | { |
| 57 | "options": { |
| 58 | "match": "null", |
| 59 | "result": { |
| 60 | "text": "N/A" |
| 61 | } |
| 62 | }, |
| 63 | "type": "special" |
| 64 | } |
| 65 | ], |
| 66 | "thresholds": { |
| 67 | "mode": "absolute", |
| 68 | "steps": [ |
| 69 | { |
| 70 | "color": "green", |
| 71 | "value": null |
| 72 | }, |
| 73 | { |
| 74 | "color": "red", |
| 75 | "value": 80 |
| 76 | } |
| 77 | ] |
| 78 | }, |
| 79 | "unit": "s" |
| 80 | }, |
| 81 | "overrides": [] |
| 82 | }, |
| 83 | "gridPos": { |
| 84 | "h": 6, |
| 85 | "w": 6, |
| 86 | "x": 0, |
| 87 | "y": 1 |
| 88 | }, |
| 89 | "id": 52, |
| 90 | "links": [], |
| 91 | "maxDataPoints": 100, |
| 92 | "options": { |
| 93 | "colorMode": "value", |
| 94 | "graphMode": "none", |
| 95 | "justifyMode": "auto", |
| 96 | "orientation": "horizontal", |
| 97 | "reduceOptions": { |
| 98 | "calcs": [ |
| 99 | "lastNotNull" |
| 100 | ], |
| 101 | "fields": "", |
| 102 | "values": false |
| 103 | }, |
| 104 | "textMode": "auto" |
| 105 | }, |
| 106 | "pluginVersion": "8.3.4", |
| 107 | "targets": [ |
| 108 | { |
| 109 | "expr": "process_uptime_seconds{application=\"$application\", instance=\"$instance\"}", |
| 110 | "format": "time_series", |
| 111 | "intervalFactor": 2, |
| 112 | "legendFormat": "", |
| 113 | "metric": "", |
| 114 | "refId": "A", |
| 115 | "step": 14400 |
| 116 | } |
| 117 | ], |
| 118 | "title": "Uptime", |
| 119 | "type": "stat" |
| 120 | }, |
| 121 | { |
| 122 | "datasource": { |
| 123 | "type": "prometheus", |
| 124 | "uid": "dkSf71fnz" |
| 125 | }, |
| 126 | "fieldConfig": { |
| 127 | "defaults": { |
| 128 | "color": { |
| 129 | "mode": "thresholds" |
| 130 | }, |
| 131 | "mappings": [ |
| 132 | { |
| 133 | "options": { |
| 134 | "match": "null", |
| 135 | "result": { |
| 136 | "text": "N/A" |
| 137 | } |
| 138 | }, |
| 139 | "type": "special" |
| 140 | } |
| 141 | ], |
| 142 | "thresholds": { |
| 143 | "mode": "absolute", |
| 144 | "steps": [ |
| 145 | { |
| 146 | "color": "green", |
| 147 | "value": null |
| 148 | }, |
| 149 | { |
| 150 | "color": "red", |
| 151 | "value": 80 |
| 152 | } |
| 153 | ] |
| 154 | }, |
| 155 | "unit": "dateTimeAsIso" |
| 156 | }, |
| 157 | "overrides": [] |
| 158 | }, |
| 159 | "gridPos": { |
| 160 | "h": 6, |
| 161 | "w": 6, |
| 162 | "x": 6, |
| 163 | "y": 1 |
| 164 | }, |
| 165 | "id": 56, |
| 166 | "links": [], |
| 167 | "maxDataPoints": 100, |
| 168 | "options": { |
| 169 | "colorMode": "value", |
| 170 | "graphMode": "none", |
| 171 | "justifyMode": "auto", |
| 172 | "orientation": "horizontal", |
| 173 | "reduceOptions": { |
| 174 | "calcs": [ |
| 175 | "lastNotNull" |
| 176 | ], |
| 177 | "fields": "", |
| 178 | "values": false |
| 179 | }, |
| 180 | "textMode": "auto" |
| 181 | }, |
| 182 | "pluginVersion": "8.3.4", |
| 183 | "targets": [ |
| 184 | { |
| 185 | "expr": "process_start_time_seconds{application=\"$application\", instance=\"$instance\"}*1000", |
| 186 | "format": "time_series", |
| 187 | "intervalFactor": 2, |
| 188 | "legendFormat": "", |
| 189 | "metric": "", |
| 190 | "refId": "A", |
| 191 | "step": 14400 |
| 192 | } |
| 193 | ], |
| 194 | "title": "Start time", |
| 195 | "type": "stat" |
| 196 | }, |
| 197 | { |
| 198 | "datasource": { |
| 199 | "type": "prometheus", |
| 200 | "uid": "dkSf71fnz" |
| 201 | }, |
| 202 | "fieldConfig": { |
| 203 | "defaults": { |
| 204 | "color": { |
| 205 | "mode": "thresholds" |
| 206 | }, |
| 207 | "decimals": 1, |
| 208 | "mappings": [ |
| 209 | { |
| 210 | "options": { |
| 211 | "match": "null", |
| 212 | "result": { |
| 213 | "text": "N/A" |
| 214 | } |
| 215 | }, |
| 216 | "type": "special" |
| 217 | } |
| 218 | ], |
| 219 | "max": 100, |
| 220 | "min": 0, |
| 221 | "thresholds": { |
| 222 | "mode": "absolute", |
| 223 | "steps": [ |
| 224 | { |
| 225 | "color": "rgba(50, 172, 45, 0.97)", |
| 226 | "value": null |
| 227 | }, |
| 228 | { |
| 229 | "color": "rgba(237, 129, 40, 0.89)", |
| 230 | "value": 70 |
| 231 | }, |
| 232 | { |
| 233 | "color": "rgba(245, 54, 54, 0.9)", |
| 234 | "value": 90 |
| 235 | } |
| 236 | ] |
| 237 | }, |
| 238 | "unit": "percent" |
| 239 | }, |
| 240 | "overrides": [] |
| 241 | }, |
| 242 | "gridPos": { |
| 243 | "h": 6, |
| 244 | "w": 6, |
| 245 | "x": 12, |
| 246 | "y": 1 |
| 247 | }, |
| 248 | "id": 58, |
| 249 | "links": [], |
| 250 | "maxDataPoints": 100, |
| 251 | "options": { |
| 252 | "orientation": "horizontal", |
| 253 | "reduceOptions": { |
| 254 | "calcs": [ |
| 255 | "lastNotNull" |
| 256 | ], |
| 257 | "fields": "", |
| 258 | "values": false |
| 259 | }, |
| 260 | "showThresholdLabels": false, |
| 261 | "showThresholdMarkers": true |
| 262 | }, |
| 263 | "pluginVersion": "8.3.4", |
| 264 | "targets": [ |
| 265 | { |
| 266 | "expr": "sum(jvm_memory_used_bytes{application=\"$application\", instance=\"$instance\", area=\"heap\"})*100/sum(jvm_memory_max_bytes{application=\"$application\",instance=\"$instance\", area=\"heap\"})", |
| 267 | "format": "time_series", |
| 268 | "intervalFactor": 1, |
| 269 | "legendFormat": "", |
| 270 | "refId": "A", |
| 271 | "step": 14400 |
| 272 | } |
| 273 | ], |
| 274 | "title": "Heap Used", |
| 275 | "type": "gauge" |
| 276 | }, |
| 277 | { |
| 278 | "datasource": { |
| 279 | "type": "prometheus", |
| 280 | "uid": "dkSf71fnz" |
| 281 | }, |
| 282 | "fieldConfig": { |
| 283 | "defaults": { |
| 284 | "color": { |
| 285 | "mode": "thresholds" |
| 286 | }, |
| 287 | "decimals": 1, |
| 288 | "mappings": [ |
| 289 | { |
| 290 | "options": { |
| 291 | "match": "null", |
| 292 | "result": { |
| 293 | "text": "N/A" |
| 294 | } |
| 295 | }, |
| 296 | "type": "special" |
| 297 | }, |
| 298 | { |
| 299 | "options": { |
| 300 | "from": -1e+32, |
| 301 | "result": { |
| 302 | "text": "N/A" |
| 303 | }, |
| 304 | "to": 0 |
| 305 | }, |
| 306 | "type": "range" |
| 307 | } |
| 308 | ], |
| 309 | "max": 100, |
| 310 | "min": 0, |
| 311 | "thresholds": { |
| 312 | "mode": "absolute", |
| 313 | "steps": [ |
| 314 | { |
| 315 | "color": "rgba(50, 172, 45, 0.97)", |
| 316 | "value": null |
| 317 | }, |
| 318 | { |
| 319 | "color": "rgba(237, 129, 40, 0.89)", |
| 320 | "value": 70 |
| 321 | }, |
| 322 | { |
| 323 | "color": "rgba(245, 54, 54, 0.9)", |
| 324 | "value": 90 |
| 325 | } |
| 326 | ] |
| 327 | }, |
| 328 | "unit": "percent" |
| 329 | }, |
| 330 | "overrides": [] |
| 331 | }, |
| 332 | "gridPos": { |
| 333 | "h": 6, |
| 334 | "w": 6, |
| 335 | "x": 18, |
| 336 | "y": 1 |
| 337 | }, |
| 338 | "id": 60, |
| 339 | "links": [], |
| 340 | "maxDataPoints": 100, |
| 341 | "options": { |
| 342 | "orientation": "horizontal", |
| 343 | "reduceOptions": { |
| 344 | "calcs": [ |
| 345 | "lastNotNull" |
| 346 | ], |
| 347 | "fields": "", |
| 348 | "values": false |
| 349 | }, |
| 350 | "showThresholdLabels": false, |
| 351 | "showThresholdMarkers": true |
| 352 | }, |
| 353 | "pluginVersion": "8.3.4", |
| 354 | "targets": [ |
| 355 | { |
| 356 | "expr": "sum(jvm_memory_used_bytes{application=\"$application\", instance=\"$instance\", area=\"nonheap\"})*100/sum(jvm_memory_max_bytes{application=\"$application\",instance=\"$instance\", area=\"nonheap\"})", |
| 357 | "format": "time_series", |
| 358 | "intervalFactor": 2, |
| 359 | "legendFormat": "", |
| 360 | "refId": "A", |
| 361 | "step": 14400 |
| 362 | } |
| 363 | ], |
| 364 | "title": "Non-Heap Used", |
| 365 | "type": "gauge" |
| 366 | }, |
| 367 | { |
| 368 | "datasource": { |
| 369 | "type": "prometheus", |
| 370 | "uid": "dkSf71fnz" |
| 371 | }, |
| 372 | "fieldConfig": { |
| 373 | "defaults": { |
| 374 | "color": { |
| 375 | "mode": "palette-classic" |
| 376 | }, |
| 377 | "custom": { |
| 378 | "axisLabel": "", |
| 379 | "axisPlacement": "auto", |
| 380 | "barAlignment": 0, |
| 381 | "drawStyle": "line", |
| 382 | "fillOpacity": 10, |
| 383 | "gradientMode": "none", |
| 384 | "hideFrom": { |
| 385 | "legend": false, |
| 386 | "tooltip": false, |
| 387 | "viz": false |
| 388 | }, |
| 389 | "lineInterpolation": "linear", |
| 390 | "lineWidth": 1, |
| 391 | "pointSize": 5, |
| 392 | "scaleDistribution": { |
| 393 | "type": "linear" |
| 394 | }, |
| 395 | "showPoints": "never", |
| 396 | "spanNulls": true, |
| 397 | "stacking": { |
| 398 | "group": "A", |
| 399 | "mode": "none" |
| 400 | }, |
| 401 | "thresholdsStyle": { |
| 402 | "mode": "off" |
| 403 | } |
| 404 | }, |
| 405 | "links": [], |
| 406 | "mappings": [], |
| 407 | "thresholds": { |
| 408 | "mode": "absolute", |
| 409 | "steps": [ |
| 410 | { |
| 411 | "color": "green", |
| 412 | "value": null |
| 413 | }, |
| 414 | { |
| 415 | "color": "red", |
| 416 | "value": 80 |
| 417 | } |
| 418 | ] |
| 419 | }, |
| 420 | "unit": "percentunit" |
| 421 | }, |
| 422 | "overrides": [] |
| 423 | }, |
| 424 | "gridPos": { |
| 425 | "h": 7, |
| 426 | "w": 12, |
| 427 | "x": 0, |
| 428 | "y": 7 |
| 429 | }, |
| 430 | "id": 95, |
| 431 | "links": [], |
| 432 | "options": { |
| 433 | "legend": { |
| 434 | "calcs": [ |
| 435 | "mean", |
| 436 | "lastNotNull", |
| 437 | "max", |
| 438 | "min" |
| 439 | ], |
| 440 | "displayMode": "table", |
| 441 | "placement": "bottom" |
| 442 | }, |
| 443 | "tooltip": { |
| 444 | "mode": "single" |
| 445 | } |
| 446 | }, |
| 447 | "pluginVersion": "8.3.4", |
| 448 | "targets": [ |
| 449 | { |
| 450 | "expr": "system_cpu_usage{instance=\"$instance\", application=\"$application\"}", |
| 451 | "format": "time_series", |
| 452 | "intervalFactor": 1, |
| 453 | "legendFormat": "System CPU Usage", |
| 454 | "refId": "A" |
| 455 | }, |
| 456 | { |
| 457 | "expr": "process_cpu_usage{instance=\"$instance\", application=\"$application\"}", |
| 458 | "format": "time_series", |
| 459 | "intervalFactor": 1, |
| 460 | "legendFormat": "Process CPU Usage", |
| 461 | "refId": "B" |
| 462 | } |
| 463 | ], |
| 464 | "title": "CPU Usage", |
| 465 | "type": "timeseries" |
| 466 | }, |
| 467 | { |
| 468 | "datasource": { |
| 469 | "type": "prometheus", |
| 470 | "uid": "dkSf71fnz" |
| 471 | }, |
| 472 | "fieldConfig": { |
| 473 | "defaults": { |
| 474 | "color": { |
| 475 | "mode": "palette-classic" |
| 476 | }, |
| 477 | "custom": { |
| 478 | "axisLabel": "", |
| 479 | "axisPlacement": "auto", |
| 480 | "barAlignment": 0, |
| 481 | "drawStyle": "line", |
| 482 | "fillOpacity": 10, |
| 483 | "gradientMode": "none", |
| 484 | "hideFrom": { |
| 485 | "legend": false, |
| 486 | "tooltip": false, |
| 487 | "viz": false |
| 488 | }, |
| 489 | "lineInterpolation": "linear", |
| 490 | "lineWidth": 1, |
| 491 | "pointSize": 5, |
| 492 | "scaleDistribution": { |
| 493 | "type": "linear" |
| 494 | }, |
| 495 | "showPoints": "never", |
| 496 | "spanNulls": true, |
| 497 | "stacking": { |
| 498 | "group": "A", |
| 499 | "mode": "none" |
| 500 | }, |
| 501 | "thresholdsStyle": { |
| 502 | "mode": "off" |
| 503 | } |
| 504 | }, |
| 505 | "links": [], |
| 506 | "mappings": [], |
| 507 | "thresholds": { |
| 508 | "mode": "absolute", |
| 509 | "steps": [ |
| 510 | { |
| 511 | "color": "green", |
| 512 | "value": null |
| 513 | }, |
| 514 | { |
| 515 | "color": "red", |
| 516 | "value": 80 |
| 517 | } |
| 518 | ] |
| 519 | }, |
| 520 | "unit": "short" |
| 521 | }, |
| 522 | "overrides": [] |
| 523 | }, |
| 524 | "gridPos": { |
| 525 | "h": 7, |
| 526 | "w": 12, |
| 527 | "x": 12, |
| 528 | "y": 7 |
| 529 | }, |
| 530 | "id": 96, |
| 531 | "links": [], |
| 532 | "options": { |
| 533 | "legend": { |
| 534 | "calcs": [ |
| 535 | "mean", |
| 536 | "lastNotNull", |
| 537 | "max", |
| 538 | "min" |
| 539 | ], |
| 540 | "displayMode": "table", |
| 541 | "placement": "bottom" |
| 542 | }, |
| 543 | "tooltip": { |
| 544 | "mode": "single" |
| 545 | } |
| 546 | }, |
| 547 | "pluginVersion": "8.3.4", |
| 548 | "targets": [ |
| 549 | { |
| 550 | "expr": "system_load_average_1m{instance=\"$instance\", application=\"$application\"}", |
| 551 | "format": "time_series", |
| 552 | "intervalFactor": 1, |
| 553 | "legendFormat": "Load Average [1m]", |
| 554 | "refId": "A" |
| 555 | }, |
| 556 | { |
| 557 | "expr": "system_cpu_count{instance=\"$instance\", application=\"$application\"}", |
| 558 | "format": "time_series", |
| 559 | "intervalFactor": 1, |
| 560 | "legendFormat": "CPU Core Size", |
| 561 | "refId": "B" |
| 562 | } |
| 563 | ], |
| 564 | "title": "Load Average", |
| 565 | "type": "timeseries" |
| 566 | }, |
| 567 | { |
| 568 | "fieldConfig": { |
| 569 | "defaults": { |
| 570 | "color": { |
| 571 | "mode": "palette-classic" |
| 572 | }, |
| 573 | "custom": { |
| 574 | "axisLabel": "", |
| 575 | "axisPlacement": "auto", |
| 576 | "barAlignment": 0, |
| 577 | "drawStyle": "line", |
| 578 | "fillOpacity": 0, |
| 579 | "gradientMode": "none", |
| 580 | "hideFrom": { |
| 581 | "legend": false, |
| 582 | "tooltip": false, |
| 583 | "viz": false |
| 584 | }, |
| 585 | "lineInterpolation": "linear", |
| 586 | "lineWidth": 1, |
| 587 | "pointSize": 5, |
| 588 | "scaleDistribution": { |
| 589 | "type": "linear" |
| 590 | }, |
| 591 | "showPoints": "auto", |
| 592 | "spanNulls": false, |
| 593 | "stacking": { |
| 594 | "group": "A", |
| 595 | "mode": "none" |
| 596 | }, |
| 597 | "thresholdsStyle": { |
| 598 | "mode": "off" |
| 599 | } |
| 600 | }, |
| 601 | "mappings": [], |
| 602 | "thresholds": { |
| 603 | "mode": "absolute", |
| 604 | "steps": [ |
| 605 | { |
| 606 | "color": "green", |
| 607 | "value": null |
| 608 | }, |
| 609 | { |
| 610 | "color": "red", |
| 611 | "value": 80 |
| 612 | } |
| 613 | ] |
| 614 | }, |
| 615 | "unit": "decbytes" |
| 616 | }, |
| 617 | "overrides": [] |
| 618 | }, |
| 619 | "gridPos": { |
| 620 | "h": 8, |
| 621 | "w": 12, |
| 622 | "x": 0, |
| 623 | "y": 14 |
| 624 | }, |
| 625 | "id": 113, |
| 626 | "options": { |
| 627 | "legend": { |
| 628 | "calcs": [ |
| 629 | "lastNotNull", |
| 630 | "min", |
| 631 | "max" |
| 632 | ], |
| 633 | "displayMode": "table", |
| 634 | "placement": "right" |
| 635 | }, |
| 636 | "tooltip": { |
| 637 | "mode": "single" |
| 638 | } |
| 639 | }, |
| 640 | "targets": [ |
| 641 | { |
| 642 | "datasource": { |
| 643 | "type": "prometheus", |
| 644 | "uid": "dkSf71fnz" |
| 645 | }, |
| 646 | "exemplar": true, |
| 647 | "expr": "jvm_memory_used_bytes{instance=\"$instance\"}", |
| 648 | "interval": "", |
| 649 | "legendFormat": "{{id}}", |
| 650 | "refId": "A" |
| 651 | } |
| 652 | ], |
| 653 | "title": "Memory Usage", |
| 654 | "type": "timeseries" |
| 655 | }, |
| 656 | { |
| 657 | "collapsed": false, |
| 658 | "gridPos": { |
| 659 | "h": 1, |
| 660 | "w": 24, |
| 661 | "x": 0, |
| 662 | "y": 22 |
| 663 | }, |
| 664 | "id": 18, |
| 665 | "panels": [], |
| 666 | "title": "HTTP Statistics", |
| 667 | "type": "row" |
| 668 | }, |
| 669 | { |
| 670 | "datasource": { |
| 671 | "type": "prometheus", |
| 672 | "uid": "dkSf71fnz" |
| 673 | }, |
| 674 | "fieldConfig": { |
| 675 | "defaults": { |
| 676 | "color": { |
| 677 | "mode": "palette-classic" |
| 678 | }, |
| 679 | "custom": { |
| 680 | "axisLabel": "", |
| 681 | "axisPlacement": "auto", |
| 682 | "barAlignment": 0, |
| 683 | "drawStyle": "line", |
| 684 | "fillOpacity": 10, |
| 685 | "gradientMode": "none", |
| 686 | "hideFrom": { |
| 687 | "legend": false, |
| 688 | "tooltip": false, |
| 689 | "viz": false |
| 690 | }, |
| 691 | "lineInterpolation": "linear", |
| 692 | "lineWidth": 1, |
| 693 | "pointSize": 5, |
| 694 | "scaleDistribution": { |
| 695 | "type": "linear" |
| 696 | }, |
| 697 | "showPoints": "never", |
| 698 | "spanNulls": true, |
| 699 | "stacking": { |
| 700 | "group": "A", |
| 701 | "mode": "none" |
| 702 | }, |
| 703 | "thresholdsStyle": { |
| 704 | "mode": "off" |
| 705 | } |
| 706 | }, |
| 707 | "links": [], |
| 708 | "mappings": [], |
| 709 | "thresholds": { |
| 710 | "mode": "absolute", |
| 711 | "steps": [ |
| 712 | { |
| 713 | "color": "green", |
| 714 | "value": null |
| 715 | }, |
| 716 | { |
| 717 | "color": "red", |
| 718 | "value": 80 |
| 719 | } |
| 720 | ] |
| 721 | }, |
| 722 | "unit": "none" |
| 723 | }, |
| 724 | "overrides": [] |
| 725 | }, |
| 726 | "gridPos": { |
| 727 | "h": 9, |
| 728 | "w": 13, |
| 729 | "x": 0, |
| 730 | "y": 23 |
| 731 | }, |
| 732 | "id": 4, |
| 733 | "links": [], |
| 734 | "options": { |
| 735 | "legend": { |
| 736 | "calcs": [], |
| 737 | "displayMode": "table", |
| 738 | "placement": "right" |
| 739 | }, |
| 740 | "tooltip": { |
| 741 | "mode": "single" |
| 742 | } |
| 743 | }, |
| 744 | "pluginVersion": "8.3.4", |
| 745 | "targets": [ |
| 746 | { |
| 747 | "expr": "irate(http_server_requests_seconds_count{instance=\"$instance\", application=\"$application\", uri!~\".*actuator.*\"}[5m])", |
| 748 | "format": "time_series", |
| 749 | "interval": "", |
| 750 | "intervalFactor": 1, |
| 751 | "legendFormat": "{{method}} [{{status}}] - {{uri}}", |
| 752 | "refId": "A" |
| 753 | } |
| 754 | ], |
| 755 | "title": "Request Count", |
| 756 | "type": "timeseries" |
| 757 | }, |
| 758 | { |
| 759 | "datasource": { |
| 760 | "type": "prometheus", |
| 761 | "uid": "dkSf71fnz" |
| 762 | }, |
| 763 | "fieldConfig": { |
| 764 | "defaults": { |
| 765 | "color": { |
| 766 | "mode": "palette-classic" |
| 767 | }, |
| 768 | "custom": { |
| 769 | "axisLabel": "", |
| 770 | "axisPlacement": "auto", |
| 771 | "barAlignment": 0, |
| 772 | "drawStyle": "line", |
| 773 | "fillOpacity": 10, |
| 774 | "gradientMode": "none", |
| 775 | "hideFrom": { |
| 776 | "legend": false, |
| 777 | "tooltip": false, |
| 778 | "viz": false |
| 779 | }, |
| 780 | "lineInterpolation": "linear", |
| 781 | "lineWidth": 1, |
| 782 | "pointSize": 5, |
| 783 | "scaleDistribution": { |
| 784 | "type": "linear" |
| 785 | }, |
| 786 | "showPoints": "never", |
| 787 | "spanNulls": true, |
| 788 | "stacking": { |
| 789 | "group": "A", |
| 790 | "mode": "none" |
| 791 | }, |
| 792 | "thresholdsStyle": { |
| 793 | "mode": "off" |
| 794 | } |
| 795 | }, |
| 796 | "links": [], |
| 797 | "mappings": [], |
| 798 | "thresholds": { |
| 799 | "mode": "absolute", |
| 800 | "steps": [ |
| 801 | { |
| 802 | "color": "green", |
| 803 | "value": null |
| 804 | }, |
| 805 | { |
| 806 | "color": "red", |
| 807 | "value": 80 |
| 808 | } |
| 809 | ] |
| 810 | }, |
| 811 | "unit": "s" |
| 812 | }, |
| 813 | "overrides": [] |
| 814 | }, |
| 815 | "gridPos": { |
| 816 | "h": 10, |
| 817 | "w": 13, |
| 818 | "x": 0, |
| 819 | "y": 32 |
| 820 | }, |
| 821 | "id": 2, |
| 822 | "links": [], |
| 823 | "options": { |
| 824 | "legend": { |
| 825 | "calcs": [ |
| 826 | "mean", |
| 827 | "max", |
| 828 | "min" |
| 829 | ], |
| 830 | "displayMode": "table", |
| 831 | "placement": "right" |
| 832 | }, |
| 833 | "tooltip": { |
| 834 | "mode": "single" |
| 835 | } |
| 836 | }, |
| 837 | "pluginVersion": "8.3.4", |
| 838 | "targets": [ |
| 839 | { |
| 840 | "expr": "irate(http_server_requests_seconds_sum{instance=\"$instance\", application=\"$application\", exception=\"None\", uri!~\".*actuator.*\"}[5m]) / irate(http_server_requests_seconds_count{instance=\"$instance\", application=\"$application\", exception=\"None\", uri!~\".*actuator.*\"}[5m])", |
| 841 | "format": "time_series", |
| 842 | "intervalFactor": 1, |
| 843 | "legendFormat": "{{method}} [{{status}}] - {{uri}}", |
| 844 | "refId": "A" |
| 845 | } |
| 846 | ], |
| 847 | "title": "Response Time", |
| 848 | "type": "timeseries" |
| 849 | }, |
| 850 | { |
| 851 | "datasource": { |
| 852 | "type": "prometheus", |
| 853 | "uid": "dkSf71fnz" |
| 854 | }, |
| 855 | "fieldConfig": { |
| 856 | "defaults": { |
| 857 | "color": { |
| 858 | "mode": "palette-classic" |
| 859 | }, |
| 860 | "custom": { |
| 861 | "axisLabel": "", |
| 862 | "axisPlacement": "auto", |
| 863 | "barAlignment": 0, |
| 864 | "drawStyle": "line", |
| 865 | "fillOpacity": 10, |
| 866 | "gradientMode": "none", |
| 867 | "hideFrom": { |
| 868 | "legend": false, |
| 869 | "tooltip": false, |
| 870 | "viz": false |
| 871 | }, |
| 872 | "lineInterpolation": "linear", |
| 873 | "lineWidth": 1, |
| 874 | "pointSize": 5, |
| 875 | "scaleDistribution": { |
| 876 | "type": "linear" |
| 877 | }, |
| 878 | "showPoints": "never", |
| 879 | "spanNulls": true, |
| 880 | "stacking": { |
| 881 | "group": "A", |
| 882 | "mode": "none" |
| 883 | }, |
| 884 | "thresholdsStyle": { |
| 885 | "mode": "off" |
| 886 | } |
| 887 | }, |
| 888 | "links": [], |
| 889 | "mappings": [], |
| 890 | "thresholds": { |
| 891 | "mode": "absolute", |
| 892 | "steps": [ |
| 893 | { |
| 894 | "color": "green", |
| 895 | "value": null |
| 896 | }, |
| 897 | { |
| 898 | "color": "red", |
| 899 | "value": 80 |
| 900 | } |
| 901 | ] |
| 902 | }, |
| 903 | "unit": "locale" |
| 904 | }, |
| 905 | "overrides": [] |
| 906 | }, |
| 907 | "gridPos": { |
| 908 | "h": 8, |
| 909 | "w": 13, |
| 910 | "x": 0, |
| 911 | "y": 42 |
| 912 | }, |
| 913 | "id": 111, |
| 914 | "links": [], |
| 915 | "options": { |
| 916 | "legend": { |
| 917 | "calcs": [], |
| 918 | "displayMode": "list", |
| 919 | "placement": "bottom" |
| 920 | }, |
| 921 | "tooltip": { |
| 922 | "mode": "single" |
| 923 | } |
| 924 | }, |
| 925 | "pluginVersion": "8.3.4", |
| 926 | "targets": [ |
| 927 | { |
| 928 | "expr": "http_server_requests_seconds_max{instance=\"$instance\", application=\"$application\"}", |
| 929 | "format": "time_series", |
| 930 | "interval": "", |
| 931 | "intervalFactor": 1, |
| 932 | "legendFormat": "{{method}} [{{status}}] - {{uri}}", |
| 933 | "refId": "A" |
| 934 | } |
| 935 | ], |
| 936 | "title": "HTTP Server Requests Max", |
| 937 | "type": "timeseries" |
| 938 | } |
| 939 | ], |
| 940 | "refresh": "10s", |
| 941 | "schemaVersion": 34, |
| 942 | "style": "dark", |
| 943 | "tags": [], |
| 944 | "templating": { |
| 945 | "list": [ |
| 946 | { |
| 947 | "current": { |
| 948 | "selected": false, |
| 949 | "text": "policy-api:6969", |
| 950 | "value": "policy-api:6969" |
| 951 | }, |
| 952 | "datasource": { |
| 953 | "type": "prometheus", |
| 954 | "uid": "dkSf71fnz" |
| 955 | }, |
| 956 | "definition": "label_values(jvm_classes_loaded_classes, instance)", |
| 957 | "hide": 0, |
| 958 | "includeAll": false, |
| 959 | "label": "Instance", |
| 960 | "multi": false, |
| 961 | "name": "instance", |
| 962 | "options": [], |
| 963 | "query": { |
| 964 | "query": "label_values(jvm_classes_loaded_classes, instance)", |
| 965 | "refId": "Prometheus-instance-Variable-Query" |
| 966 | }, |
| 967 | "refresh": 1, |
| 968 | "regex": "", |
| 969 | "skipUrlSync": false, |
| 970 | "sort": 1, |
| 971 | "tagValuesQuery": "", |
| 972 | "tagsQuery": "", |
| 973 | "type": "query", |
| 974 | "useTags": false |
| 975 | }, |
| 976 | { |
| 977 | "current": { |
| 978 | "isNone": true, |
| 979 | "selected": false, |
| 980 | "text": "None", |
| 981 | "value": "" |
| 982 | }, |
| 983 | "datasource": { |
| 984 | "type": "prometheus", |
| 985 | "uid": "dkSf71fnz" |
| 986 | }, |
| 987 | "definition": "", |
| 988 | "hide": 0, |
| 989 | "includeAll": false, |
| 990 | "label": "Application", |
| 991 | "multi": false, |
| 992 | "name": "application", |
| 993 | "options": [], |
| 994 | "query": { |
| 995 | "query": "label_values(jvm_classes_loaded{instance=\"$instance\"}, application)", |
| 996 | "refId": "Prometheus-application-Variable-Query" |
| 997 | }, |
| 998 | "refresh": 1, |
| 999 | "regex": "", |
| 1000 | "skipUrlSync": false, |
| 1001 | "sort": 1, |
| 1002 | "tagValuesQuery": "", |
| 1003 | "tagsQuery": "", |
| 1004 | "type": "query", |
| 1005 | "useTags": false |
| 1006 | }, |
| 1007 | { |
| 1008 | "current": { |
| 1009 | "selected": false, |
| 1010 | "text": "HikariPool-1", |
| 1011 | "value": "HikariPool-1" |
| 1012 | }, |
| 1013 | "datasource": { |
| 1014 | "type": "prometheus", |
| 1015 | "uid": "dkSf71fnz" |
| 1016 | }, |
| 1017 | "definition": "", |
| 1018 | "hide": 0, |
| 1019 | "includeAll": false, |
| 1020 | "label": "HikariCP-Pool", |
| 1021 | "multi": false, |
| 1022 | "name": "hikaricp", |
| 1023 | "options": [], |
| 1024 | "query": { |
| 1025 | "query": "label_values(hikaricp_connections{instance=\"$instance\", application=\"$application\"}, pool)", |
| 1026 | "refId": "Prometheus-hikaricp-Variable-Query" |
| 1027 | }, |
| 1028 | "refresh": 1, |
| 1029 | "regex": "", |
| 1030 | "skipUrlSync": false, |
| 1031 | "sort": 1, |
| 1032 | "tagValuesQuery": "", |
| 1033 | "tagsQuery": "", |
| 1034 | "type": "query", |
| 1035 | "useTags": false |
| 1036 | }, |
| 1037 | { |
| 1038 | "current": { |
| 1039 | "selected": false, |
| 1040 | "text": "All", |
| 1041 | "value": "$__all" |
| 1042 | }, |
| 1043 | "datasource": { |
| 1044 | "type": "prometheus", |
| 1045 | "uid": "dkSf71fnz" |
| 1046 | }, |
| 1047 | "definition": "", |
| 1048 | "hide": 0, |
| 1049 | "includeAll": true, |
| 1050 | "label": "Memory Pool (heap)", |
| 1051 | "multi": false, |
| 1052 | "name": "memory_pool_heap", |
| 1053 | "options": [], |
| 1054 | "query": { |
| 1055 | "query": "label_values(jvm_memory_used_bytes{application=\"$application\", instance=\"$instance\", area=\"heap\"},id)", |
| 1056 | "refId": "Prometheus-memory_pool_heap-Variable-Query" |
| 1057 | }, |
| 1058 | "refresh": 1, |
| 1059 | "regex": "", |
| 1060 | "skipUrlSync": false, |
| 1061 | "sort": 1, |
| 1062 | "tagValuesQuery": "", |
| 1063 | "tagsQuery": "", |
| 1064 | "type": "query", |
| 1065 | "useTags": false |
| 1066 | }, |
| 1067 | { |
| 1068 | "current": { |
| 1069 | "selected": false, |
| 1070 | "text": "All", |
| 1071 | "value": "$__all" |
| 1072 | }, |
| 1073 | "datasource": { |
| 1074 | "type": "prometheus", |
| 1075 | "uid": "dkSf71fnz" |
| 1076 | }, |
| 1077 | "definition": "", |
| 1078 | "hide": 0, |
| 1079 | "includeAll": true, |
| 1080 | "label": "Memory Pool (nonheap)", |
| 1081 | "multi": false, |
| 1082 | "name": "memory_pool_nonheap", |
| 1083 | "options": [], |
| 1084 | "query": { |
| 1085 | "query": "label_values(jvm_memory_used_bytes{application=\"$application\", instance=\"$instance\", area=\"nonheap\"},id)", |
| 1086 | "refId": "Prometheus-memory_pool_nonheap-Variable-Query" |
| 1087 | }, |
| 1088 | "refresh": 1, |
| 1089 | "regex": "", |
| 1090 | "skipUrlSync": false, |
| 1091 | "sort": 1, |
| 1092 | "tagValuesQuery": "", |
| 1093 | "tagsQuery": "", |
| 1094 | "type": "query", |
| 1095 | "useTags": false |
| 1096 | } |
| 1097 | ] |
| 1098 | }, |
| 1099 | "time": { |
| 1100 | "from": "now-15m", |
| 1101 | "to": "now" |
| 1102 | }, |
| 1103 | "timepicker": { |
| 1104 | "refresh_intervals": [ |
| 1105 | "10s", |
| 1106 | "30s", |
| 1107 | "1m", |
| 1108 | "5m", |
| 1109 | "15m", |
| 1110 | "30m", |
| 1111 | "1h", |
| 1112 | "2h", |
| 1113 | "1d" |
| 1114 | ], |
| 1115 | "time_options": [ |
| 1116 | "5m", |
| 1117 | "15m", |
| 1118 | "1h", |
| 1119 | "6h", |
| 1120 | "12h", |
| 1121 | "24h", |
| 1122 | "2d", |
| 1123 | "7d", |
| 1124 | "30d" |
| 1125 | ] |
| 1126 | }, |
| 1127 | "timezone": "", |
| 1128 | "title": "SLA's Metrics", |
| 1129 | "uid": "ySoel0jnk", |
| 1130 | "version": 2, |
| 1131 | "weekStart": "" |
| 1132 | } |