telemetry

package
v0.0.8 Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2025 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Telemetry

type Telemetry struct {
	Name              string
	NonUTF8Attributes map[string]int64

	Logger *zap.Logger
	Tracer trace.Tracer
	// contains filtered or unexported fields
}

Telemetry keeps module telemetry as meters and logger

func (*Telemetry) IncrementClientDropSpans

func (t *Telemetry) IncrementClientDropSpans(serviceName string, value int64)

func (*Telemetry) IncrementFailed

func (t *Telemetry) IncrementFailed(transport string, value int64)

func (*Telemetry) IncrementNonUTF8Attributes

func (t *Telemetry) IncrementNonUTF8Attributes(transport string, value int64)

func (*Telemetry) IncrementProcessed

func (t *Telemetry) IncrementProcessed(transport string, value int64)

func (*Telemetry) Init

func (t *Telemetry) Init(set receiver.Settings)

Init initialises the Meters

Jump to

Keyboard shortcuts

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