internal

package
v0.106.1 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2024 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BaseConsumer

type BaseConsumer interface {
	Capabilities() Capabilities
}

type BaseImpl

type BaseImpl struct {
	Cap Capabilities
}

func NewBaseImpl

func NewBaseImpl(options ...Option) *BaseImpl

func (BaseImpl) Capabilities

func (bs BaseImpl) Capabilities() Capabilities

Capabilities returns the capabilities of the component

type Capabilities

type Capabilities struct {
	// MutatesData is set to true if Consume* function of the
	// processor modifies the input Traces, Logs or Metrics argument.
	// Processors which modify the input data MUST set this flag to true. If the processor
	// does not modify the data it MUST set this flag to false. If the processor creates
	// a copy of the data before modifying then this flag can be safely set to false.
	MutatesData bool
}

Capabilities describes the capabilities of a Processor.

type Option

type Option func(*BaseImpl)

Option to construct new consumers.

Jump to

Keyboard shortcuts

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