metrics

package
v2.0.0-rc0 Latest Latest
Warning

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

Go to latest
Published: Jan 2, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package metrics defines an interface valid for all caches.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Interface

type Interface interface {
	SetCacheType(cacheType string)
	CacheInsertInc()
	CacheRemoveInc()
	CacheMoveInc()
	CacheGetEmptyInc()
	CacheInsertEmptyInc()
	CacheHitInc()
	CacheMissInc()
	CacheExpiredInc()
	CacheMaxEntriesSet(maxEntries int)
}

Directories

Path Synopsis
Package noop defines a No-op metric implementation for the cache.
Package noop defines a No-op metric implementation for the cache.
Package prometheus defines a Prometheus metric implementation for the cache.
Package prometheus defines a Prometheus metric implementation for the cache.

Jump to

Keyboard shortcuts

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