Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( DownloadCount = promauto.NewCounter(prometheus.CounterOpts{ Namespace: constants.MetricsNamespace, Subsystem: constants.CDNMetricsName, Name: "download_total", Help: "Counter of the number of the downloading.", }) DownloadFailureCount = promauto.NewCounter(prometheus.CounterOpts{ Namespace: constants.MetricsNamespace, Subsystem: constants.CDNMetricsName, Name: "download_failure_total", Help: "Counter of the number of failed of the downloading.", }) DownloadTraffic = promauto.NewCounter(prometheus.CounterOpts{ Namespace: constants.MetricsNamespace, Subsystem: constants.CDNMetricsName, Name: "download_traffic", Help: "Counter of the number of download traffic.", }) ConcurrentDownloadGauge = promauto.NewGauge(prometheus.GaugeOpts{ Namespace: constants.MetricsNamespace, Subsystem: constants.CDNMetricsName, Name: "concurrent_download_total", Help: "Gauger of the number of concurrent of the downloading.", }) )
Variables declared for metrics.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.