Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DataDog/datadog-agent
/ functions
Functions
32,574 in github.com/DataDog/datadog-agent
⨍
Functions
32,574
◇
Types & classes
5,280
↳
Endpoints
25
↓ 3 callers
Function
chunkOrchestratorPayloadsBySizeAndWeight
chunkOrchestratorPayloadsBySizeAndWeight chunks orchestrator payloads by max allowed size and max allowed weight of a chunk We use yaml size as payloa
pkg/collector/corechecks/cluster/orchestrator/processors/chunking.go:18
↓ 3 callers
Function
cleanRuntimeSetting
()
pkg/config/settings/runtime_settings_test.go:44
↓ 3 callers
Function
cleanRuntimes
(runtimes []string)
pkg/serverless/tags/tags.go:260
↓ 3 callers
Method
cleanup
()
pkg/security/tests/module_tester.go:1606
↓ 3 callers
Function
clickInGutter
(cm, e)
cmd/agent/gui/views/private/js/codemirror.js:7517
↓ 3 callers
Function
closeGoOraConnection
(c *Check)
pkg/collector/corechecks/oracle-dbm/connection_handling.go:123
↓ 3 callers
Function
cloudResourceTagSpec
(resourceType resourceType)
cmd/agentless-scanner/main.go:1473
↓ 3 callers
Function
commonTags
commonTags returns the common tags that are included in service checks, the metrics, and the events. These are the tags that don't change between revi
pkg/collector/corechecks/cluster/helm/helm.go:265
↓ 3 callers
Function
compactWhitespaces
compactWhitespaces compacts all whitespaces in t.
pkg/obfuscate/obfuscate.go:267
↓ 3 callers
Function
compareIPv6
(a [4]uint32, b [4]uint32)
pkg/network/tracer/offsetguess/tracer.go:219
↓ 3 callers
Function
compensateForHScroll
(display)
cmd/agent/gui/views/private/js/codemirror.js:2962
↓ 3 callers
Function
compileRegexPatterns
(patterns []string)
pkg/collector/corechecks/windows_event_log/config_helpers.go:19
↓ 3 callers
Function
compileReplaceRules
compileReplaceRules compiles the regular expressions found in the replace rules. If it fails it returns the first error.
comp/trace/config/setup.go:664
↓ 3 callers
Method
computeAvailableSpace
(extraSize int64)
comp/forwarder/defaultforwarder/internal/retry/queue_duration_capacity.go:33
↓ 3 callers
Function
computeCPULimit
(containerStats *provider.ContainerStats, spec *types.ContainerJSON)
pkg/util/containers/metrics/docker/collector_linux.go:140
↓ 3 callers
Function
computeSelAfterChange
(doc, change)
cmd/agent/gui/views/private/js/codemirror.js:4543
↓ 3 callers
Function
computeSignatureWithRootAndEnv
computeSignatureWithRootAndEnv generates the signature of a trace knowing its root Signature based on the hash of (env, service, name, resource, is_er
pkg/trace/sampler/signature.go:32
↓ 3 callers
Function
computeTPSPerSig
computeTPSPerSig distributes TPS looking at the seenTPS of all signatures. By default it spreads uniformly the TPS on all signatures. If a signature i
pkg/trace/sampler/coresampler.go:204
↓ 3 callers
Method
configName
configName returns the name of the configuration.
pkg/logs/schedulers/ad/scheduler.go:129
↓ 3 callers
Function
consume
(c chan check.Check, stop chan bool)
pkg/collector/scheduler/scheduler_test.go:28
↓ 3 callers
Function
convertAndChunkContainers
(containers []*model.Container, chunks int)
pkg/process/checks/container_rt.go:109
↓ 3 callers
Function
convertBOM
(in *cyclonedx.BOM)
pkg/collector/corechecks/sbom/convert.go:126
↓ 3 callers
Function
convertCPUStats
(cpuStats *types.CPUStats)
pkg/util/containers/metrics/docker/collector_linux.go:34
↓ 3 callers
Function
convertFieldAndUnit
(s *uint64, t **float64, multiplier float64)
pkg/util/containers/metrics/system/util.go:18
↓ 3 callers
Function
convertIOStats
(ioStats *types.BlkioStats)
pkg/util/containers/metrics/docker/collector_linux.go:71
↓ 3 callers
Function
convertMemoryStats
(memStats *types.MemoryStats)
pkg/util/containers/metrics/docker/collector_linux.go:44
↓ 3 callers
Function
convertPIDStats
(pidStats *types.PidsStats)
pkg/util/containers/metrics/docker/collector_linux.go:133
↓ 3 callers
Function
convertResourceRequirements
convertResourceRequirements converts resource requirements to the payload format. Various forms are accepted for resource quantities and this is trans
pkg/collector/corechecks/cluster/orchestrator/transformers/k8s/pod.go:239
↓ 3 callers
Function
coordsChar
(cm, x, y)
cmd/agent/gui/views/private/js/codemirror.js:2747
↓ 3 callers
Method
copyFileTo
(shouldScrub bool, srcFile string, destFile string)
comp/core/flare/helpers/builder.go:223
↓ 3 callers
Function
copyMap
(in map[string]string)
pkg/workloadmeta/collectors/internal/kubeapiserver/utils_test.go:75
↓ 3 callers
Function
copyPos
(x)
cmd/agent/gui/views/private/js/codemirror.js:499
↓ 3 callers
Function
countEvents
(p *pb.AgentPayload)
cmd/trace-agent/test/testsuite/events_test.go:104
↓ 3 callers
Function
countRequestOccurrences
(allStats map[http.Key]*http.RequestStats, req *nethttp.Request)
pkg/network/usm/monitor_test.go:953
↓ 3 callers
Method
countSample
countSample counts a trace sampled by the sampler.
pkg/trace/sampler/coresampler.go:249
↓ 3 callers
Function
cp_cmd
(out_dir)
tasks/system_probe.py:1304
↓ 3 callers
Function
cpuRatePctValue
(current, previous float64, currentTs, previousTs time.Time)
pkg/process/util/containers/containers.go:325
↓ 3 callers
Function
crashDetectFactory
()
pkg/collector/corechecks/system/wincrashdetect/wincrashdetect.go:54
↓ 3 callers
Method
createAdvancedHTTPTransactions
(endpoint transaction.Endpoint, payloads transaction.BytesPayloads, extra http.Header, priority transaction.Pr
comp/forwarder/defaultforwarder/default_forwarder.go:437
↓ 3 callers
Function
createAgent
(suite *AgentTestSuite, endpoints *config.Endpoints)
comp/logs/agent/agent_test.go:93
↓ 3 callers
Function
createCheckInstanceMetadata
(checkID, configProvider, initConfig, instanceConfig string, withConfigs bool)
pkg/metadata/inventories/inventories.go:142
↓ 3 callers
Method
createContainerService
( pod *workloadmeta.KubernetesPod, podContainer *workloadmeta.OrchestratorContainer, container *workloadmet
pkg/autodiscovery/listeners/kubelet.go:104
↓ 3 callers
Function
createFakeFDs
(rootPath string, pid, numFDs int)
pkg/util/system/file_linux_test.go:19
↓ 3 callers
Function
createHTTPTransactionWithHeaderTests
(header http.Header, domain string)
comp/forwarder/defaultforwarder/internal/retry/http_transactions_serializer_test.go:120
↓ 3 callers
Function
createLog
(t testing.TB, ti eventlog_test.APITester, channel string, source string)
pkg/util/winutil/eventlog/subscription/subscription_test.go:57
↓ 3 callers
Function
createNewConfigFile
(checkName, data)
cmd/agent/gui/views/private/js/javascript.js:597
↓ 3 callers
Function
createProcCtrMessages
( hostInfo *HostInfo, procsByCtr map[string][]*model.Process, containers []*model.Container, maxBatchSize
pkg/process/checks/process.go:361
↓ 3 callers
Function
createStringRecordForTimeoutLog
createStringRecordForTimeoutLog returns the `Task timed out` log using the platform.report message
pkg/serverless/logs/logs_collector.go:165
↓ 3 callers
Function
debug
(msg: str)
tasks/kernel_matrix_testing/tool.py:13
↓ 3 callers
Method
debug
debug logs at the debug level, called with sw.l held
pkg/util/log/log.go:195
↓ 3 callers
Function
decodeAD
(buffer *bytes.Buffer)
pkg/security/tests/activity_dumps_encoding_test.go:84
↓ 3 callers
Function
decompressPayload
(payload []byte)
pkg/serializer/internal/metrics/service_checks_test.go:155
↓ 3 callers
Function
decryptKMS
decryptKMS decodes and deciphers the base64-encoded ciphertext given as a parameter using KMS. For this to work properly, the Lambda function must hav
pkg/serverless/apikey/api_key.go:51
↓ 3 callers
Function
defaultLogsConfigKeysWithVectorOverride
defaultLogsConfigKeys defines the default YAML keys used to retrieve logs configuration
comp/logs/agent/config/config_keys.go:30
↓ 3 callers
Method
defaultSourceAndService
defaultSourceAndService gets the default "source" and "service" values for the given LogSource. It always returns a result, logging any errors it enc
pkg/logs/launchers/container/tailerfactory/defaults.go:22
↓ 3 callers
Method
del
del removes a template from the cache
pkg/autodiscovery/templatecache.go:90
↓ 3 callers
Method
delete
(mount *model.Mount)
pkg/security/resolvers/mount/resolver.go:154
↓ 3 callers
Method
delete
(bucketName string, path string)
pkg/config/remote/uptane/transactional_store.go:198
↓ 3 callers
Method
deleteService
(entityID string, subnet *snmpSubnet)
pkg/autodiscovery/listeners/snmp.go:285
↓ 3 callers
Method
deleteStack
(ctx context.Context, stackID string, stack *auto.Stack)
test/new-e2e/pkg/utils/infra/stack_manager.go:176
↓ 3 callers
Function
deprecateBool
deprecateBool logs a deprecation message if `oldkey` is used. It sets `newkey` to the value obtained from `getFn`, but only if `oldkey` is set and `ne
cmd/system-probe/config/adjust.go:101
↓ 3 callers
Function
deprecateInt
deprecateInt logs a deprecation message if `oldkey` is used. It sets `newkey` to the value obtained from `getFn`, but only if `oldkey` is set and `new
cmd/system-probe/config/adjust.go:125
↓ 3 callers
Function
deprecateInt64
deprecateInt64 logs a deprecation message if `oldkey` is used. It sets `newkey` to the value obtained from `getFn`, but only if `oldkey` is set and `n
cmd/system-probe/config/adjust.go:109
↓ 3 callers
Method
deregisterSender
(id checkid.ID)
pkg/aggregator/aggregator.go:386
↓ 3 callers
Function
detectDocker0
()
pkg/gohai/gohai.go:31
↓ 3 callers
Method
detectedNewLanguages
(namespacedOwnerRef *NamespacedOwnerReference, detectedLanguages langUtil.ContainersLanguages)
pkg/clusteragent/languagedetection/patcher.go:92
↓ 3 callers
Method
devModeNoSSL
()
comp/logs/agent/config/config_keys.go:103
↓ 3 callers
Function
diffEvents
(latestStoredRV int, fullList []*v1.Event)
pkg/util/kubernetes/apiserver/events.go:130
↓ 3 callers
Function
digestDNSNames
digestDNSNames returns a digest to identify a list of dns names.
pkg/clusteragent/admission/controllers/secret/controller.go:274
↓ 3 callers
Function
discoverCgroupMountPoints
(hostPrefix, procFsPath string)
pkg/util/cgroups/reader_detector.go:22
↓ 3 callers
Function
displayHeight
(cm)
cmd/agent/gui/views/private/js/codemirror.js:2358
↓ 3 callers
Function
doDBConfigRequest
(t *testing.T, url string)
cmd/system-probe/modules/compliance_test.go:84
↓ 3 callers
Method
doGetMetrics
()
pkg/clusteragent/custommetrics/store_configmap.go:153
↓ 3 callers
Method
doJSONQueryToLeader
TODO: remove when we drop compatibility with older Agents, see end of `init()`
pkg/util/clusteragent/clusteragent.go:360
↓ 3 callers
Function
doTrivyScan
(ctx context.Context, scan *scanTask, trivyArtifact artifact.Artifact, trivyCache cache.LocalArtifactCache)
cmd/agentless-scanner/scanner_vulns.go:126
↓ 3 callers
Function
download_with_retry
(download_function, run, destination=".", retry_count=3, retry_interval=10)
tasks/libs/github_actions_tools.py:236
↓ 3 callers
Method
drainAndFlush
()
pkg/trace/writer/trace.go:215
↓ 3 callers
Function
drawForLine
(line, fromArg, toArg)
cmd/agent/gui/views/private/js/codemirror.js:3088
↓ 3 callers
Method
dropOldPoints
(now int64)
pkg/util/statstracker/stats_tracker.go:143
↓ 3 callers
Function
dt
(t)
cmd/agent/gui/views/private/js/purify.min.js:2
↓ 3 callers
Method
dummyMethod
A dummy Method to be called
pkg/aggregator/mocksender/asserts_test.go:26
↓ 3 callers
Function
e_defaultPrevented
(e)
cmd/agent/gui/views/private/js/codemirror.js:1197
↓ 3 callers
Function
e_target
(e)
cmd/agent/gui/views/private/js/codemirror.js:1202
↓ 3 callers
Method
edit_pipeline_schedule
Edit an existing pipeline schedule with given attributes.
tasks/libs/common/gitlab.py:221
↓ 3 callers
Method
enableWPA
enableWPA adds the handlers to the AutoscalersController to support WPAs
pkg/util/kubernetes/apiserver/wpa_controller.go:130
↓ 3 callers
Function
endOfLine
(visually, cm, lineObj, lineNo, dir)
cmd/agent/gui/views/private/js/codemirror.js:6742
↓ 3 callers
Method
endpointsForService
(service *v1.Service)
pkg/autodiscovery/listeners/kube_endpoints.go:229
↓ 3 callers
Method
enqueue
(obj interface{})
pkg/util/kubernetes/apiserver/metadata_controller.go:185
↓ 3 callers
Function
equalCursorPos
(a, b)
cmd/agent/gui/views/private/js/codemirror.js:497
↓ 3 callers
Method
errLog
(format string, params ...interface{})
comp/dogstatsd/server/server.go:595
↓ 3 callers
Method
errorf
(format string, a ...interface{})
pkg/util/retry/retrier.go:150
↓ 3 callers
Function
estimateLineHeights
(cm)
cmd/agent/gui/views/private/js/codemirror.js:2987
↓ 3 callers
Function
evNS
evNS adds `event_monitoring_config` namespace to configuration key
cmd/system-probe/config/ns.go:41
↓ 3 callers
Function
evaluatorFromVariable
(varname string, pos lexer.Position, opts *Opts)
pkg/security/secl/compiler/eval/eval.go:222
↓ 3 callers
Function
eventMonitorBindEnv
eventMonitorBindEnv is the same as eventMonitorBindEnvAndSetDefault, but without setting a default.
pkg/config/system_probe.go:360
↓ 3 callers
Function
execJmxCommand
execJmxCommand runs the provided JMX command name on the selected checks. The common utils, including AutoConfig, must have already been initialized.
pkg/cli/standalone/jmx.go:58
↓ 3 callers
Function
execute
(logConfig *serverlessLog.Config, args []string)
cmd/serverless-init/initcontainer/initcontainer.go:53
↓ 3 callers
Method
executeCommandWithError
(command string, commandArgs ...AgentArgsOption)
test/new-e2e/pkg/utils/e2e/client/agent_cmd_runner.go:46
↓ 3 callers
Method
executePerProtocol
executePerProtocol runs the given callback (`cb`) for every protocol in the given list (`protocolList`). If the callback failed, then we call the erro
pkg/network/usm/ebpf_main.go:471
↓ 3 callers
Function
executePredicate
(client *pbgo.Client, predicates []*pbgo.TracerPredicateV1)
pkg/config/remote/service/tracer_predicates.go:88
← previous
next →
5,301–5,400 of 32,574, ranked by callers