events

package
v5.8.2+incompatible Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2022 License: Apache-2.0, MIT Imports: 5 Imported by: 0

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