eventEventType

package
v0.8.4 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2017 License: Apache-2.0 Imports: 4 Imported by: 14

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EventDetailMapKey

type EventDetailMapKey struct {
	Deployment string
	Job        string
	Index      string
	Ip         string
}

type EventDetailStats

type EventDetailStats struct {
	EventType events.Envelope_EventType
	Origin    string

	DeploymentName string
	JobName        string
	JobIndex       string
	Ip             string
	MyId           string

	LastEventTime time.Time
	EventCount    int64
}

EventDetailStats --> OrginStats --> EventDetailStats

func NewEventDetailStats

func NewEventDetailStats(msg *events.Envelope) *EventDetailStats

func (*EventDetailStats) Id

func (ds *EventDetailStats) Id() string

type EventOriginStats

type EventOriginStats struct {
	Origin string
	// Key: EventDetailMapKey
	EventDetailStatsMap map[EventDetailMapKey]*EventDetailStats
}

EventOriginStats --> OrginStats --> EventDetailStats

func NewEventOriginStats

func NewEventOriginStats(origin string) *EventOriginStats

func (*EventOriginStats) FindEventDetailStats

func (os *EventOriginStats) FindEventDetailStats(msg *events.Envelope) *EventDetailStats

func (*EventOriginStats) Id

func (os *EventOriginStats) Id() string

type EventTypeStats

type EventTypeStats struct {
	EventType events.Envelope_EventType
	// Key: Envelope_EventType
	EventOriginStatsMap map[string]*EventOriginStats
}

EventTypeStats --> OrginStats --> EventDetailStats

func NewEventTypeStats

func NewEventTypeStats(eventType events.Envelope_EventType) *EventTypeStats

func (*EventTypeStats) FindEventOriginStats

func (ets *EventTypeStats) FindEventOriginStats(origin string) *EventOriginStats

func (*EventTypeStats) Id

func (ets *EventTypeStats) Id() string

Jump to

Keyboard shortcuts

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