riemann

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2017 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateRiemannSink

func CreateRiemannSink(uri *url.URL) (core.EventSink, error)

creates a Riemann sink. Returns a riemannSink

Types

type RiemannSink

type RiemannSink struct {
	sync.RWMutex
	// contains filtered or unexported fields
}

contains the riemann client, the riemann configuration, and a RWMutex

func (*RiemannSink) ExportEvents

func (sink *RiemannSink) ExportEvents(eventBatch *core.EventBatch)

func (*RiemannSink) Name

func (sink *RiemannSink) Name() string

Return a user-friendly string describing the sink

func (*RiemannSink) Stop

func (sink *RiemannSink) Stop()

Jump to

Keyboard shortcuts

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