events

package
v0.0.0-...-232336a Latest Latest
Warning

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

Go to latest
Published: Jun 8, 2018 License: MIT Imports: 5 Imported by: 13

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Event

type Event struct {
	Fields map[string]interface{}
	Msg    string
	Type   string
}

func ContainerMetric

func ContainerMetric(msg *events.Envelope) *Event

func CounterEvent

func CounterEvent(msg *events.Envelope) *Event

func ErrorEvent

func ErrorEvent(msg *events.Envelope) *Event

func HttpStartStop

func HttpStartStop(msg *events.Envelope) *Event

func LogMessage

func LogMessage(msg *events.Envelope) *Event

func ValueMetric

func ValueMetric(msg *events.Envelope) *Event

func (*Event) AnnotateWithAppData

func (e *Event) AnnotateWithAppData(caching caching.Caching)

func (*Event) AnnotateWithEnveloppeData

func (e *Event) AnnotateWithEnveloppeData(msg *events.Envelope)

func (*Event) AnnotateWithMetaData

func (e *Event) AnnotateWithMetaData(extraFields map[string]string)

Jump to

Keyboard shortcuts

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