Skip to content

Commit c621754

Browse files
author
Satyam Bhardwaj
committed
Grafana Observational graphs for Pipelines Controller Resource
Utilization The following metrics are being queried- - container_cpu_usage_seconds_total - container_memory_working_set_bytes Signed-off-by: Satyam Bhardwaj <[email protected]>
1 parent 12862f6 commit c621754

File tree

1 file changed

+223
-5
lines changed

1 file changed

+223
-5
lines changed

operator/gitops/argocd/grafana/dashboards/pipeline-service-dashboard.json

Lines changed: 223 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@
2020
"editable": true,
2121
"gnetId": null,
2222
"graphTooltip": 0,
23-
"id": 6,
23+
"id": 18,
24+
"iteration": 1686742425906,
2425
"links": [],
2526
"panels": [
2627
{
@@ -387,8 +388,222 @@
387388
"title": "TaskRun Success",
388389
"transformations": [],
389390
"type": "stat"
391+
},
392+
{
393+
"collapsed": false,
394+
"datasource": null,
395+
"gridPos": {
396+
"h": 1,
397+
"w": 24,
398+
"x": 0,
399+
"y": 18
400+
},
401+
"id": 11,
402+
"panels": [],
403+
"repeat": "datasource",
404+
"scopedVars": {
405+
"datasource": {
406+
"selected": true,
407+
"text": "prometheus-appstudio-ds",
408+
"value": "prometheus-appstudio-ds"
409+
}
410+
},
411+
"title": "Pipelines-Controller Resource Utlization",
412+
"type": "row"
413+
},
414+
{
415+
"aliasColors": {},
416+
"bars": false,
417+
"dashLength": 10,
418+
"dashes": false,
419+
"datasource": null,
420+
"description": "Total average CPU usage of the Pipelines over the past hour.",
421+
"fieldConfig": {
422+
"defaults": {},
423+
"overrides": []
424+
},
425+
"fill": 1,
426+
"fillGradient": 0,
427+
"gridPos": {
428+
"h": 8,
429+
"w": 12,
430+
"x": 0,
431+
"y": 19
432+
},
433+
"hiddenSeries": false,
434+
"id": 13,
435+
"legend": {
436+
"avg": false,
437+
"current": false,
438+
"max": false,
439+
"min": false,
440+
"show": true,
441+
"total": false,
442+
"values": false
443+
},
444+
"lines": true,
445+
"linewidth": 1,
446+
"nullPointMode": "null",
447+
"options": {
448+
"alertThreshold": true
449+
},
450+
"percentage": false,
451+
"pluginVersion": "7.5.17",
452+
"pointradius": 2,
453+
"points": false,
454+
"renderer": "flot",
455+
"seriesOverrides": [],
456+
"spaceLength": 10,
457+
"stack": false,
458+
"steppedLine": false,
459+
"targets": [
460+
{
461+
"exemplar": true,
462+
"expr": "sum(rate(container_cpu_usage_seconds_total{pod=~\"tekton-pipelines-controller-.*\"}[5m]))",
463+
"format": "table",
464+
"interval": "",
465+
"legendFormat": "",
466+
"refId": "A"
467+
}
468+
],
469+
"thresholds": [],
470+
"timeFrom": null,
471+
"timeRegions": [],
472+
"timeShift": null,
473+
"title": "CPU Usage",
474+
"tooltip": {
475+
"shared": true,
476+
"sort": 0,
477+
"value_type": "individual"
478+
},
479+
"type": "graph",
480+
"xaxis": {
481+
"buckets": null,
482+
"mode": "time",
483+
"name": null,
484+
"show": true,
485+
"values": []
486+
},
487+
"yaxes": [
488+
{
489+
"format": "short",
490+
"label": null,
491+
"logBase": 1,
492+
"max": null,
493+
"min": null,
494+
"show": true
495+
},
496+
{
497+
"format": "short",
498+
"label": null,
499+
"logBase": 1,
500+
"max": null,
501+
"min": null,
502+
"show": true
503+
}
504+
],
505+
"yaxis": {
506+
"align": false,
507+
"alignLevel": null
508+
}
509+
},
510+
{
511+
"aliasColors": {},
512+
"bars": false,
513+
"dashLength": 10,
514+
"dashes": false,
515+
"datasource": null,
516+
"description": "Working set memory usage of Pipelines Controller Containers ",
517+
"fieldConfig": {
518+
"defaults": {},
519+
"overrides": []
520+
},
521+
"fill": 1,
522+
"fillGradient": 0,
523+
"gridPos": {
524+
"h": 8,
525+
"w": 12,
526+
"x": 12,
527+
"y": 19
528+
},
529+
"hiddenSeries": false,
530+
"id": 15,
531+
"legend": {
532+
"avg": false,
533+
"current": false,
534+
"max": false,
535+
"min": false,
536+
"show": true,
537+
"total": false,
538+
"values": false
539+
},
540+
"lines": true,
541+
"linewidth": 1,
542+
"nullPointMode": "null",
543+
"options": {
544+
"alertThreshold": true
545+
},
546+
"percentage": false,
547+
"pluginVersion": "7.5.17",
548+
"pointradius": 2,
549+
"points": false,
550+
"renderer": "flot",
551+
"seriesOverrides": [],
552+
"spaceLength": 10,
553+
"stack": false,
554+
"steppedLine": false,
555+
"targets": [
556+
{
557+
"exemplar": true,
558+
"expr": "sum(container_memory_working_set_bytes{pod=~\"tekton-pipelines-controller-.*\"})",
559+
"interval": "",
560+
"legendFormat": "",
561+
"refId": "A"
562+
}
563+
],
564+
"thresholds": [],
565+
"timeFrom": null,
566+
"timeRegions": [],
567+
"timeShift": null,
568+
"title": "Memory Utilization",
569+
"tooltip": {
570+
"shared": true,
571+
"sort": 0,
572+
"value_type": "individual"
573+
},
574+
"type": "graph",
575+
"xaxis": {
576+
"buckets": null,
577+
"mode": "time",
578+
"name": null,
579+
"show": true,
580+
"values": []
581+
},
582+
"yaxes": [
583+
{
584+
"format": "short",
585+
"label": null,
586+
"logBase": 1,
587+
"max": null,
588+
"min": null,
589+
"show": true
590+
},
591+
{
592+
"format": "short",
593+
"label": null,
594+
"logBase": 1,
595+
"max": null,
596+
"min": null,
597+
"show": true
598+
}
599+
],
600+
"yaxis": {
601+
"align": false,
602+
"alignLevel": null
603+
}
390604
}
391605
],
606+
"refresh": false,
392607
"schemaVersion": 27,
393608
"style": "dark",
394609
"tags": [],
@@ -397,11 +612,14 @@
397612
{
398613
"current": {
399614
"selected": true,
400-
"text": "Prometheus",
401-
"value": "Prometheus"
615+
"text": "prometheus-appstudio-ds",
616+
"value": "prometheus-appstudio-ds"
402617
},
618+
"description": null,
619+
"error": null,
403620
"hide": 0,
404621
"includeAll": false,
622+
"label": null,
405623
"multi": false,
406624
"name": "datasource",
407625
"options": [],
@@ -421,6 +639,6 @@
421639
"timepicker": {},
422640
"timezone": "",
423641
"title": "Pipeline Service",
424-
"uid": "70dc58781c5f4a23a64ff09480976459",
425-
"version": 1
642+
"uid": "02ebfdefeeed166624895c36b0c1af4ed3006c5d",
643+
"version": 2
426644
}

0 commit comments

Comments
 (0)