graph

package
v0.79.0 Latest Latest
Warning

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

Go to latest
Published: Jun 5, 2023 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Graph

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

func Build

func Build(ctx context.Context, set Settings) (*Graph, error)

func (*Graph) GetExporters deprecated

func (g *Graph) GetExporters() map[component.DataType]map[component.ID]component.Component

Deprecated: [0.79.0] This function will be removed in the future. Several components in the contrib repository use this function so it cannot be removed before those cases are removed. In most cases, use of this function can be replaced by a connector. See https://github.com/open-telemetry/opentelemetry-collector/issues/7370 and https://github.com/open-telemetry/opentelemetry-collector/pull/7390#issuecomment-1483710184 for additional information.

func (*Graph) HandleZPages

func (g *Graph) HandleZPages(w http.ResponseWriter, r *http.Request)

func (*Graph) ShutdownAll

func (g *Graph) ShutdownAll(ctx context.Context) error

func (*Graph) StartAll

func (g *Graph) StartAll(ctx context.Context, host component.Host) error

type PipelineConfig

type PipelineConfig struct {
	Receivers  []component.ID
	Processors []component.ID
	Exporters  []component.ID
}

type Settings

type Settings struct {
	Telemetry component.TelemetrySettings
	BuildInfo component.BuildInfo

	ReceiverBuilder  *receiver.Builder
	ProcessorBuilder *processor.Builder
	ExporterBuilder  *exporter.Builder
	ConnectorBuilder *connector.Builder

	// PipelineConfigs is a map of component.ID to PipelineConfig.
	PipelineConfigs map[component.ID]*PipelineConfig
}

Settings holds configuration for building builtPipelines.

Jump to

Keyboard shortcuts

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