otlp_exporter

package
v0.0.0-...-8d187f3 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2024 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

View Source
const (
	QUEUE_BATCH_COUNT = 1024
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Counter

type Counter struct {
	RecvCounter      int64 `statsd:"recv-count"`
	SendCounter      int64 `statsd:"send-count"`
	SendBatchCounter int64 `statsd:"send-batch-count"`
	ExportUsedTimeNs int64 `statsd:"export-used-time-ns"`
	DropCounter      int64 `statsd:"drop-count"`
	DropBatchCounter int64 `statsd:"drop-batch-count"`
}

type OtlpExporter

type OtlpExporter struct {
	Addr string

	utils.Closable
	// contains filtered or unexported fields
}

func NewOtlpExporter

func NewOtlpExporter(index int, config *exporters_cfg.ExporterCfg, universalTagsManager *utag.UniversalTagsManager) *OtlpExporter

func (*OtlpExporter) Close

func (e *OtlpExporter) Close()

func (*OtlpExporter) GetCounter

func (e *OtlpExporter) GetCounter() interface{}

func (*OtlpExporter) HandleSimpleCommand

func (e *OtlpExporter) HandleSimpleCommand(op uint16, arg string) string

func (*OtlpExporter) Put

func (e *OtlpExporter) Put(items ...interface{})

func (*OtlpExporter) Start

func (e *OtlpExporter) Start()

Jump to

Keyboard shortcuts

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