Documentation
¶
Overview ¶
Package alloycli is the entrypoint for Grafana Alloy.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewClusterService ¶ added in v1.8.0
func NewClusterService( opts ClusterOptions, getDiscoveryFn func(options discovery.Options) (discovery.DiscoverFn, error), ) (*cluster.Service, error)
NewClusterService is visible to make it easier to test clustering e2e.
Types ¶
type ClusterOptions ¶ added in v1.8.0
type ClusterOptions struct { Log log.Logger Metrics prometheus.Registerer Tracer trace.TracerProvider EnableClustering bool MinimumClusterSize int MinimumSizeWaitTimeout time.Duration NodeName string AdvertiseAddress string ListenAddress string JoinPeers []string DiscoverPeers string RejoinInterval time.Duration AdvertiseInterfaces []string ClusterMaxJoinPeers int ClusterName string EnableTLS bool TLSCAPath string TLSCertPath string TLSKeyPath string TLSServerName string }
Click to show internal directories.
Click to hide internal directories.