metadata

package
v0.109.0 Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TracesStability  = component.StabilityLevelBeta
	MetricsStability = component.StabilityLevelBeta
	LogsStability    = component.StabilityLevelBeta
)

Variables

View Source
var (
	Type      = component.MustNewType("batch")
	ScopeName = "go.opentelemetry.io/collector/processor/batchprocessor"
)

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

func WithProcessorBatchMetadataCardinalityCallback added in v0.102.0

func WithProcessorBatchMetadataCardinalityCallback(cb func() int64, opts ...metric.ObserveOption) telemetryBuilderOption

WithProcessorBatchMetadataCardinalityCallback sets callback for observable ProcessorBatchMetadataCardinality metric.

Types

type TelemetryBuilder added in v0.101.0

type TelemetryBuilder struct {
	ProcessorBatchBatchSendSize        metric.Int64Histogram
	ProcessorBatchBatchSendSizeBytes   metric.Int64Histogram
	ProcessorBatchBatchSizeTriggerSend metric.Int64Counter
	ProcessorBatchMetadataCardinality  metric.Int64ObservableUpDownCounter

	ProcessorBatchTimeoutTriggerSend 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 added in v0.101.0

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

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

Jump to

Keyboard shortcuts

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