eventEventType

package
v0.7.6 Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2017 License: Apache-2.0 Imports: 4 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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