Skip to content

Commit

Permalink
sinkv2(ticdc): add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Rustin170506 committed Sep 29, 2022
1 parent bb7c70a commit 2cc30ae
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions cdc/sinkv2/metrics/mq/metrics.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,9 @@ var WorkerFlushDuration = prometheus.NewHistogramVec(
Namespace: "ticdc",
Subsystem: "sinkv2",
Name: "mq_worker_flush_duration",
Help: "Flush duration(s) for MQ worker.",
Buckets: prometheus.ExponentialBuckets(0.001, 2, 20), // 1ms~1000s
Help: "Flush duration(s) for MQ worker. " +
"It contains the grouping, encoding, and asynchronous sending off a batch of data.",
Buckets: prometheus.ExponentialBuckets(0.001, 2, 20), // 1ms~1000s
}, []string{"namespace", "changefeed"})

// InitMetrics registers all metrics in this file.
Expand Down

0 comments on commit 2cc30ae

Please sign in to comment.