opentelemetry

package
v1.8.4 Latest Latest
Warning

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

Go to latest
Published: Jan 2, 2024 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FlusherOTLP

type FlusherOTLP struct {
	Version Version                  `json:"Version"`
	Logs    *helper.GrpcClientConfig `json:"Logs"`
	Metrics *helper.GrpcClientConfig `json:"Metrics"`
	Traces  *helper.GrpcClientConfig `json:"Traces"`
	// contains filtered or unexported fields
}

func (*FlusherOTLP) Description

func (f *FlusherOTLP) Description() string

func (*FlusherOTLP) Export

func (f *FlusherOTLP) Export(pipelinegroupeEventSlice []*models.PipelineGroupEvents, ctx pipeline.PipelineContext) error

Export data to destination, such as gRPC, console, file, etc. It is expected to return no error at most time because IsReady will be called before it to make sure there is space for next data.

func (*FlusherOTLP) Flush

func (f *FlusherOTLP) Flush(projectName string, logstoreName string, configName string, logGroupList []*protocol.LogGroup) error

func (*FlusherOTLP) Init

func (f *FlusherOTLP) Init(ctx pipeline.Context) error

func (*FlusherOTLP) IsReady

func (f *FlusherOTLP) IsReady(projectName string, logstoreName string, logstoreKey int64) bool

IsReady is ready to flush

func (*FlusherOTLP) SetUrgent

func (f *FlusherOTLP) SetUrgent(flag bool)

func (*FlusherOTLP) Stop

func (f *FlusherOTLP) Stop() error

Stop ...

type Version

type Version string

Jump to

Keyboard shortcuts

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