flowmonitor

package
v0.0.0-...-83adff0 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2020 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitFlowMonitor

func InitFlowMonitor(conf *Config) (err error)

InitFlowMonitor init flow monitor

Types

type Config

type Config struct {
	Interval xtime.Duration
	Addr     string
}

type FlowMonitor

type FlowMonitor struct {
	// contains filtered or unexported fields
}
var Fm *FlowMonitor

func (*FlowMonitor) Add

func (fm *FlowMonitor) Add(appId string, source string, timeRangeKey string, kind string, status string) error

Add do the metric

func (*FlowMonitor) AddEvent

func (fm *FlowMonitor) AddEvent(e *event.ProcessorEvent, source string, kind string, status string)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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