exporter

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: May 2, 2022 License: Apache-2.0 Imports: 6 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GRPCProto

type GRPCProto struct {
	// contains filtered or unexported fields
}

GRPCProto flow exporter. Its ExportFlows method accepts slices of *flow.Record by its input channel, converts them to *pbflow.Records instances, and submits them to the collector.

func StartGRPCProto

func StartGRPCProto(hostPort string) (*GRPCProto, error)

func (*GRPCProto) ExportFlows

func (g *GRPCProto) ExportFlows(input <-chan []*flow.Record)

ExportFlows accepts slices of *flow.Record by its input channel, converts them to *pbflow.Records instances, and submits them to the collector.

Jump to

Keyboard shortcuts

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