processors

package
v0.0.0-...-56f7de6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 5, 2015 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ContainerMetricProcessor

type ContainerMetricProcessor struct{}

func NewContainerMetricProcessor

func NewContainerMetricProcessor() *ContainerMetricProcessor

func (*ContainerMetricProcessor) Process

func (*ContainerMetricProcessor) ProcessContainerMetricCPU

func (p *ContainerMetricProcessor) ProcessContainerMetricCPU(e *events.ContainerMetric) metrics.GaugeMetric

func (*ContainerMetricProcessor) ProcessContainerMetricDisk

func (p *ContainerMetricProcessor) ProcessContainerMetricDisk(e *events.ContainerMetric) metrics.GaugeMetric

func (*ContainerMetricProcessor) ProcessContainerMetricMemory

func (p *ContainerMetricProcessor) ProcessContainerMetricMemory(e *events.ContainerMetric) metrics.GaugeMetric

type CounterProcessor

type CounterProcessor struct{}

func NewCounterProcessor

func NewCounterProcessor() *CounterProcessor

func (*CounterProcessor) Process

func (p *CounterProcessor) Process(e *events.Envelope) []metrics.Metric

func (*CounterProcessor) ProcessCounter

func (p *CounterProcessor) ProcessCounter(event *events.CounterEvent) *metrics.CounterMetric

type HeartbeatProcessor

type HeartbeatProcessor struct{}

func NewHeartbeatProcessor

func NewHeartbeatProcessor() *HeartbeatProcessor

func (*HeartbeatProcessor) Process

func (p *HeartbeatProcessor) Process(e *events.Envelope) []metrics.Metric

func (*HeartbeatProcessor) ProcessHeartbeatCount

func (p *HeartbeatProcessor) ProcessHeartbeatCount(e *events.Heartbeat, origin string) *metrics.CounterMetric

func (*HeartbeatProcessor) ProcessHeartbeatEventsErrorCount

func (p *HeartbeatProcessor) ProcessHeartbeatEventsErrorCount(e *events.Heartbeat, origin string) *metrics.GaugeMetric

func (*HeartbeatProcessor) ProcessHeartbeatEventsReceivedCount

func (p *HeartbeatProcessor) ProcessHeartbeatEventsReceivedCount(e *events.Heartbeat, origin string) *metrics.GaugeMetric

func (*HeartbeatProcessor) ProcessHeartbeatEventsSentCount

func (p *HeartbeatProcessor) ProcessHeartbeatEventsSentCount(e *events.Heartbeat, origin string) *metrics.GaugeMetric

type HttpStartStopProcessor

type HttpStartStopProcessor struct{}

func NewHttpStartStopProcessor

func NewHttpStartStopProcessor() *HttpStartStopProcessor

func (*HttpStartStopProcessor) Process

func (*HttpStartStopProcessor) ProcessHttpStartStopHttpErrorCount

func (p *HttpStartStopProcessor) ProcessHttpStartStopHttpErrorCount(event *events.HttpStartStop) *metrics.CounterMetric

func (*HttpStartStopProcessor) ProcessHttpStartStopHttpRequestCount

func (p *HttpStartStopProcessor) ProcessHttpStartStopHttpRequestCount(event *events.HttpStartStop) *metrics.CounterMetric

func (*HttpStartStopProcessor) ProcessHttpStartStopResponseTime

func (p *HttpStartStopProcessor) ProcessHttpStartStopResponseTime(event *events.HttpStartStop) *metrics.TimingMetric

func (*HttpStartStopProcessor) ProcessHttpStartStopStatusCodeCount

func (p *HttpStartStopProcessor) ProcessHttpStartStopStatusCodeCount(event *events.HttpStartStop) *metrics.CounterMetric

type Processor

type Processor interface {
	Process(e *events.Envelope) []metrics.Metric
}

type ValueMetricProcessor

type ValueMetricProcessor struct{}

func NewValueMetricProcessor

func NewValueMetricProcessor() *ValueMetricProcessor

func (*ValueMetricProcessor) Process

func (*ValueMetricProcessor) ProcessValueMetric

func (p *ValueMetricProcessor) ProcessValueMetric(event *events.ValueMetric, origin string) *metrics.FGaugeMetric

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL