Documentation ¶
Index ¶
- func Close()
- func Disable()
- func Init(addr string, prefix string, cfg *StatterConfig) error
- func ReportClosureFuncCall(name string, tags ...Tags)
- func ReportClosureFuncError(name string, tags ...Tags)
- func ReportClosureFuncStatus(name string, tags ...Tags)
- func ReportFuncCall(tags ...Tags)
- func ReportFuncError(tags ...Tags)
- func ReportFuncStatus(tags ...Tags)
- type Statter
- type StatterConfig
- type StopTimerFunc
- type Tags
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReportClosureFuncCall ¶
func ReportClosureFuncError ¶
func ReportClosureFuncStatus ¶
func ReportFuncCall ¶
func ReportFuncCall(tags ...Tags)
func ReportFuncError ¶
func ReportFuncError(tags ...Tags)
func ReportFuncStatus ¶
func ReportFuncStatus(tags ...Tags)
Types ¶
type StatterConfig ¶
type StatterConfig struct { EnvName string HostName string StuckFunctionTimeout time.Duration MockingEnabled bool }
func (*StatterConfig) BaseTags ¶
func (m *StatterConfig) BaseTags() []string
type StopTimerFunc ¶
type StopTimerFunc func()
func ReportClosureFuncTiming ¶
func ReportClosureFuncTiming(name string, tags ...Tags) StopTimerFunc
func ReportFuncTiming ¶
func ReportFuncTiming(tags ...Tags) StopTimerFunc
Click to show internal directories.
Click to hide internal directories.