logsagentexporter

package module
v0.0.0-...-23465b2 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2023 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// TypeStr defines the logsagent exporter type string.
	TypeStr = "logsagent"
)

Variables

This section is empty.

Functions

func CreateConsumeLogsFunc

func CreateConsumeLogsFunc(logger *zap.Logger, logSource *sources.LogSource, logsAgentChannel chan *message.Message) func(context.Context, plog.Logs) error

CreateConsumeLogsFunc returns an implementation of consumer.ConsumeLogsFunc

func NewFactory

func NewFactory(logsAgentChannel chan *message.Message) exp.Factory

NewFactory creates a new logsagentexporter factory.

Types

This section is empty.

Jump to

Keyboard shortcuts

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