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
↓ 4 callers
Function
normalize
(v string, allowDigitStartChar bool)
pkg/trace/traceutil/normalize.go:129
↓ 4 callers
Function
notify
Utility to send an OS-level notification. Supported on MacOS and Windows.
tasks/libs/pipeline_tools.py:353
↓ 4 callers
Method
notify
It's a very simple implementation of a notify process, but it's enough in our case as we aim at only 1 or 2 observers
pkg/clusteragent/externalmetrics/store.go:175
↓ 4 callers
Function
ntpWarning
Tells if the ntp offset may be too large, resulting in metrics from the agent being dropped by metrics-intake
pkg/status/helpers.go:244
↓ 4 callers
Function
obfuscateRedisArgN
(args []string, n int)
pkg/obfuscate/redis.go:287
↓ 4 callers
Function
obfuscateRedisArgsStep
(args []string, start, step int)
pkg/obfuscate/redis.go:293
↓ 4 callers
Function
onBlur
(cm, e)
cmd/agent/gui/views/private/js/codemirror.js:3210
↓ 4 callers
Method
onRetrievalError
(valueName string, regKeyCfg registryKey, cfg registryValueCfg, err error)
comp/checks/winregistry/impl/registry_delegate.go:14
↓ 4 callers
Method
onUpdate
(update map[string]state.RawConfig, applyStateCallback func(string, state.ApplyStatus))
pkg/trace/remoteconfighandler/remote_config_handler.go:135
↓ 4 callers
Function
paddingTop
(display)
cmd/agent/gui/views/private/js/codemirror.js:2343
↓ 4 callers
Function
parseARN
(s string, expectedTypes ...resourceType)
cmd/agentless-scanner/main.go:1142
↓ 4 callers
Function
parseAddressWithScheme
(address string, defaultNoSSL bool, defaultParser defaultParseAddressFunc)
comp/logs/agent/config/config.go:282
↓ 4 callers
Function
parseColumnStats
(fr fileReader, path string, valueParser func([]string) error)
pkg/util/cgroups/file.go:107
↓ 4 callers
Method
parseDuration
(v string)
pkg/compliance/k8sconfig/loader.go:524
↓ 4 callers
Function
parseEndpoint
(endpoint string)
internal/third_party/kubernetes/pkg/kubelet/cri/remote/util/util_unix.go:108
↓ 4 callers
Function
parseInt64Bytes
parseInt64Bytes parses an int64 even if the sent value is an uint64; this is required because the encoding library could remove bytes from the encoded
pkg/proto/pbgo/trace/decoder_bytes.go:126
↓ 4 callers
Function
parseKVList
(key string)
pkg/config/apm.go:195
↓ 4 callers
Function
parseLogsAPIPayload
parseLogsAPIPayload transforms the payload received from the Logs API to an array of LogMessage
pkg/serverless/logs/parse.go:271
↓ 4 callers
Method
parseStat
parseStat retrieves stat info from "stat" file for a process in procfs
pkg/process/procutil/process_linux.go:600
↓ 4 callers
Method
parseStatm
parseStatm gets memory info from /proc/(pid)/statm
pkg/process/procutil/process_linux.go:692
↓ 4 callers
Function
payloadsContain
payloadsContain checks that the given payloads contain the given set of sampled spans.
pkg/trace/writer/trace_test.go:145
↓ 4 callers
Function
pip
(cliParams *cliParams, args []string, stdout io.Writer, stderr io.Writer)
cmd/agent/subcommands/integrations/command.go:316
↓ 4 callers
Method
populateSecretsCache
(secrets ...*corev1.Secret)
pkg/clusteragent/admission/controllers/webhook/utils_test.go:45
↓ 4 callers
Function
printAndRemoveFile
(w io.Writer, repo map[string]*pbgo.FileMetaState, name string, prefix string, padding int)
pkg/flare/remote_config.go:132
↓ 4 callers
Function
print_trouble
(prog, message, use_colors)
tasks/git-hooks/clang-format.py:228
↓ 4 callers
Function
processService
(ksvc *v1.Service)
pkg/autodiscovery/listeners/kube_services.go:270
↓ 4 callers
Function
protoDecodeProtoMatchedRule
(r *adproto.MatchedRule)
pkg/security/security_profile/activity_tree/activity_tree_proto_dec_v1.go:276
↓ 4 callers
Function
publishReceiverStats
()
pkg/trace/info/info.go:131
↓ 4 callers
Function
pushSelectionToHistory
(sel, dest)
cmd/agent/gui/views/private/js/codemirror.js:4829
↓ 4 callers
Function
putBuffer
(buffer *bytes.Buffer)
pkg/trace/api/api.go:54
↓ 4 callers
Function
qualifiedType
(module *common.Module, kind string)
pkg/security/secl/compiler/generators/accessors/accessors.go:122
↓ 4 callers
Function
r
(e,o,a)
cmd/agent/gui/views/private/js/purify.min.js:2
↓ 4 callers
Function
readConfigSection
readConfigSection from a config.Component object.
comp/otelcol/otlp/config.go:31
↓ 4 callers
Function
readFile
(path string)
pkg/util/dmi/dmi_nix.go:23
↓ 4 callers
Function
readFileLimit
(name string)
pkg/compliance/dbconfig/loader.go:48
↓ 4 callers
Function
readKprobeProfile
readKprobeProfile reads a /sys/kernel/[debug/]tracing/kprobe_profile file and returns a map of probe -> stats
pkg/ebpf/debugfs.go:107
↓ 4 callers
Function
readPositiveInt
readPositiveInt reads a config stored in the given key and asserts that it's a positive value
pkg/process/events/store.go:83
↓ 4 callers
Function
readProfileData
(seconds int)
cmd/agent/subcommands/flare/command.go:121
↓ 4 callers
Function
readProfileDefinition
(definitionFile string)
pkg/collector/corechecks/snmp/internal/profile/profile_yaml.go:85
↓ 4 callers
Function
readerTest
(t *testing.T, path string, mmap bool)
comp/dogstatsd/replay/reader_test.go:15
↓ 4 callers
Method
recentlyAdded
(mountID uint32, inode uint64, timestamp uint64)
pkg/security/probe/discarders_linux.go:198
↓ 4 callers
Function
recentlyAddedIndex
(mountID uint32, inode uint64)
pkg/security/probe/discarders_linux.go:150
↓ 4 callers
Method
reconcileService
reconcileService calculates the current set of resolved templates for the given service and calculates the difference from what is currently recorded
pkg/autodiscovery/configmgr.go:297
↓ 4 callers
Function
record_and_loads
:param filename: :param content_type: :param content_encoding: :param content: :return: list or dict
test/e2e/containers/fake_datadog/app/api.py:49
↓ 4 callers
Method
recvmsg
()
pkg/network/netlink/socket.go:360
↓ 4 callers
Function
registerCallback
(t *testing.T, pm *ProcessMonitor, isExec bool, callback *ProcessCallback)
pkg/process/monitor/process_monitor_test.go:40
↓ 4 callers
Function
registerComposeFile
(filename string)
test/integration/corechecks/docker/catalog.go:25
↓ 4 callers
Function
relPath
(hostroot, configPath string)
pkg/compliance/dbconfig/loader.go:37
↓ 4 callers
Method
release
()
pkg/aggregator/context_resolver.go:36
↓ 4 callers
Function
remote_vms_in_config
(vmconfig)
tasks/kernel_matrix_testing/stacks.py:48
↓ 4 callers
Function
remove
copied from go\pkg\mod\golang.org\x\sys@v0.4.0\windows\svc\mgr\mgr_test.go
pkg/util/winutil/service_test.go:44
↓ 4 callers
Function
removeFilePath
(s string)
pkg/process/metadata/parser/service.go:190
↓ 4 callers
Function
removeHooks
(m *manager.Manager, probes []manager.ProbesSelector)
pkg/network/usm/ebpf_ssl.go:696
↓ 4 callers
Function
replaceDigits
replaceDigits replaces consecutive sequences of digits with '?', example: "jobs_2020_1597876964" --> "jobs_?_?"
pkg/obfuscate/obfuscate.go:299
↓ 4 callers
Function
report
(lastInfo *aggregatorStats, waitingKey string)
test/benchmarks/aggregator/main.go:136
↓ 4 callers
Method
reportResourceLog
(resourceTTL time.Duration, resourceLog *ResourceLog)
pkg/compliance/agent.go:509
↓ 4 callers
Function
requestFragment
(fragment []byte)
pkg/network/protocols/http/model_linux.go:111
↓ 4 callers
Function
resetNiceValues
resetNiceValues takes a group of processes and reset the "nice" values on them. this is needed because the "nice" values are not extract from procfs b
pkg/process/procutil/process_linux_test.go:1458
↓ 4 callers
Function
resolveProfiles
(userProfiles, defaultProfiles ProfileConfigMap)
pkg/collector/corechecks/snmp/internal/profile/profile_resolver.go:21
↓ 4 callers
Function
resolveScrollToPos
(cm)
cmd/agent/gui/views/private/js/codemirror.js:3447
↓ 4 callers
Function
resolveStringWithAdHocTemplateVars
resolveStringWithAdHocTemplateVars takes a string as input and replaces all the `‰var_param‰` patterns by the value returned by the appropriate variab
pkg/autodiscovery/configresolver/configresolver.go:385
↓ 4 callers
Function
respond
(req *dns.Msg, writer dns.ResponseWriter, record string)
pkg/network/tracer/testutil/testdns/test_dns_server.go:119
↓ 4 callers
Function
retrieveMappingFromConfig
retrieveMappingFromConfig gets a stringmapstring config key and lowercases all map keys to make envvar and yaml sources consistent
pkg/tagger/collectors/workloadmeta_main.go:183
↓ 4 callers
Method
retrieveMetricsValues
()
pkg/clusteragent/externalmetrics/metrics_retriever.go:74
↓ 4 callers
Function
retryExitError
retryExitError converts `exec.ExitError`s to `check.RetryableError`s, so that checks using this are retried. embed checks must use this from their `Ru
pkg/collector/corechecks/embed/common.go:21
↓ 4 callers
Function
round
round a float to an int, uniformly choosing between the lower and upper approximations.
pkg/trace/stats/statsraw.go:45
↓ 4 callers
Function
roundUpPow2
round x up to the nearest power of y, where y is a power of 2
pkg/collector/corechecks/ebpf/probe/ebpfcheck/utils.go:29
↓ 4 callers
Method
run
(stopCh <-chan struct{})
pkg/clusteragent/admission/controllers/secret/controller_test.go:172
↓ 4 callers
Function
runFallbackTests
(t *testing.T, desc string, coreErr, rcErr bool, tests []struct { enableCORE bool allowRCFallback
pkg/network/tracer/connection/kprobe/tracer_test.go:177
↓ 4 callers
Method
runWithBackoff
(t *testing.T, testTime time.Time)
pkg/clusteragent/externalmetrics/metrics_retriever_backoff_test.go:70
↓ 4 callers
Function
run_cmd_vms
(ctx, stack, cmd, vms, ssh_key, allow_fail=False)
tasks/kmt.py:272
↓ 4 callers
Method
runnerForCheck
(checkID string)
pkg/clusteragent/clusterchecks/checks_distribution.go:124
↓ 4 callers
Function
safeCloseNullHandle
(h windows.Handle)
pkg/util/winutil/eventlog/subscription/subscription.go:401
↓ 4 callers
Method
sample
sample performs all sampling on the processedTrace modifying it as needed and returning if the trace should be kept and the number of events in the tr
pkg/trace/agent/agent.go:515
↓ 4 callers
Function
secretAbsPath
(secretName string)
cmd/secrethelper/secret_helper_test.go:182
↓ 4 callers
Function
secretForRelease
secretForRelease returns a Kubernetes secret that contains the info of the given Helm release.
pkg/collector/corechecks/cluster/helm/helm_test.go:622
↓ 4 callers
Method
setADIDForServices
(adID string, serviceEntity string)
pkg/autodiscovery/store.go:179
↓ 4 callers
Function
setBytes
(field *[]byte, value any)
comp/netflow/goflowlib/convert.go:154
↓ 4 callers
Function
setCloudProviderSource
setCloudProviderSource set the best source available for EC2 metadata to the inventories payload. The different sources that can be used to know if w
pkg/util/ec2/ec2.go:64
↓ 4 callers
Method
setContainersRegex
setContainersRegex precompiles the regex to match the container names for autodiscovery returns an error if the container names cannot be converted to
pkg/autodiscovery/common/types/prometheus.go:270
↓ 4 callers
Function
setLastCopied
(newLastCopied)
cmd/agent/gui/views/private/js/codemirror.js:7973
↓ 4 callers
Function
setOptionalDefaultWithInitConfig
(instance *optional.Option[T], shared optional.Option[T], def T)
pkg/collector/corechecks/windows_event_log/config.go:141
↓ 4 callers
Method
setSQLLiteralEscapes
setSQLLiteralEscapes sets whether or not escape characters should be treated literally by the SQL obfuscator.
pkg/obfuscate/obfuscate.go:49
↓ 4 callers
Function
setSelectionNoUndo
(doc, sel, options)
cmd/agent/gui/views/private/js/codemirror.js:5011
↓ 4 callers
Function
setTelemetryMetric
setTelemetryMetric is a helper to submit telemetry metrics
pkg/util/kubernetes/autoscalers/datadogexternal.go:207
↓ 4 callers
Method
setTraceTags
setTraceTags tries to set extra tags to the Trace agent. setTraceTags returns a boolean which indicate whether or not the operation succeed for testin
pkg/serverless/daemon/daemon.go:428
↓ 4 callers
Method
setUpToDate
(v bool)
pkg/autodiscovery/providers/kube_endpoints_file.go:124
↓ 4 callers
Method
set_mock
(ret_value, error=False)
tasks/unit-tests/junit_upload_tests.py:11
↓ 4 callers
Method
setup
setup configures the tailer
pkg/logs/tailers/journald/tailer.go:109
↓ 4 callers
Function
setupDMIForNotEC2
(t *testing.T)
pkg/util/ec2/ec2_test.go:49
↓ 4 callers
Function
setupDirWithData
(t *testing.T)
comp/core/flare/helpers/builder_test.go:25
↓ 4 callers
Function
setupHostnameFile
fromHostnameFile
pkg/util/hostname/common_test.go:43
↓ 4 callers
Function
setupIPCAddress
(t *testing.T, URL string)
pkg/flare/archive_test.go:99
↓ 4 callers
Function
shouldInject
shouldInject returns true if Admission Controller should inject standard tags, APM configs and APM libraries
pkg/clusteragent/admission/mutate/common.go:210
↓ 4 callers
Function
should_rerun_failed
Parse a log from kitchen run and see if we should rerun it (e.g. because of a network issue).
test/kitchen/tasks/kitchen.py:171
↓ 4 callers
Method
size
()
pkg/collector/scheduler/job.go:24
↓ 4 callers
Function
skipAtomicInner
(doc, pos, oldPos, dir, mayClear)
cmd/agent/gui/views/private/js/codemirror.js:5058
↓ 4 callers
Function
skipIfNotSupported
(t *testing.T, err error)
pkg/network/usm/monitor_test.go:991
↓ 4 callers
Function
sleep
()
test/integration/serverless/src/proxyTestFunctions.js:35
↓ 4 callers
Method
sleepHelper
()
test/integration/serverless/src/java-tests/log/src/main/java/LogHandler.java:26
← previous
next →
4,401–4,500 of 32,574, ranked by callers