events

package
v1.0.6 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2024 License: Apache-2.0 Imports: 4 Imported by: 4

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 HttpStart

func HttpStart(msg *events.Envelope) *Event

HttpStart event type is retained for backward compatibility, despite being deprecated.

func HttpStartStop

func HttpStartStop(msg *events.Envelope) *Event

func HttpStop

func HttpStop(msg *events.Envelope) *Event

HttpStop event type is retained for backward compatibility, despite being deprecated.

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)

func (*Event) CopyEvent added in v0.9.0

func (e *Event) CopyEvent() *Event

type Fields added in v1.0.6

type Fields map[string]interface{}

Fields type

Jump to

Keyboard shortcuts

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