Documentation ¶
Index ¶
- type CacheSink
- func (c *CacheSink) AddSample(key []string, val float32)
- func (c *CacheSink) AddSampleWithLabels(key []string, val float32, labels []metrics.Label)
- func (c *CacheSink) EmitKey(key []string, val float32)
- func (c *CacheSink) IncrCounter(key []string, val float32)
- func (c *CacheSink) IncrCounterWithLabels(key []string, val float32, labels []metrics.Label)
- func (c *CacheSink) Replay(r MetricsCacheReplayer)
- func (c *CacheSink) SetGauge(key []string, val float32)
- func (c *CacheSink) SetGaugeWithLabels(key []string, val float32, labels []metrics.Label)
- type DeferredSink
- func (d *DeferredSink) AddSample(key []string, val float32)
- func (d *DeferredSink) AddSampleWithLabels(key []string, val float32, labels []metrics.Label)
- func (d *DeferredSink) Configure(sink metrics.MetricSink)
- func (d *DeferredSink) EmitKey(key []string, val float32)
- func (d *DeferredSink) IncrCounter(key []string, val float32)
- func (d *DeferredSink) IncrCounterWithLabels(key []string, val float32, labels []metrics.Label)
- func (d *DeferredSink) SetGauge(key []string, val float32)
- func (d *DeferredSink) SetGaugeWithLabels(key []string, val float32, labels []metrics.Label)
- type DynamicSink
- func (d *DynamicSink) AddSample(key []string, val float32)
- func (d *DynamicSink) AddSampleWithLabels(key []string, val float32, labels []metrics.Label)
- func (d *DynamicSink) EmitKey(key []string, val float32)
- func (d *DynamicSink) IncrCounter(key []string, val float32)
- func (d *DynamicSink) IncrCounterWithLabels(key []string, val float32, labels []metrics.Label)
- func (d *DynamicSink) ReplaceSink(sink metrics.MetricSink)
- func (d *DynamicSink) SetGauge(key []string, val float32)
- func (d *DynamicSink) SetGaugeWithLabels(key []string, val float32, labels []metrics.Label)
- type MetricsCacheReplayer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CacheSink ¶
type CacheSink struct {
// contains filtered or unexported fields
}
func (*CacheSink) AddSampleWithLabels ¶
func (*CacheSink) IncrCounter ¶
func (*CacheSink) IncrCounterWithLabels ¶
func (*CacheSink) Replay ¶
func (c *CacheSink) Replay(r MetricsCacheReplayer)
func (*CacheSink) SetGaugeWithLabels ¶
type DeferredSink ¶
type DeferredSink struct {
// contains filtered or unexported fields
}
func NewDeferredSink ¶
func NewDeferredSink() *DeferredSink
func (*DeferredSink) AddSample ¶
func (d *DeferredSink) AddSample(key []string, val float32)
func (*DeferredSink) AddSampleWithLabels ¶
func (d *DeferredSink) AddSampleWithLabels(key []string, val float32, labels []metrics.Label)
func (*DeferredSink) Configure ¶
func (d *DeferredSink) Configure(sink metrics.MetricSink)
func (*DeferredSink) EmitKey ¶
func (d *DeferredSink) EmitKey(key []string, val float32)
func (*DeferredSink) IncrCounter ¶
func (d *DeferredSink) IncrCounter(key []string, val float32)
func (*DeferredSink) IncrCounterWithLabels ¶
func (d *DeferredSink) IncrCounterWithLabels(key []string, val float32, labels []metrics.Label)
func (*DeferredSink) SetGauge ¶
func (d *DeferredSink) SetGauge(key []string, val float32)
func (*DeferredSink) SetGaugeWithLabels ¶
func (d *DeferredSink) SetGaugeWithLabels(key []string, val float32, labels []metrics.Label)
type DynamicSink ¶
type DynamicSink struct {
// contains filtered or unexported fields
}
func NewDynamicSink ¶
func NewDynamicSink(sink metrics.MetricSink) *DynamicSink
func (*DynamicSink) AddSample ¶
func (d *DynamicSink) AddSample(key []string, val float32)
func (*DynamicSink) AddSampleWithLabels ¶
func (d *DynamicSink) AddSampleWithLabels(key []string, val float32, labels []metrics.Label)
func (*DynamicSink) EmitKey ¶
func (d *DynamicSink) EmitKey(key []string, val float32)
func (*DynamicSink) IncrCounter ¶
func (d *DynamicSink) IncrCounter(key []string, val float32)
func (*DynamicSink) IncrCounterWithLabels ¶
func (d *DynamicSink) IncrCounterWithLabels(key []string, val float32, labels []metrics.Label)
func (*DynamicSink) ReplaceSink ¶
func (d *DynamicSink) ReplaceSink(sink metrics.MetricSink)
func (*DynamicSink) SetGauge ¶
func (d *DynamicSink) SetGauge(key []string, val float32)
func (*DynamicSink) SetGaugeWithLabels ¶
func (d *DynamicSink) SetGaugeWithLabels(key []string, val float32, labels []metrics.Label)
type MetricsCacheReplayer ¶
Click to show internal directories.
Click to hide internal directories.