Versions in this module Expand all Collapse all v0 v0.2.13 Sep 11, 2020 Changes in this version + var AppBuildInfo = NewPromCounter("i2eco_app_build_info", []string{ ... }) + var HTTPServerCounter = NewPromCounter("i2eco_http_server_code", []string{ ... }) + var HTTPServerTimer = NewPromTimer("i2eco_http_server", []string{ ... }) + func Register() common.Caller + type Cfg struct + type PromCounter struct + func NewPromCounter(name string, labels []string) *PromCounter + func (p *PromCounter) Add(name string, v int64, extra ...string) + func (p *PromCounter) Decr(name string, extra ...string) + func (p *PromCounter) Incr(name string, extra ...string) + func (p *PromCounter) Set(name string, extra ...string) + type PromTimer struct + func NewPromTimer(name string, labels []string) *PromTimer + func (p *PromTimer) Timing(name string, time int64, extra ...string)