Documentation
¶
Index ¶
- type Meter
- type Metrics
- func (m *Metrics) SetCacheLength(count uint64)
- func (m *Metrics) SetCacheMemory(bytes uint64)
- func (m *Metrics) SetErrors(value uint64)
- func (m *Metrics) SetHits(value uint64)
- func (m *Metrics) SetMisses(value uint64)
- func (m *Metrics) SetPanics(value uint64)
- func (m *Metrics) SetProxiedNum(value uint64)
- func (m *Metrics) SetRPS(value float64)
- func (m *Metrics) SetTotal(value uint64)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Meter ¶
type Meter interface {
SetHits(value uint64)
SetMisses(value uint64)
SetErrors(value uint64)
SetTotal(value uint64)
SetPanics(value uint64)
SetProxiedNum(value uint64)
SetRPS(value float64)
SetCacheLength(count uint64)
SetCacheMemory(bytes uint64)
}
Meter defines methods for recording application metrics.
type Metrics ¶
type Metrics struct{}
Metrics implements Meter using VictoriaMetrics metrics.
func (*Metrics) SetCacheLength ¶
func (*Metrics) SetCacheMemory ¶
func (*Metrics) SetProxiedNum ¶ added in v1.0.1
Click to show internal directories.
Click to hide internal directories.