Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SilentTimeTracer ¶
type SilentTimeTracer struct{}
func NewSilentTimeTracer ¶
func NewSilentTimeTracer() *SilentTimeTracer
func (*SilentTimeTracer) Finish ¶
func (t *SilentTimeTracer) Finish()
func (*SilentTimeTracer) Stage ¶
func (t *SilentTimeTracer) Stage(format string, args ...interface{})
type TimeBuckets ¶
func NewTimeBuckets ¶
func NewTimeBuckets(clock clockwork.Clock, log logger.Logger) *TimeBuckets
func WithTimeBuckets ¶
func (*TimeBuckets) LogIfNonZero ¶
func (t *TimeBuckets) LogIfNonZero(ctx context.Context, bucketName string)
func (*TimeBuckets) Record ¶
func (t *TimeBuckets) Record(bucketName string) FinFn
type TimeTracer ¶
type TimeTracer interface { Stage(format string, args ...interface{}) Finish() }
func NewTimeTracer ¶
type TimeTracerImpl ¶
func (*TimeTracerImpl) Finish ¶
func (t *TimeTracerImpl) Finish()
func (*TimeTracerImpl) Stage ¶
func (t *TimeTracerImpl) Stage(format string, args ...interface{})
Click to show internal directories.
Click to hide internal directories.