Documentation
¶
Index ¶
- type Prom
- func (p *Prom) Add(v int64)
- func (p *Prom) AddVec(name string, v int64, extra ...string)
- func (p *Prom) Decr()
- func (p *Prom) DecrVec(name string, extra ...string)
- func (p *Prom) Incr()
- func (p *Prom) IncrVec(name string, extra ...string)
- func (p *Prom) State(v int64)
- func (p *Prom) StateVec(name string, v int64, extra ...string)
- func (p *Prom) WithCounter(name string) *Prom
- func (p *Prom) WithCounterVec(name string, labels []string) *Prom
- func (p *Prom) WithState(name string) *Prom
- func (p *Prom) WithStateVec(name string, labels []string) *Prom
- func (p *Prom) WithTimerVec(name string, labels []string) *Prom
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Prom ¶
type Prom struct {
// contains filtered or unexported fields
}
Prom struct info
func (*Prom) WithCounterVec ¶
WithCounterVec sets counterVec.
func (*Prom) WithStateVec ¶
WithStateVec sets stateVec.
Click to show internal directories.
Click to hide internal directories.