cachemetrics

package
v0.24.5 Latest Latest
Warning

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

Go to latest
Published: Jan 27, 2022 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IncGetOperationCounter

func IncGetOperationCounter(source SourceLabel, status StatusLabel)

func Register

func Register(r prometheus.Registerer)

Types

type SourceLabel

type SourceLabel string
const (
	LabelSourceRedis    SourceLabel = "redis"
	LabelSourceInmemory SourceLabel = "inmemory"
)

type StatusLabel

type StatusLabel string
const (
	LabelStatusHit  StatusLabel = "hit"
	LabelStatusMiss StatusLabel = "miss"
)

Jump to

Keyboard shortcuts

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