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
Click to show internal directories.
Click to hide internal directories.