metrics

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2019 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const Namespace = "ringbuf"

Variables

This section is empty.

Functions

This section is empty.

Types

type Ringbuf

type Ringbuf struct {
	WriteCalls    prometheus.Counter
	ReadCalls     prometheus.Counter
	WritesBlocked prometheus.Counter
	ReadsBlocked  prometheus.Counter
	WriteEntries  prometheus.Observer
	ReadEntries   prometheus.Observer
	MaxEntries    prometheus.Gauge
	UsedEntries   prometheus.Gauge
}

func NewRingbuf

func NewRingbuf(l *RingbufLabels) Ringbuf

type RingbufLabels

type RingbufLabels struct {
	RingID string
}

func (*RingbufLabels) Labels

func (l *RingbufLabels) Labels() []string

func (*RingbufLabels) Values

func (l *RingbufLabels) Values() []string

Jump to

Keyboard shortcuts

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