Documentation
¶
Overview ¶
Package constants holds constants
Index ¶
Constants ¶
View Source
const ( // DefaultEBPFLessProbeAddr defines the default ebpfless probe address DefaultEBPFLessProbeAddr = "localhost:5678" // ClusterIDCacheKey is the key name for the orchestrator cluster id in the agent in-mem cache ClusterIDCacheKey = "orchestratorClusterID" // NodeKubeDistributionKey is the key name for the node kube distribution in the agent in-mem cache NodeKubeDistributionKey = "nodeKubeDistribution" // ECSClusterMetaCacheKey is the key name for the ecs cluster meta in the agent in-mem cache ECSClusterMetaCacheKey = "ecsOrchestratorClusterMeta" // DefaultNumWorkers default number of workers for our check runner DefaultNumWorkers = 4 // MaxNumWorkers maximum number of workers for our check runner MaxNumWorkers = 25 // DefaultProcessCmdPort is the default port used by process-agent to run a runtime settings server DefaultProcessCmdPort = 6162 )
View Source
const ( DefaultAPIKeyValidationInterval = 60 DefaultAuditorTTL = 23 DefaultBatchMaxConcurrentSend = 0 DefaultBatchMaxContentSize = 5000000 DefaultBatchMaxSize = 1000 DefaultBatchWait = float64(5) DefaultCompressorKind = "zstd" DefaultForwarderRecoveryInterval = 2 DefaultInputChanSize = 100 DefaultLogCompressionKind = "zstd" DefaultLogsSenderBackoffBase = float64(1) DefaultLogsSenderBackoffFactor = float64(2) DefaultLogsSenderBackoffMax = float64(120) DefaultMaxMessageSizeBytes = 900000 DefaultNetworkPathMaxTTL = 30 DefaultNetworkPathStaticPathE2eQueries = 50 DefaultNetworkPathStaticPathTracerouteQueries = 3 DefaultNetworkPathTimeout = 1000 DefaultSecurityAgentCmdPort = 5010 DefaultSite = "datadoghq.com" DefaultZstdCompressionLevel = 1 )
Constants generated from settings tagged with a `generate_const:<name>` label. Each constant's value is the default of its associated setting.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConfigurationProviders ¶
type ConfigurationProviders struct {
Name string `mapstructure:"name"`
Polling bool `mapstructure:"polling"`
PollInterval string `mapstructure:"poll_interval"`
TemplateURL string `mapstructure:"template_url"`
TemplateDir string `mapstructure:"template_dir"`
Username string `mapstructure:"username"`
Password string `mapstructure:"password"`
CAFile string `mapstructure:"ca_file"`
CAPath string `mapstructure:"ca_path"`
CertFile string `mapstructure:"cert_file"`
KeyFile string `mapstructure:"key_file"`
Token string `mapstructure:"token"`
GraceTimeSeconds int `mapstructure:"grace_time_seconds"`
DegradedDeadlineMinutes int `mapstructure:"degraded_deadline_minutes"`
}
ConfigurationProviders helps unmarshalling `config_providers` config param
Click to show internal directories.
Click to hide internal directories.