Documentation ¶
Index ¶
- func NewFileListener(path string) *fileListener
- func NewUDPListener(port int) (*udpListener, error)
- type Agent
- type Aggregator
- type ClassExtractorFunc
- type DistributedEvent
- type Event
- type FileRawEvenParser
- type Host
- type Listener
- type Parser
- type RawEvent
- type RawEventParser
- type Shim
- type SinkInput
- type StatsDSink
- type Storage
- type UDPRawEvenParser
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewFileListener ¶
func NewFileListener(path string) *fileListener
func NewUDPListener ¶
Types ¶
type Agent ¶
type Agent struct {
// contains filtered or unexported fields
}
func NewAgent ¶
func NewAgent(host Host, statsEndpoint StatsDSink) *Agent
type Aggregator ¶
func NewAggregator ¶
func NewAggregator(sink metrics.MetricSink, storage Storage, rawEventParser RawEventParser, l Listener) (*Aggregator, error)
func (*Aggregator) NewDistributedEvent ¶
func (a *Aggregator) NewDistributedEvent(ce ClassExtractorFunc, minSize int, ttl time.Duration) DistributedEvent
func (*Aggregator) NumEvents ¶
func (a *Aggregator) NumEvents() uint64
type ClassExtractorFunc ¶
type DistributedEvent ¶
type Event ¶
type FileRawEvenParser ¶
type FileRawEvenParser struct {
MinTS, MaxTs int64
}
func (*FileRawEvenParser) Parse ¶
func (U *FileRawEvenParser) Parse(re *RawEvent) *Event
type Parser ¶
type Parser struct {
// contains filtered or unexported fields
}
func NewParser ¶
func NewParser(rawEventParser RawEventParser, ch <-chan *RawEvent) *Parser
type RawEventParser ¶
type StatsDSink ¶
type StatsDSink string
type UDPRawEvenParser ¶
type UDPRawEvenParser struct { }
func (*UDPRawEvenParser) Parse ¶
func (U *UDPRawEvenParser) Parse(re *RawEvent) *Event
Click to show internal directories.
Click to hide internal directories.