metadata

package
v0.112.0 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: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LeveledMeter added in v0.108.0

func LeveledMeter(settings component.TelemetrySettings, level configtelemetry.Level) metric.Meter

func Meter deprecated

func Meter(settings component.TelemetrySettings) metric.Meter

Deprecated: [v0.108.0] use LeveledMeter instead.

func Tracer

func Tracer(settings component.TelemetrySettings) trace.Tracer

Types

type TelemetryBuilder

type TelemetryBuilder struct {
	ReceiverAcceptedLogRecords   metric.Int64Counter
	ReceiverAcceptedMetricPoints metric.Int64Counter
	ReceiverAcceptedSpans        metric.Int64Counter
	ReceiverRefusedLogRecords    metric.Int64Counter
	ReceiverRefusedMetricPoints  metric.Int64Counter
	ReceiverRefusedSpans         metric.Int64Counter
	// contains filtered or unexported fields
}

TelemetryBuilder provides an interface for components to report telemetry as defined in metadata and user config.

func NewTelemetryBuilder

func NewTelemetryBuilder(settings component.TelemetrySettings, options ...TelemetryBuilderOption) (*TelemetryBuilder, error)

NewTelemetryBuilder provides a struct with methods to update all internal telemetry for a component

type TelemetryBuilderOption added in v0.110.0

type TelemetryBuilderOption interface {
	// contains filtered or unexported methods
}

TelemetryBuilderOption applies changes to default builder.

Jump to

Keyboard shortcuts

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