Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsOrchestratorECSExplorerEnabled ¶
func IsOrchestratorECSExplorerEnabled() bool
IsOrchestratorECSExplorerEnabled checks if orchestrator ecs explorer features are enabled
func IsOrchestratorEnabled ¶
IsOrchestratorEnabled checks if orchestrator explorer features are enabled, it returns the boolean and the cluster name
func OrchestratorNSKey ¶
OrchestratorNSKey get the config name key for orchestratorNS
Types ¶
type OrchestratorConfig ¶
type OrchestratorConfig struct { CollectorDiscoveryEnabled bool OrchestrationCollectionEnabled bool KubeClusterName string IsScrubbingEnabled bool Scrubber *redact.DataScrubber OrchestratorEndpoints []apicfg.Endpoint MaxPerMessage int MaxWeightPerMessageBytes int PodQueueBytes int // The total number of bytes that can be enqueued for delivery to the orchestrator endpoint ExtraTags []string IsManifestCollectionEnabled bool BufferedManifestEnabled bool ManifestBufferFlushInterval time.Duration }
OrchestratorConfig is the global config for the Orchestrator related packages. This information is sourced from config files and the environment variables.
func NewDefaultOrchestratorConfig ¶
func NewDefaultOrchestratorConfig() *OrchestratorConfig
NewDefaultOrchestratorConfig returns an NewDefaultOrchestratorConfig using a configuration file. It can be nil if there is no file available. In this case we'll configure only via environment.
func (*OrchestratorConfig) Load ¶
func (oc *OrchestratorConfig) Load() error
Load loads orchestrator-specific configuration at this point secrets should already be resolved by the core/process/cluster agent