Documentation ¶
Index ¶
- type Config
- type Metrics
- func (p *Metrics) AddCount(name string, label string, val float64)
- func (p *Metrics) IncCount(name string, label string)
- func (p *Metrics) Init(config *Config)
- func (p *Metrics) RecordLatency(name string, label string, latency float64)
- func (p *Metrics) Setup(name string, dec plugin.Decoder) error
- func (p *Metrics) Type() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
EndpointPort string `yaml:"endpoint_port"`
}
func NewDefaultConfig ¶
func NewDefaultConfig() *Config
Click to show internal directories.
Click to hide internal directories.