Documentation ¶
Index ¶
- func AddAgentInfoAttribute(agentInfo *agentinfo.AgentInfo, otelConfigProvider *otelconfig.Provider)
- func AgentOTelComponents(alerter alerts.Alerter, receiverFactories []receiver.Factory, ...) (otelcol.Factories, error)
- func ModuleForAgentOTel() fx.Option
- func ProvidePeersPrefix(agentInfo *agentinfo.AgentInfo) (peers.PeerDiscoveryPrefix, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddAgentInfoAttribute ¶
func AddAgentInfoAttribute( agentInfo *agentinfo.AgentInfo, otelConfigProvider *otelconfig.Provider, )
AddAgentInfoAttribute adds the agent group and instance labels to OTel config.
func AgentOTelComponents ¶
func AgentOTelComponents( alerter alerts.Alerter, receiverFactories []receiver.Factory, processorFactories []processor.Factory, promRegistry *prometheus.Registry, engine iface.Engine, clasEng iface.ClassificationEngine, serverGRPC *grpc.Server, controlPointCache *cache.Cache[selectors.TypedControlPointID], alertMgr *alertmanager.AlertManager, ) (otelcol.Factories, error)
AgentOTelComponents constructs OTel Collector Factories for Agent.
func ModuleForAgentOTel ¶
ModuleForAgentOTel provides fx options for AgentOTelComponent.
func ProvidePeersPrefix ¶
func ProvidePeersPrefix(agentInfo *agentinfo.AgentInfo) (peers.PeerDiscoveryPrefix, error)
ProvidePeersPrefix provides the peers prefix.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.