Documentation ¶
Index ¶
- func Log(r metrics.Registry, freq time.Duration, l Logger, minLock bool)
- func LogOnCue(r metrics.Registry, ch chan interface{}, l Logger, minLock bool)
- func LogScaled(r metrics.Registry, freq time.Duration, scale time.Duration, l Logger, ...)
- func LogScaledOnCue(r metrics.Registry, ch chan interface{}, scale time.Duration, l Logger, ...)
- type Logger
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LogOnCue ¶
LogOnCue outputs each metric in the given registry on demand through the channel using the given logger
func LogScaled ¶
LogScaled outputs each metric in the given registry periodically using the given logger. Print timings in `scale` units (eg time.Millisecond) rather than nanos.
func LogScaledOnCue ¶
func LogScaledOnCue(r metrics.Registry, ch chan interface{}, scale time.Duration, l Logger, minLock bool)
LogScaledOnCue outputs each metric in the given registry on demand through the channel using the given logger. Print timings in `scale` units (eg time.Millisecond) rather than nanos.
Types ¶
Click to show internal directories.
Click to hide internal directories.