Skip to content

Commit

Permalink
comment
Browse files Browse the repository at this point in the history
Signed-off-by: wjhuang2016 <[email protected]>
  • Loading branch information
wjhuang2016 committed Oct 16, 2023
1 parent 20c0878 commit ba04a2d
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions pkg/metrics/globalsort.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,16 @@ package metrics
import "github.com/prometheus/client_golang/prometheus"

var (
GlobalSortWriteToCloudStorageDuration *prometheus.HistogramVec
GlobalSortWriteToCloudStorageRate *prometheus.HistogramVec
// GlobalSortWriteToCloudStorageDuration records the duration of writing to cloud storage.
GlobalSortWriteToCloudStorageDuration *prometheus.HistogramVec
// GlobalSortWriteToCloudStorageRate records the rate of writing to cloud storage.
GlobalSortWriteToCloudStorageRate *prometheus.HistogramVec
// GlobalSortReadFromCloudStorageDuration records the duration of reading from cloud storage.
GlobalSortReadFromCloudStorageDuration *prometheus.HistogramVec
GlobalSortReadFromCloudStorageRate *prometheus.HistogramVec
GlobalSortIngestWorkerCnt *prometheus.GaugeVec
// GlobalSortReadFromCloudStorageRate records the rate of reading from cloud storage.
GlobalSortReadFromCloudStorageRate *prometheus.HistogramVec
// GlobalSortIngestWorkerCnt records the working number of ingest workers.
GlobalSortIngestWorkerCnt *prometheus.GaugeVec
)

// InitGlobalSortMetrics initializes defines global sort metrics.
Expand Down

0 comments on commit ba04a2d

Please sign in to comment.