graph

package
v0.76.0 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 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

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

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