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( alerter alerts.Alerter, cache *entitycache.EntityCache, promRegistry *prometheus.Registry, engine iface.Engine, clasEng iface.ClassificationEngine, serverGRPC *grpc.Server, controlPointCache *cache.Cache[selectors.ControlPointID], alertMgr *alertmanager.AlertManager, ) (otelcol.Factories, error)
AgentOTELComponents constructs OTEL Collector Factories for Agent.
func ModuleForAgentOTEL ¶ added in v0.4.0
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 }
Click to show internal directories.
Click to hide internal directories.