feat(flow): add some metrics (#4539)

* feat: add some metrics

* fix: tmp rate limiter

* feat: add task count metrics

* refactor: use bounded channel anyway

* refactor: better metrics
This commit is contained in:
discord9
2024-08-14 11:23:49 +08:00
committed by GitHub
parent b59a93dfbc
commit cbb06cd0c6
10 changed files with 104 additions and 32 deletions

2
Cargo.lock generated
View File

@@ -3832,6 +3832,7 @@ dependencies = [
"greptime-proto",
"hydroflow",
"itertools 0.10.5",
"lazy_static",
"meta-client",
"minstant",
"nom",
@@ -3839,6 +3840,7 @@ dependencies = [
"operator",
"partition",
"pretty_assertions",
"prometheus",
"prost 0.12.6",
"query",
"serde",