Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ImportFailures = prometheus.NewCounter( prometheus.CounterOpts{ Name: "imgctrl_import_failures", Help: "The total number of image import failures", }, ) ImportSuccesses = prometheus.NewCounter( prometheus.CounterOpts{ Name: "imgctrl_import_success", Help: "The total number of image import successes", }, ) PushSuccesses = prometheus.NewCounter( prometheus.CounterOpts{ Name: "imgctrl_image_pushes_success", Help: "The total number image pushes", }, ) PushFailures = prometheus.NewCounter( prometheus.CounterOpts{ Name: "imgctrl_image_pushes_failures", Help: "The total number failed image pushes", }, ) PushLatency = prometheus.NewHistogram( prometheus.HistogramOpts{ Name: "imgctrl_push_latency", Help: "Time spent processsing image pulls", Buckets: []float64{5, 10, 15, 20, 30, 45, 60, 90, 120, 150, 180, 300, 600}, }, ) PullSuccesses = prometheus.NewCounter( prometheus.CounterOpts{ Name: "imgctrl_image_pulls_success", Help: "The total number of image pulls", }, ) PullFailures = prometheus.NewCounter( prometheus.CounterOpts{ Name: "imgctrl_image_pulls_failures", Help: "The total number of failed image pulls", }, ) PullLatency = prometheus.NewHistogram( prometheus.HistogramOpts{ Name: "imgctrl_pull_latency", Help: "Time spent processsing image pulls", Buckets: []float64{5, 10, 15, 20, 30, 45, 60, 90, 120, 150, 180, 300, 600}, }, ) ActiveWorkers = prometheus.NewGauge( prometheus.GaugeOpts{ Name: "imgctrl_active_import_workers", Help: "Current number of running image imports workers", }, ) MirrorLatency = prometheus.NewHistogram( prometheus.HistogramOpts{ Name: "imgctrl_mirror_latency", Help: "Time spent mirroring images", Buckets: []float64{5, 10, 15, 20, 30, 45, 60, 90, 120, 150, 180, 300, 600}, }, ) )
Bellow follow a list of all registered metrics we have in our system. To add a new one remember to add it to this list and also to properly register it on init() func.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.