Documentation ¶ Index ¶ Variables type Metrics func New() *Metrics Constants ¶ This section is empty. Variables ¶ View Source var ( // Namespace defines the namespace for the defines metrics. Namespace = "ocis" // Subsystem defines the subsystem for the defines metrics. Subsystem = "webdav" ) Functions ¶ This section is empty. Types ¶ type Metrics ¶ type Metrics struct { // Counter *prometheus.CounterVec BuildInfo *prometheus.GaugeVec } Metrics defines the available metrics of this service. func New ¶ func New() *Metrics New initializes the available metrics. Source Files ¶ View all Source files metrics.go Click to show internal directories. Click to hide internal directories.