Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParseSelectedEvents ¶
func ParseSelectedEvents(orgEnvValue string) []events.Envelope_EventType
Types ¶
type EventHandler ¶
type EventHandler struct {
// contains filtered or unexported fields
}
EventHandler receive CF events and send metrics to WF
func CreateEventHandler ¶
func CreateEventHandler(conf *config.WavefrontConfig) *EventHandler
CreateEventHandler create a new EventHandler
func (*EventHandler) BuildContainerEvent ¶
func (w *EventHandler) BuildContainerEvent(event *events.Envelope, appInfo *api.AppInfo)
BuildContainerEvent parse and report metrics
func (*EventHandler) BuildCounterEvent ¶
func (w *EventHandler) BuildCounterEvent(event *events.Envelope)
BuildCounterEvent parse and report metrics
func (*EventHandler) BuildValueMetricEvent ¶
func (w *EventHandler) BuildValueMetricEvent(event *events.Envelope)
BuildValueMetricEvent parse and report metrics
func (*EventHandler) ReportError ¶
func (w *EventHandler) ReportError(err error)
ReportError increments the error counter
Click to show internal directories.
Click to hide internal directories.