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 (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.
Click to show internal directories.
Click to hide internal directories.