Documentation ¶
Index ¶
- func ConfigSpec() *service.ConfigSpec
- type Metrics
- func (p *Metrics) Close(context.Context) error
- func (p *Metrics) HandlerFunc() http.HandlerFunc
- func (p *Metrics) NewCounterCtor(path string, labelNames ...string) service.MetricsExporterCounterCtor
- func (p *Metrics) NewGaugeCtor(path string, labelNames ...string) service.MetricsExporterGaugeCtor
- func (p *Metrics) NewTimerCtor(path string, labelNames ...string) service.MetricsExporterTimerCtor
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConfigSpec ¶
func ConfigSpec() *service.ConfigSpec
Types ¶
type Metrics ¶
type Metrics struct {
// contains filtered or unexported fields
}
func FromParsed ¶
func (*Metrics) HandlerFunc ¶
func (p *Metrics) HandlerFunc() http.HandlerFunc
func (*Metrics) NewCounterCtor ¶
func (p *Metrics) NewCounterCtor(path string, labelNames ...string) service.MetricsExporterCounterCtor
func (*Metrics) NewGaugeCtor ¶
func (p *Metrics) NewGaugeCtor(path string, labelNames ...string) service.MetricsExporterGaugeCtor
func (*Metrics) NewTimerCtor ¶
func (p *Metrics) NewTimerCtor(path string, labelNames ...string) service.MetricsExporterTimerCtor
Click to show internal directories.
Click to hide internal directories.