Documentation ¶
Index ¶
Constants ¶
View Source
const ( APIURLEnvVar = "SPLUNK_API_URL" BallastEnvVar = "SPLUNK_BALLAST_SIZE_MIB" ConfigEnvVar = "SPLUNK_CONFIG" ConfigDirEnvVar = "SPLUNK_CONFIG_DIR" ConfigServerEnabledEnvVar = "SPLUNK_DEBUG_CONFIG_SERVER" ConfigYamlEnvVar = "SPLUNK_CONFIG_YAML" HecLogIngestURLEnvVar = "SPLUNK_HEC_URL" // 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 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" DefaultMemoryBallastPercentage = 33 DefaultMemoryLimitPercentage = 90 DefaultMemoryTotalMiB = 512 DiscoveryModeScheme = "splunk.discovery" ConfigDScheme = "splunk.configd" )
Variables ¶
This section is empty.
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) ConfMapConverters ¶
ConfMapConverters returns confmap.Converters 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.