receiverutil

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SettingsWithType added in v0.1.3

func SettingsWithType(settings receiver.Settings, typ component.Type) receiver.Settings

SettingsWithType preserves a receiver's configured name and telemetry settings while adapting its type for a wrapped receiver implementation.

Types

type CompositeLogs added in v0.1.3

type CompositeLogs struct {
	// contains filtered or unexported fields
}

CompositeLogs combines lifecycle components for a logs receiver that feeds one downstream consumer.

func NewCompositeLogs added in v0.1.3

func NewCompositeLogs(components ...component.Component) *CompositeLogs

func (*CompositeLogs) Shutdown added in v0.1.3

func (c *CompositeLogs) Shutdown(ctx context.Context) error

func (*CompositeLogs) Start added in v0.1.3

func (c *CompositeLogs) Start(ctx context.Context, host component.Host) error

type CompositeMetrics

type CompositeMetrics struct {
	// contains filtered or unexported fields
}

CompositeMetrics combines lifecycle components for a metrics receiver that feeds one downstream consumer.

func NewCompositeMetrics

func NewCompositeMetrics(components ...component.Component) *CompositeMetrics

func (*CompositeMetrics) Shutdown

func (c *CompositeMetrics) Shutdown(ctx context.Context) error

func (*CompositeMetrics) Start

func (c *CompositeMetrics) Start(ctx context.Context, host component.Host) error

Jump to

Keyboard shortcuts

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