Documentation ¶
Overview ¶
Package metrics contains structs and helpers for interacting with Prometheus.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Counters ¶
type Counters struct { PackagingErrorCounter *prometheus.CounterVec PackagingProcessDuration *prometheus.CounterVec }
CustomMetrics holds names and types of all custom prometheus metrics used in this application.
func (Counters) AddPackagingErrors ¶
func (c Counters) AddPackagingErrors(labels prometheus.Labels, count float64)
func (Counters) AddPackagingProcessDuration ¶
func (c Counters) AddPackagingProcessDuration(labels prometheus.Labels, count float64)
Click to show internal directories.
Click to hide internal directories.