Documentation ¶ Index ¶ func Count(name string, tags map[string]string, value float64) func SetMetric(injectMetric Metric) func Summary(name string, tags map[string]string, value float64) func Time(name string, tags map[string]string, value float64) type Metric Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Count ¶ func Count(name string, tags map[string]string, value float64) Count count 打点 func SetMetric ¶ func SetMetric(injectMetric Metric) func Summary ¶ func Summary(name string, tags map[string]string, value float64) Time Time 打点 func Time ¶ func Time(name string, tags map[string]string, value float64) Time Time 打点 Types ¶ type Metric ¶ type Metric interface { // Count count 打点 Count(name string, tags map[string]string, value float64) // Time Time 打点 Time(name string, tags map[string]string, value float64) // Time Time 打点 Summary(name string, tags map[string]string, value float64) } Source Files ¶ View all Source files metric.go Click to show internal directories. Click to hide internal directories.