logs

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jun 8, 2022 License: MPL-2.0 Imports: 10 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LMLogIngest

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

func NewLMLogIngest

func NewLMLogIngest(batch bool, interval int) (*LMLogIngest, error)

func (*LMLogIngest) BatchInterval

func (lli *LMLogIngest) BatchInterval() int

func (*LMLogIngest) CreateRequestBody

func (lli *LMLogIngest) CreateRequestBody() internal.DataPayload

func (*LMLogIngest) ExportData

func (lli *LMLogIngest) ExportData(payloadList internal.DataPayload, uri, method string) (*utils.Response, error)

func (*LMLogIngest) SendLogs

func (lli *LMLogIngest) SendLogs(logMessage string, resourceidMap, metadata map[string]string) (*utils.Response, error)

func (*LMLogIngest) URI

func (lli *LMLogIngest) URI() string

Jump to

Keyboard shortcuts

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