agent

package
v0.7.0-rc.2 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2022 License: AGPL-3.0 Imports: 34 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddAgentInfoAttribute added in v0.1.3

func AddAgentInfoAttribute(in FxIn)

func AgentOTELComponents added in v0.4.0

func AgentOTELComponents(
	cache *entitycache.EntityCache,
	promRegistry *prometheus.Registry,
	engine iface.Engine,
	clasEng iface.ClassificationEngine,
	serverGRPC *grpc.Server,
) (component.Factories, error)

AgentOTELComponents constructs OTEL Collector Factories for Agent.

func ModuleForAgentOTEL added in v0.4.0

func ModuleForAgentOTEL() fx.Option

ModuleForAgentOTEL provides fx options for AgentOTELComponent.

func ProvidePeersPrefix

func ProvidePeersPrefix(agentInfo *agentinfo.AgentInfo) (peers.PeerDiscoveryPrefix, error)

ProvidePeersPrefix provides the peers prefix.

Types

type FxIn added in v0.1.3

type FxIn struct {
	fx.In
	BaseConfig *otelcollector.OTELConfig `name:"base"`
	AgentInfo  *agentinfo.AgentInfo
}

Jump to

Keyboard shortcuts

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