Documentation ¶
Index ¶
Constants ¶
View Source
const ( APIURLEnvVar = "SPLUNK_API_URL" ConfigEnvVar = "SPLUNK_CONFIG" ConfigDirEnvVar = "SPLUNK_CONFIG_DIR" ConfigServerEnabledEnvVar = "SPLUNK_DEBUG_CONFIG_SERVER" ConfigYamlEnvVar = "SPLUNK_CONFIG_YAML" HecLogIngestURLEnvVar = "SPLUNK_HEC_URL" ListenInterfaceEnvVar = "SPLUNK_LISTEN_INTERFACE" GoMemLimitEnvVar = "GOMEMLIMIT" GoGCEnvVar = "GOGC" // nolint:gosec HecTokenEnvVar = "SPLUNK_HEC_TOKEN" // this isn't a hardcoded token IngestURLEnvVar = "SPLUNK_INGEST_URL" MemLimitMiBEnvVar = "SPLUNK_MEMORY_LIMIT_MIB" MemTotalEnvVar = "SPLUNK_MEMORY_TOTAL_MIB" RealmEnvVar = "SPLUNK_REALM" // nolint:gosec TokenEnvVar = "SPLUNK_ACCESS_TOKEN" // this isn't a hardcoded token // Deprecated: SPLUNK_TRACE_URL env var is deprecated, SPLUNK_REALM or SPLUNK_INGEST_URL should be used instead. TraceIngestURLEnvVar = "SPLUNK_TRACE_URL" DefaultGatewayConfig = "/etc/otel/collector/gateway_config.yaml" DefaultOTLPLinuxConfig = "/etc/otel/collector/otlp_config_linux.yaml" DefaultConfigDir = "/etc/otel/collector/config.d" DefaultMemoryLimitPercentage = 90 DefaultMemoryTotalMiB = 512 DefaultGoGC = 400 DefaultListenInterface = "0.0.0.0" DefaultAgentConfigLinux = "/etc/otel/collector/agent_config.yaml" )
Variables ¶
Functions ¶
This section is empty.
Types ¶
type Settings ¶
type Settings struct {
// contains filtered or unexported fields
}
func (*Settings) ColCoreArgs ¶ added in v0.67.0
ColCoreArgs returns list of arguments to be passed to the collector core service.
func (*Settings) ConfMapConverterFactories ¶ added in v0.101.0
func (s *Settings) ConfMapConverterFactories() []confmap.ConverterFactory
ConfMapConverterFactories returns confmap.Converters for the collector core service.
func (*Settings) ConfMapProviderFactories ¶ added in v0.101.0
func (s *Settings) ConfMapProviderFactories() []confmap.ProviderFactory
ConfMapProviderFactories returns list of confmap.ProviderFactory for the collector core service.
func (*Settings) ResolverURIs ¶
ResolverURIs returns config provider resolver URIs for the core collector service.
Click to show internal directories.
Click to hide internal directories.