Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Stats = new(Collectors)
Functions ¶
This section is empty.
Types ¶
type Collectors ¶
type Collectors struct { GatewaySessionsGauge *prometheus.GaugeVec RoomParticipantsGauge *prometheus.GaugeVec RequestDurationHistogram *prometheus.HistogramVec }
func (*Collectors) Init ¶
func (c *Collectors) Init()
func (*Collectors) Reset ¶
func (c *Collectors) Reset()
type PeriodicCollector ¶
type PeriodicCollector struct {
// contains filtered or unexported fields
}
func NewPeriodicCollector ¶
func NewPeriodicCollector(db common.DBInterface) *PeriodicCollector
func (*PeriodicCollector) Close ¶
func (pc *PeriodicCollector) Close()
func (*PeriodicCollector) Start ¶
func (pc *PeriodicCollector) Start()
Click to show internal directories.
Click to hide internal directories.