Documentation ¶
Index ¶
- type Pusher
- func (p *Pusher) AddCounter(name string, description string) *Pusher
- func (p *Pusher) AddCounterWithLable(name string, description string, labels map[string]string) *Pusher
- func (p *Pusher) AddGauge(name string, description string) *Pusher
- func (p *Pusher) AddGaugeWithLabel(name string, description string, labels map[string]string) *Pusher
- func (p *Pusher) AddHistogram(name string, description string) *Pusher
- func (p *Pusher) AddHistogramWithLabels(name string, description string, labels map[string]string) *Pusher
- func (p *Pusher) IncrCounter(name string, value int) error
- func (p *Pusher) IncrGauge(name string, value int) error
- func (p *Pusher) ObserveHistogram(name string, value int) error
- func (p *Pusher) Push() error
- func (p *Pusher) SetGauge(name string, value int) error
- func (p *Pusher) Start(ctx context.Context)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Pusher ¶
type Pusher struct {
// contains filtered or unexported fields
}
func (*Pusher) AddCounterWithLable ¶
func (*Pusher) AddGaugeWithLabel ¶
func (*Pusher) AddHistogram ¶
func (*Pusher) AddHistogramWithLabels ¶
Click to show internal directories.
Click to hide internal directories.