Skip to content

Commit

Permalink
register metrics
Browse files Browse the repository at this point in the history
  • Loading branch information
CharlesCheung96 committed Nov 2, 2023
1 parent b06826f commit 59601e8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cdc/sink/metrics/cloudstorage/metrics.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,4 +69,7 @@ var (
func InitMetrics(registry *prometheus.Registry) {
registry.MustRegister(CloudStorageWriteBytesGauge)
registry.MustRegister(CloudStorageFileCountGauge)
registry.MustRegister(CloudStorageWriteDurationHistogram)
registry.MustRegister(CloudStorageFlushDurationHistogram)
registry.MustRegister(CloudStorageWorkerBusyRatioCounter)
}

0 comments on commit 59601e8

Please sign in to comment.