metrics

package
v0.1.11 Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2020 License: BSD-2-Clause Imports: 2 Imported by: 0

Documentation

Overview

Package metrics this package contains Prometheus counters

Index

Constants

This section is empty.

Variables

View Source
var (
	// Miss cache misses
	Miss = promauto.NewCounter(prometheus.CounterOpts{
		Name: "gerdu_misses_total",
		Help: "The total number of missed cache hits",
	})

	// Hits cache hits
	Hits = promauto.NewCounter(prometheus.CounterOpts{
		Name: "gerdu_hits_total",
		Help: "The total number of cache hits",
	})

	// Adds number of adds operations
	Adds = promauto.NewCounter(prometheus.CounterOpts{
		Name: "gerdu_adds_total",
		Help: "The total number of new added nodes",
	})

	// Deletes number of delete operations
	Deletes = promauto.NewCounter(prometheus.CounterOpts{
		Name: "gerdu_deletes_total",
		Help: "The total number of deletes nodes",
	})
)

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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