Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateBulkInsert ¶
func CreateBulkInsert(client *elastic.Client, vdcName string) *elastic.BulkService
CreateBulkInsert creates a BulkIndexInsertService for trafficData
func InsertIntoElastic ¶
func InsertIntoElastic(msg TrafficMessage, bulkInsert *elastic.BulkService)
InsertIntoElastic Adds a TrafficMessage into the bulkInsert
Types ¶
type ComponentMatcher ¶
type ComponentMatcher struct { Name string // contains filtered or unexported fields }
func (*ComponentMatcher) Match ¶
func (m *ComponentMatcher) Match(ip string) bool
type ThroughputAgent ¶
type ThroughputAgent struct { ElasticSearchURL string Interface string VDCName string // contains filtered or unexported fields }
func NewThroughputAgent ¶
func NewThroughputAgent() (*ThroughputAgent, error)
func (*ThroughputAgent) Run ¶
func (ta *ThroughputAgent) Run()
Click to show internal directories.
Click to hide internal directories.