Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CounterEmitter ¶
type CounterEmitter struct {
// contains filtered or unexported fields
}
func NewCounterEmitter ¶
func NewCounterEmitter(client *loggregator.IngressClient) *CounterEmitter
func (CounterEmitter) EmitCounter ¶
func (e CounterEmitter) EmitCounter() http.HandlerFunc
func (CounterEmitter) SendCounter ¶
func (e CounterEmitter) SendCounter(counter CounterMetric)
type CounterMetric ¶
type GaugeEmitter ¶
type GaugeEmitter struct {
// contains filtered or unexported fields
}
func NewGaugeEmitter ¶
func NewGaugeEmitter(client *loggregator.IngressClient) *GaugeEmitter
func (GaugeEmitter) EmitGauge ¶
func (e GaugeEmitter) EmitGauge() http.HandlerFunc
func (GaugeEmitter) SendGauge ¶
func (e GaugeEmitter) SendGauge(gauge GaugeMetric)
type GaugeMetric ¶
type GaugeMetric struct { SourceId string InstanceId string Tags map[string]string Values []GaugeValue }
type GaugeValue ¶
type TimerEmitter ¶
type TimerEmitter struct {
// contains filtered or unexported fields
}
func NewTimerEmitter ¶
func NewTimerEmitter(client *loggregator.IngressClient) *TimerEmitter
func (TimerEmitter) EmitTimer ¶
func (e TimerEmitter) EmitTimer() http.HandlerFunc
func (TimerEmitter) SendTimer ¶
func (e TimerEmitter) SendTimer(timer TimerMetric)
type TimerMetric ¶
type TimerMetric struct { SourceId string InstanceId string Tags map[string]string Value TimerValue }
Click to show internal directories.
Click to hide internal directories.