Documentation ¶
Index ¶
Constants ¶
View Source
const (
TypeNode = "metrics"
)
Variables ¶
This section is empty.
Functions ¶
func NewBuilder ¶
func NewBuilder() container.StandardBuilder
Types ¶
type Gauge ¶
type Gauge interface { With(lvs ...string) Gauge Set(value float64) Add(delta float64) Sub(delta float64) }
Gauge is metrics gauge.
type Resolver ¶ added in v0.7.1
type Resolver interface { Name() string Resolve(name string, config config.Config) (Provider, error) }
resover 定义配置文件转换方法
type StandardMetric ¶
StandardMetric
func NewStandardMetric ¶
func NewStandardMetric(c container.Container) StandardMetric
NewStandardMetric
Click to show internal directories.
Click to hide internal directories.