Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TimeStampedValue ¶
func (*TimeStampedValue) String ¶
func (tsv *TimeStampedValue) String() string
type WindowSink ¶
func NewWindowSink ¶
func NewWindowSink(maxAge time.Duration, maxValues int) *WindowSink
func (*WindowSink) AddSample ¶
func (ws *WindowSink) AddSample(key []string, val float32)
Samples are for timing information, where quantiles are used
func (*WindowSink) EmitKey ¶
func (ws *WindowSink) EmitKey(key []string, val float32)
Should emit a Key/Value pair for each call
func (*WindowSink) IncrCounter ¶
func (ws *WindowSink) IncrCounter(key []string, val float32)
Counters should accumulate values
func (*WindowSink) Sample ¶
func (ws *WindowSink) Sample(key []string) *ValueRing
func (*WindowSink) SetGauge ¶
func (ws *WindowSink) SetGauge(key []string, val float32)
Click to show internal directories.
Click to hide internal directories.