Skip to content
This repository has been archived by the owner on Nov 24, 2023. It is now read-only.

syncer, loader: add more metrics #1778

Merged
merged 45 commits into from
Aug 27, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
45 commits
Select commit Hold shift + click to select a range
d72725d
syncer: add more metrics
Ehco1996 Jun 17, 2021
9021ad6
add replicationTransactionBatch
Ehco1996 Jun 22, 2021
b5d090a
add metric label
Ehco1996 Jun 24, 2021
e1570ef
add more metric
Ehco1996 Jun 24, 2021
76436f7
add test
Ehco1996 Jun 25, 2021
b1964d1
address comment
Ehco1996 Jun 28, 2021
c0cbf48
change metric name
Ehco1996 Jun 28, 2021
ca2ee0a
fix test
Ehco1996 Jun 28, 2021
a11b3de
address comment
Ehco1996 Jun 29, 2021
944fba8
Merge branch 'master' into more-metric
Ehco1996 Jun 29, 2021
515178a
rename
Ehco1996 Jun 29, 2021
df65649
Merge branch 'master' into more-metric
Ehco1996 Jul 16, 2021
65620f3
Merge branch 'master' into more-metric
Ehco1996 Jul 19, 2021
921a9cd
Merge branch 'master' into more-metric
Ehco1996 Aug 2, 2021
5177328
Merge branch 'master' into more-metric
Ehco1996 Aug 4, 2021
089ab92
add FlushCheckPointsTimeInterval
Ehco1996 Aug 5, 2021
231d2da
wip change lag metric to histogram
Ehco1996 Aug 5, 2021
73ff689
fix metric test
Ehco1996 Aug 6, 2021
7ff8108
remove print
Ehco1996 Aug 6, 2021
559d462
fix a test
Ehco1996 Aug 6, 2021
c1daccb
fix typo
Ehco1996 Aug 6, 2021
5e13779
Merge branch 'master' into more-metric
Ehco1996 Aug 12, 2021
4c5de8b
add new dashbord json
Ehco1996 Aug 12, 2021
3f767b4
replace dashboard json file
Ehco1996 Aug 13, 2021
a0646e3
Merge branch 'master' into more-metric
Ehco1996 Aug 17, 2021
4d28614
Merge branch 'master' into more-metric
Ehco1996 Aug 17, 2021
af4f465
fix loader metrics
Ehco1996 Aug 18, 2021
b143bb3
fix syncer metric
Ehco1996 Aug 18, 2021
f94ddd1
use int64 in dbTableDataLastFinishedSize
Ehco1996 Aug 18, 2021
5c373a1
fix buckets
Ehco1996 Aug 18, 2021
bf9ab67
update dashboard
Ehco1996 Aug 18, 2021
2a6bfab
address comment and fix old typo
Ehco1996 Aug 18, 2021
8b23377
address comment
Ehco1996 Aug 18, 2021
b4612d9
Merge branch 'master' into more-metric
Ehco1996 Aug 20, 2021
f1bd1de
Merge branch 'master' into more-metric
Ehco1996 Aug 24, 2021
563af99
Merge branch 'master' into more-metric
Ehco1996 Aug 25, 2021
b411c1b
Merge branch 'master' into more-metric
Ehco1996 Aug 25, 2021
cf6fdac
Merge branch 'master' into more-metric
Ehco1996 Aug 26, 2021
75761ba
address comment wip
Ehco1996 Aug 26, 2021
5ba1ee4
fix some metrics
Ehco1996 Aug 26, 2021
12c51c5
update dashboard
Ehco1996 Aug 26, 2021
e5ea34b
add ReplicationLagGauge back
Ehco1996 Aug 26, 2021
112f277
update dashboard
Ehco1996 Aug 26, 2021
15ab053
Merge branch 'master' into more-metric
Ehco1996 Aug 26, 2021
e23edc9
Merge branch 'master' into more-metric
Ehco1996 Aug 27, 2021
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 .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ relay_log/*
vendor
*/*.DS_Store
tidb-slow.log
/monitoring/dashboards/dm.json
/monitoring/dashboards/*.json
/monitoring/rules/dm_worker.rules.yml
mysql.*.log
.python-version
3 changes: 3 additions & 0 deletions dm/config/subtask.go
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,9 @@ type SubTaskConfig struct {

// still needed by Syncer / Loader bin
printVersion bool

// which DM worker is running the subtask, this will be injected when the real worker starts running the subtask(StartSubTask).
WorkerName string `toml:"-" json:"-"`
}

// NewSubTaskConfig creates a new SubTaskConfig.
Expand Down
Loading