Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
49 commits
Select commit Hold shift + click to select a range
a395d8d
init
wk989898 Jan 2, 2026
4e1d373
update
wk989898 Jan 4, 2026
dfd5a44
add metrics
wk989898 Jan 4, 2026
93ffa19
chore
wk989898 Jan 5, 2026
25ebc74
revert
wk989898 Jan 5, 2026
0523f9e
update
wk989898 Jan 5, 2026
939c499
chore
wk989898 Jan 5, 2026
81350cb
.
wk989898 Jan 5, 2026
e44a3f4
update
wk989898 Jan 5, 2026
bede3b6
Merge branch 'master' into metric-affected
wk989898 Jan 13, 2026
0a45840
add dml event type metric
wk989898 Jan 14, 2026
29dbe48
Merge branch 'master' into metric-affected
wk989898 Jan 20, 2026
7ac433e
Merge branch 'master' into metric-affected
wk989898 Jan 26, 2026
82e52dc
update
wk989898 Jan 26, 2026
be784fb
Merge branch 'master' into metric-affected
wk989898 Feb 12, 2026
a4f21d3
fix
wk989898 Feb 12, 2026
38367df
chore
wk989898 Feb 12, 2026
9cebf26
update
wk989898 Feb 12, 2026
4131b5e
update
wk989898 Feb 12, 2026
144bd1b
chore
wk989898 Feb 12, 2026
54c83ab
Merge branch 'master' into metric-affected
wk989898 Feb 24, 2026
2c77416
fix ut
wk989898 Feb 24, 2026
d5fb797
update
wk989898 Feb 24, 2026
422fd27
update
wk989898 Feb 24, 2026
08f3ef7
chore
wk989898 Feb 24, 2026
3bfa917
update
wk989898 Feb 24, 2026
03a3678
fix
wk989898 Feb 25, 2026
4498131
Merge branch 'master' into metric-affected
wk989898 Feb 26, 2026
23a3060
chore
wk989898 Feb 26, 2026
4879358
fix ut
wk989898 Feb 26, 2026
ecbe2b4
update mysql driver version
wk989898 Feb 26, 2026
c76d3ab
Revert "update mysql driver version"
wk989898 Feb 26, 2026
520c2f3
fix
wk989898 Feb 26, 2026
18c8530
chore
wk989898 Feb 26, 2026
b01379b
fix
wk989898 Feb 26, 2026
6085ee1
fix
wk989898 Feb 26, 2026
8b4064e
fix
wk989898 Feb 26, 2026
826cda7
update
wk989898 Feb 27, 2026
151a86d
update
wk989898 Feb 27, 2026
bdccca1
fmt
wk989898 Feb 28, 2026
7c38306
update
wk989898 Feb 28, 2026
826d9f4
chore
wk989898 Feb 28, 2026
453ed9e
update
wk989898 Feb 28, 2026
d361423
fix
wk989898 Feb 28, 2026
41f9e47
update
wk989898 Feb 28, 2026
3bd87bb
fix ut
wk989898 Feb 28, 2026
6894720
Merge branch 'master' into metric-affected
wk989898 Mar 2, 2026
d6d58fe
Merge branch 'metric-affected' of github.com:wk989898/ticdc into metr…
wk989898 Mar 2, 2026
948a04c
fix
wk989898 Mar 2, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ require (
github.com/gin-gonic/gin v1.9.1
github.com/go-mysql-org/go-mysql v1.13.0
github.com/go-oauth2/oauth2/v4 v4.5.4
github.com/go-sql-driver/mysql v1.7.1
github.com/go-sql-driver/mysql v1.9.3
github.com/goccy/go-json v0.10.4
github.com/gogo/protobuf v1.3.2
github.com/golang-jwt/jwt/v5 v5.3.0
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -1681,8 +1681,8 @@ github.com/go-playground/validator/v10 v10.14.0/go.mod h1:9iXMNT7sEkjXb0I+enO7QX
github.com/go-resty/resty/v2 v2.11.0 h1:i7jMfNOJYMp69lq7qozJP+bjgzfAzeOhuGlyDrqxT/8=
github.com/go-resty/resty/v2 v2.11.0/go.mod h1:iiP/OpA0CkcL3IGt1O0+/SIItFUbkkyw5BGXiVdTu+A=
github.com/go-sql-driver/mysql v1.5.0/go.mod h1:DCzpHaOWr8IXmIStZouvnhqoel9Qv2LBy8hT2VhHyBg=
github.com/go-sql-driver/mysql v1.7.1 h1:lUIinVbN1DY0xBg0eMOzmmtGoHwWBbvnWubQUrtU8EI=
github.com/go-sql-driver/mysql v1.7.1/go.mod h1:OXbVy3sEdcQ2Doequ6Z5BW6fXNQTmx+9S1MCJN5yJMI=
github.com/go-sql-driver/mysql v1.9.3 h1:U/N249h2WzJ3Ukj8SowVFjdtZKfu9vlLZxjPXV1aweo=
github.com/go-sql-driver/mysql v1.9.3/go.mod h1:qn46aNg1333BRMNU69Lq93t8du/dwxI64Gl8i5p1WMU=
github.com/go-stack/stack v1.8.0/go.mod h1:v0f6uXyyMGvRgIKkXu+yp6POWl0qKG85gN/melR3HDY=
github.com/gobwas/glob v0.2.3 h1:A4xDbljILXROh+kObIiy5kIaPYD8e96x1tgBhUI5J+Y=
github.com/gobwas/glob v0.2.3/go.mod h1:d3Ez4x06l9bZtSvzIay5+Yzi0fmZzPgnTbPcKjJAkT8=
Expand Down
203 changes: 203 additions & 0 deletions metrics/grafana/ticdc_new_arch.json
Original file line number Diff line number Diff line change
Expand Up @@ -13312,6 +13312,110 @@
"align": false,
"alignLevel": null
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${DS_TEST-CLUSTER}",
"description": "The total number of different dml events type that EventService outputs",
"fieldConfig": {
"defaults": {
"links": []
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 11,
"w": 12,
"x": 12,
"y": 74
},
"hiddenSeries": false,
"id": 22476,
"legend": {
"alignAsTable": true,
"avg": false,
"current": true,
"max": true,
"min": false,
"rightSide": false,
"show": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"paceLength": 10,
"percentage": false,
"pluginVersion": "7.5.17",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"exemplar": true,
"expr": "sum(rate(ticdc_event_service_send_dml_type_count{k8s_cluster=\"$k8s_cluster\", tidb_cluster=\"$tidb_cluster\", instance=~\"$ticdc_instance\"}[1m])) by (instance,dml_type)",
"format": "time_series",
"interval": "",
"intervalFactor": 1,
"legendFormat": "{{instance}}-{{dml_type}}",
"refId": "A"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "EventService Output Different DML Event Types / s",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"decimals": 0,
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": "0",
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": false
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
}
],
"title": "Event Service",
Expand Down Expand Up @@ -16386,6 +16490,105 @@
"align": false,
"alignLevel": null
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${DS_TEST-CLUSTER}",
"description": "The number of affected rows",
"fieldConfig": {
"defaults": {
"links": []
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 8,
"w": 12,
"x": 12,
"y": 32
},
"hiddenSeries": false,
"id": 636,
"legend": {
"alignAsTable": true,
"avg": false,
"current": true,
"max": true,
"min": false,
"rightSide": false,
"show": true,
"sort": "current",
"sortDesc": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "7.5.17",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"exemplar": true,
"expr": "sum(increase(ticdc_sink_dml_event_affected_row_count{k8s_cluster=\"$k8s_cluster\", tidb_cluster=\"$tidb_cluster\",namespace=~\"$namespace\", changefeed=~\"$changefeed\", instance=~\"$ticdc_instance\"}[1m])) by (namespace, changefeed, count_type, row_type)",
"format": "time_series",
"interval": "",
"intervalFactor": 1,
"legendFormat": "{{namespace}}-{{changefeed}}-{{count_type}}-{{row_type}}",
"refId": "A"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Row Affected Count / m",
"tooltip": {
"shared": true,
"sort": 2,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"decimals": 0,
"format": "short",
"logBase": 1,
"min": "0",
"show": true
},
{
"format": "none",
"logBase": 1,
"show": false
}
],
"yaxis": {
"align": false
}
}
],
"title": "Sink - Transaction Sink",
Expand Down
Loading