metrics

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 18, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Collector

type Collector struct {
	// contains filtered or unexported fields
}

func MustMetrics

func MustMetrics(logger *zap.SugaredLogger, config *api.Config) *Collector

func (*Collector) AddSyncDownloadImageBytes

func (c *Collector) AddSyncDownloadImageBytes(b int64)

func (*Collector) IncrementCacheMiss

func (c *Collector) IncrementCacheMiss()

func (*Collector) IncrementDownloadedImages

func (c *Collector) IncrementDownloadedImages()

func (*Collector) IncrementSyncDownloadImageCount

func (c *Collector) IncrementSyncDownloadImageCount()

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL