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