Documentation
¶
Index ¶
- func Close() error
- func Count(name string, value int64, tags ...Tag)
- func FCount(name string, value float64, tags ...Tag)
- func FGuage(name string, value float64, tags ...Tag)
- func Guage(name string, value int64, tags ...Tag)
- func Incr(name string, tags ...Tag)
- func LoggerErrorAndMetrics(ctx context.Context, metric, format string, args ...interface{})
- func Timing(name string, value time.Duration, tags ...Tag)
- func TimingSince(name string, now time.Time, tags ...Tag)
- type Tag
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoggerErrorAndMetrics ¶
语法糖, 输入日志并且打点
Types ¶
Click to show internal directories.
Click to hide internal directories.