Skip to content

Commit c8b8ddc

Browse files
committed
add grafana views for tekton chains controller workque and latency
1 parent f0c7741 commit c8b8ddc

File tree

1 file changed

+215
-3
lines changed

1 file changed

+215
-3
lines changed

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

Lines changed: 215 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3810,6 +3810,129 @@
38103810
},
38113811
"id": 79,
38123812
"panels": [
3813+
{
3814+
"description": "Watcher work queue depth",
3815+
"fieldConfig": {
3816+
"defaults": {
3817+
"color": {
3818+
"fixedColor": "green",
3819+
"mode": "thresholds"
3820+
},
3821+
"mappings": [],
3822+
"noValue": "No Data",
3823+
"thresholds": {
3824+
"mode": "absolute",
3825+
"steps": [
3826+
{
3827+
"color": "green",
3828+
"value": null
3829+
}
3830+
]
3831+
},
3832+
"unit": "none"
3833+
},
3834+
"overrides": []
3835+
},
3836+
"gridPos": {
3837+
"h": 6,
3838+
"w": 3,
3839+
"x": 0,
3840+
"y": 67
3841+
},
3842+
"id": 476,
3843+
"options": {
3844+
"colorMode": "value",
3845+
"graphMode": "area",
3846+
"justifyMode": "auto",
3847+
"orientation": "auto",
3848+
"reduceOptions": {
3849+
"calcs": [
3850+
"lastNotNull"
3851+
],
3852+
"fields": "",
3853+
"values": false
3854+
},
3855+
"text": {},
3856+
"textMode": "auto"
3857+
},
3858+
"pluginVersion": "9.5.17",
3859+
"targets": [
3860+
{
3861+
"editorMode": "code",
3862+
"exemplar": true,
3863+
"expr": "sum(watcher_workqueue_depth{container='tekton-chains-controller',app='tekton-chains-controller'})",
3864+
"interval": "",
3865+
"intervalFactor": 1,
3866+
"legendFormat": "Queue Depth",
3867+
"range": true,
3868+
"refId": "work queue depth"
3869+
}
3870+
],
3871+
"title": "Watcher Work Queue Depth",
3872+
"type": "stat"
3873+
},
3874+
{
3875+
"description": "Reconcile latency 99%-tile - \nLatency of reconcile operations.",
3876+
"fieldConfig": {
3877+
"defaults": {
3878+
"color": {
3879+
"fixedColor": "green",
3880+
"mode": "thresholds"
3881+
},
3882+
"mappings": [],
3883+
"noValue": "No Data",
3884+
"thresholds": {
3885+
"mode": "absolute",
3886+
"steps": [
3887+
{
3888+
"color": "green",
3889+
"value": null
3890+
}
3891+
]
3892+
},
3893+
"unit": "ms"
3894+
},
3895+
"overrides": []
3896+
},
3897+
"gridPos": {
3898+
"h": 6,
3899+
"w": 4,
3900+
"x": 3,
3901+
"y": 67
3902+
},
3903+
"id": 477,
3904+
"interval": "15s",
3905+
"options": {
3906+
"colorMode": "value",
3907+
"graphMode": "area",
3908+
"justifyMode": "auto",
3909+
"orientation": "auto",
3910+
"reduceOptions": {
3911+
"calcs": [
3912+
"lastNotNull"
3913+
],
3914+
"fields": "",
3915+
"values": false
3916+
},
3917+
"text": {},
3918+
"textMode": "auto"
3919+
},
3920+
"pluginVersion": "9.5.17",
3921+
"targets": [
3922+
{
3923+
"editorMode": "code",
3924+
"exemplar": true,
3925+
"expr": "histogram_quantile(0.99, sum(rate(watcher_reconcile_latency_bucket{job=\"tekton-chains\"}[30m])) by (le) ) / 1000",
3926+
"interval": "",
3927+
"intervalFactor": 4,
3928+
"legendFormat": "Latency",
3929+
"range": true,
3930+
"refId": "reconcile latency"
3931+
}
3932+
],
3933+
"title": "Watcher Reconcile Latency",
3934+
"type": "stat"
3935+
},
38133936
{
38143937
"fieldConfig": {
38153938
"defaults": {
@@ -3851,7 +3974,92 @@
38513974
"mode": "absolute",
38523975
"steps": [
38533976
{
3854-
"color": "green"
3977+
"color": "green",
3978+
"value": null
3979+
},
3980+
{
3981+
"color": "red",
3982+
"value": 80
3983+
}
3984+
]
3985+
}
3986+
},
3987+
"overrides": []
3988+
},
3989+
"gridPos": {
3990+
"h": 8,
3991+
"w": 12,
3992+
"x": 12,
3993+
"y": 67
3994+
},
3995+
"id": 83,
3996+
"options": {
3997+
"legend": {
3998+
"calcs": [],
3999+
"displayMode": "list",
4000+
"placement": "bottom",
4001+
"showLegend": true
4002+
},
4003+
"tooltip": {
4004+
"mode": "single",
4005+
"sort": "none"
4006+
}
4007+
},
4008+
"targets": [
4009+
{
4010+
"editorMode": "builder",
4011+
"expr": "rate(watcher_workqueue_longest_running_processor_seconds_count{app=\"tekton-chains-controller\"}[5m])",
4012+
"legendFormat": "__auto",
4013+
"range": true,
4014+
"refId": "A"
4015+
}
4016+
],
4017+
"title": "Tekton Chains Workqueue Rate",
4018+
"type": "timeseries"
4019+
},
4020+
{
4021+
"fieldConfig": {
4022+
"defaults": {
4023+
"color": {
4024+
"mode": "palette-classic"
4025+
},
4026+
"custom": {
4027+
"axisCenteredZero": false,
4028+
"axisColorMode": "text",
4029+
"axisLabel": "",
4030+
"axisPlacement": "auto",
4031+
"barAlignment": 0,
4032+
"drawStyle": "line",
4033+
"fillOpacity": 0,
4034+
"gradientMode": "none",
4035+
"hideFrom": {
4036+
"legend": false,
4037+
"tooltip": false,
4038+
"viz": false
4039+
},
4040+
"lineInterpolation": "linear",
4041+
"lineWidth": 1,
4042+
"pointSize": 5,
4043+
"scaleDistribution": {
4044+
"type": "linear"
4045+
},
4046+
"showPoints": "auto",
4047+
"spanNulls": false,
4048+
"stacking": {
4049+
"group": "A",
4050+
"mode": "none"
4051+
},
4052+
"thresholdsStyle": {
4053+
"mode": "off"
4054+
}
4055+
},
4056+
"mappings": [],
4057+
"thresholds": {
4058+
"mode": "absolute",
4059+
"steps": [
4060+
{
4061+
"color": "green",
4062+
"value": null
38554063
},
38564064
{
38574065
"color": "red",
@@ -3866,7 +4074,7 @@
38664074
"h": 8,
38674075
"w": 12,
38684076
"x": 0,
3869-
"y": 18
4077+
"y": 73
38704078
},
38714079
"id": 81,
38724080
"options": {
@@ -3892,6 +4100,10 @@
38924100
],
38934101
"title": "Tekton Chains CPU Fraction Use",
38944102
"type": "timeseries"
4103+
}
4104+
],
4105+
"title": "Tekton Chains CPU Fraction Use",
4106+
"type": "timeseries"
38954107
},
38964108
{
38974109
"fieldConfig": {
@@ -4261,4 +4473,4 @@
42614473
"uid": "02ebfdefeeed166624895c36b0c1af4ed3006c5d",
42624474
"version": 1,
42634475
"weekStart": ""
4264-
}
4476+
}

0 commit comments

Comments
 (0)