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
↓ 2 callers
Function
readCloserFromRequest
(req *http.Request)
cmd/trace-agent/test/backend.go:145
↓ 2 callers
Function
readColonFile
readColonFile parses r as an /etc/group or /etc/passwd style file, running fn for each row. readColonFile returns a value, an error, or (nil, nil) if
pkg/security/resolvers/usergroup/parser.go:35
↓ 2 callers
Function
readConfDir
Helper function which returns all the filenames in a check config directory
cmd/agent/gui/checks.go:443
↓ 2 callers
Method
readData
()
pkg/util/cloudproviders/cloudfoundry/bbscache.go:205
↓ 2 callers
Function
readFileLimit
(path string)
pkg/compliance/aptconfig/aptconfig.go:264
↓ 2 callers
Method
readForever
readForever reads from the reader as fast as it can, and sleeps when there is nothing to read
pkg/logs/tailers/docker/tailer.go:213
↓ 2 callers
Function
readInt
readInt returns the size-bytes unsigned integer in native byte order at offset off.
pkg/process/procutil/dirent_linux.go:85
↓ 2 callers
Function
readNamedPipeMessagesFromChan
(packetOut chan packets.Packets)
comp/dogstatsd/listeners/named_pipe_windows_test.go:170
↓ 2 callers
Function
readObfuscatorConfigRegexp
(name, defaultValue string)
pkg/serverless/appsec/config/config.go:146
↓ 2 callers
Function
readProcNetWithStatus
readProcNet reads a /proc/net/ file and returns a list of all source ports for connections in the given state
pkg/network/proc_net.go:33
↓ 2 callers
Function
readSecrets
(r io.Reader, w io.Writer, dir string, usePrefixes bool, newKubeClientFunc NewKubeClient)
cmd/secrethelper/secret_helper.go:108
↓ 2 callers
Function
readTmplConfig
(tmplContent string)
test/new-e2e/tests/agent-shared-components/forwarder/nss_failover_test.go:316
↓ 2 callers
Function
readUnicodeString
(h windows.Handle, u unicodeString)
pkg/util/winutil/process.go:302
↓ 2 callers
Function
readUnicodeString32
(h windows.Handle, u unicodeString32)
pkg/util/winutil/process.go:200
↓ 2 callers
Method
readXMLConfig
()
pkg/util/winutil/iisconfig.go:131
↓ 2 callers
Function
ready
Copied from github.com/mdlayher/netlink ready indicates readiness based on the value of err.
pkg/network/netlink/socket.go:375
↓ 2 callers
Function
rebaseHist
(hist, change)
cmd/agent/gui/views/private/js/codemirror.js:5421
↓ 2 callers
Function
rebaseHistArray
(array, from, to, diff)
cmd/agent/gui/views/private/js/codemirror.js:5393
↓ 2 callers
Function
rebaseHistSelSingle
(pos, from, to, diff)
cmd/agent/gui/views/private/js/codemirror.js:5377
↓ 2 callers
Method
rebaseTree
rebaseTree rebases the node identified by "nodeIndexToRebase" in the input "tree" onto a newly created branch made of "branchToInsert" and appended to
pkg/security/security_profile/activity_tree/activity_tree.go:615
↓ 2 callers
Method
receive
receive netlink messages and flushes them to the Event channel. This method gets called in two different contexts: - During system-probe startup, whe
pkg/network/netlink/consumer.go:539
↓ 2 callers
Method
recordEvent
recordEvent records the occurrence of the given event type t. It additionally passes on the data and augments it with additional information.
pkg/trace/writer/sender.go:322
↓ 2 callers
Function
recoverAndStoreError
()
comp/otelcol/otlp/collector.go:197
↓ 2 callers
Method
recoverRegistry
recoverRegistry rebuilds the registry from the state file found at path
pkg/logs/auditor/auditor.go:199
↓ 2 callers
Function
redactError
(unscrubbedError error)
cmd/agent/subcommands/status/command.go:117
↓ 2 callers
Method
refreshContainerCache
(currentTime time.Time, cacheValidity time.Duration)
pkg/util/containers/metrics/kubelet/collector.go:143
↓ 2 callers
Method
refreshGroupCache
(containerID string, fsys fs.FS)
pkg/security/resolvers/usergroup/resolver.go:136
↓ 2 callers
Method
refreshServices
()
pkg/autodiscovery/listeners/cloudfoundry.go:88
↓ 2 callers
Method
refreshUserCache
(containerID string, fsys fs.FS)
pkg/security/resolvers/usergroup/resolver.go:114
↓ 2 callers
Method
registerChild
(parent, child workloadmeta.EntityID)
pkg/tagger/collectors/workloadmeta_extract.go:619
↓ 2 callers
Function
registerHistogram
(name string)
pkg/compliance/metrics/rego.go:35
↓ 2 callers
Function
registerSecretOrigin
(handle string, origin string, yamlPath []string)
pkg/secrets/secrets.go:61
↓ 2 callers
Function
reloadPoliciesCommands
reloadPoliciesCommands is deprecated
cmd/security-agent/subcommands/runtime/deprecated_commands.go:50
↓ 2 callers
Method
removeConfigError
removeConfigErrors removes the errors for a check config file
pkg/autodiscovery/stats.go:52
↓ 2 callers
Method
removeConntrack
(ino uint64)
pkg/network/tracer/cached_conntrack.go:121
↓ 2 callers
Method
removeExpiredStates
(earliestTs time.Time)
pkg/network/dns/stats.go:212
↓ 2 callers
Method
removeFileAt
(index int)
comp/forwarder/defaultforwarder/internal/retry/on_disk_retry_queue.go:196
↓ 2 callers
Function
removeInspectionResultFromMap
(offsetsDataMap *ebpf.Map, binID utils.PathIdentifier)
pkg/network/usm/ebpf_gotls.go:377
↓ 2 callers
Method
removeLoaderErrors
removeLoaderErrors removes the errors for a check (usually when successfully loaded)
pkg/collector/stats.go:40
↓ 2 callers
Method
removeOldest
removeOldest removes the least recently used item from the cache.
pkg/util/trivy/cache.go:346
↓ 2 callers
Function
removePathIfPresent
removePathIfPresent removes the path component from the URL if it is present
pkg/process/util/api/config/endpoint.go:32
↓ 2 callers
Method
removeRetryFiles
(folderPath string, shouldRemove func(string) bool)
comp/forwarder/defaultforwarder/internal/retry/file_removal_policy.go:140
↓ 2 callers
Method
removeScope
()
pkg/util/json/raw_object_writer.go:115
↓ 2 callers
Method
removeService
(ksvc *v1.Service)
pkg/autodiscovery/listeners/kube_services.go:304
↓ 2 callers
Function
remove_empty
(string_array)
pkg/config/legacy/tests/config.py:237
↓ 2 callers
Function
renameResource
(resource string)
pkg/collector/corechecks/cluster/ksm/kubernetes_state_transformers.go:54
↓ 2 callers
Function
renderAutodiscoveryStats
(w io.Writer, adEnabledFeatures interface{}, adConfigErrors interface{}, filterErrors interface{})
pkg/status/render.go:323
↓ 2 callers
Method
replaceInnerLogger
(l seelog.LoggerInterface)
pkg/util/log/log.go:105
↓ 2 callers
Method
replaceNumericTag
replaceNumericTag acts on the `metrics` portion of a span, if the resulting replacement is no longer a string the tag is moved to the `meta`.
pkg/trace/filters/replacer.go:61
↓ 2 callers
Function
replaceTextKeyToValue
replaceTextKeyValue replaces a "#text" key to a "value" key. That happens when a tag has an attribute and a content. E.g. <EventID Qualifiers='16384'>
pkg/logs/tailers/windowsevent/transform.go:220
↓ 2 callers
Method
replyOK
replyOK replies to the given http.ResponseWriter w based on the endpoint version, with either status 200/OK or with a list of rates by service. It ret
pkg/trace/api/api.go:412
↓ 2 callers
Method
report
()
pkg/trace/writer/stats.go:328
↓ 2 callers
Method
report
()
pkg/trace/writer/trace.go:296
↓ 2 callers
Method
reportClusterQuotas
reportClusterQuotas reports metrics on OpenShift ClusterResourceQuota objects
pkg/collector/corechecks/cluster/kubernetesapiserver/kubernetes_openshift.go:50
↓ 2 callers
Method
reportEvent
( api *API, //nolint:revive // TODO fix revive unused-parameter Type uint, Category uint, EventID uint, U
pkg/util/winutil/eventlog/api/fake/fake.go:195
↓ 2 callers
Function
requestNotIncluded
(t *testing.T, allStats map[http.Key]*http.RequestStats, req *nethttp.Request)
pkg/network/usm/monitor_test.go:916
↓ 2 callers
Method
requireIntakeIsUsed
requireIntakeIsUsed checks that the given intakes receives metrics, logs, and flares
test/new-e2e/tests/agent-shared-components/forwarder/nss_failover_test.go:185
↓ 2 callers
Method
requireIntakeNotUsed
requireIntakeNotUsed checks that the given intake doesn't receive metrics, logs, and flares
test/new-e2e/tests/agent-shared-components/forwarder/nss_failover_test.go:211
↓ 2 callers
Method
reschedule
reschdule sends configurations to dispatching without checking or patching them as Schedule does.
pkg/clusteragent/clusterchecks/dispatcher_main.go:148
↓ 2 callers
Method
reset
reset resets the framer to begin framing a new stream, for testing.
pkg/logs/internal/framer/framer.go:225
↓ 2 callers
Method
reset
()
pkg/serverless/flush/strategy.go:167
↓ 2 callers
Method
reset
()
pkg/network/encoding/kafka.go:96
↓ 2 callers
Method
reset
()
pkg/collector/corechecks/cluster/ksm/kubernetes_state_telemetry.go:24
↓ 2 callers
Method
reset
()
test/new-e2e/system-probe/connector/sshtools/communicator.go:93
↓ 2 callers
Method
resetBuffer
()
pkg/trace/writer/stats.go:160
↓ 2 callers
Method
resetBuffer
()
pkg/trace/writer/trace.go:229
↓ 2 callers
Method
resetCallChan
()
pkg/autodiscovery/autoconfig_test.go:108
↓ 2 callers
Function
resetContentEncoding
()
pkg/serializer/serializer_test.go:36
↓ 2 callers
Function
resetGlobalClusterAgentClient
resetGlobalClusterAgentClient is a helper to remove the current DCAClient global It is ONLY to be used for tests
pkg/util/clusteragent/clusteragent.go:87
↓ 2 callers
Function
resetMockConfig
(c *config.MockConfig)
pkg/clusteragent/admission/controllers/webhook/utils_test.go:61
↓ 2 callers
Function
resetModeState
(cm)
cmd/agent/gui/views/private/js/codemirror.js:4588
↓ 2 callers
Function
resetPackageVars
()
pkg/secrets/secrets_test.go:136
↓ 2 callers
Method
resizeDriverBuffer
(compareSize int)
pkg/network/driver_interface.go:368
↓ 2 callers
Method
resolveFields
(forADs bool)
pkg/security/secl/model/field_handlers_windows.go:21
↓ 2 callers
Method
resolveFields
(forADs bool)
pkg/security/secl/model/field_handlers_unix.go:21
↓ 2 callers
Method
resolveFileGlob
(ctx context.Context, rootPath, glob, parser string)
pkg/compliance/resolver.go:437
↓ 2 callers
Method
resolveFromCache
(pid, tid uint32, inode uint64)
pkg/security/resolvers/process/resolver_linux.go:712
↓ 2 callers
Method
resolveFromKernelMaps
(pid, tid uint32, inode uint64)
pkg/security/resolvers/process/resolver_linux.go:766
↓ 2 callers
Method
resolveFromProcfs
(pid uint32, maxDepth int)
pkg/security/resolvers/process/resolver_linux.go:848
↓ 2 callers
Function
resolveHostName
(config config.Reader)
pkg/process/checks/host_info.go:55
↓ 2 callers
Function
resolveLocalInterface
(deviceID string, interfaceIndexByIDType map[string]map[string][]int32, localInterfaceIDType string, localInte
pkg/collector/corechecks/snmp/internal/report/report_device_metadata.go:455
↓ 2 callers
Function
resolvePath
(root, path string)
pkg/ebpf/bytecode/runtime/integrity.go:165
↓ 2 callers
Function
resolveProfileDefinitionPath
(definitionFile string)
pkg/collector/corechecks/snmp/internal/profile/profile_yaml.go:100
↓ 2 callers
Function
resolveQuery
resolveQuery replaces the template variables in the query The supported template variable types are %%tag_<tag_name>%% and %%env_<ENV_VAR>%% The only
pkg/clusteragent/externalmetrics/model/utils.go:49
↓ 2 callers
Function
resolveRuntimeArch
()
pkg/security/ebpf/probes/syscall_helpers.go:25
↓ 2 callers
Function
resolveTag
resolveTag replaces %%label%%, %%annotation%% and %%env%% by their values
pkg/tagger/utils/k8s_metadata.go:73
↓ 2 callers
Method
resolveTags
resolveTags thread unsafe version ot ResolveTags
pkg/security/security_profile/dump/activity_dump.go:606
↓ 2 callers
Function
resourceDDName
resourceDDName returns the datadog name of the given resource with possibly extra tags.
pkg/collector/corechecks/cluster/ksm/kubernetes_state_transformers.go:74
↓ 2 callers
Function
resourceFromTags
resourceFromTags attempts to deduce a more accurate span resource from the given list of tags meta. If this is not possible, it returns an empty strin
pkg/trace/api/otlp.go:592
↓ 2 callers
Method
restoreAPIKeys
(str string)
comp/forwarder/defaultforwarder/internal/retry/http_transactions_serializer.go:158
↓ 2 callers
Method
retryProcessEventsWithoutPod
retryProcessEventsWithoutPod processes a second time process events for which the associated pod was not found because it is possible that the pod wil
comp/languagedetection/client/client.go:282
↓ 2 callers
Function
returnToPool
(stats map[int32]*model.ProcStatsWithPerm)
pkg/process/encoding/encoding.go:63
↓ 2 callers
Function
richEventFromXML
(xml string)
pkg/logs/tailers/windowsevent/transform_test.go:113
↓ 2 callers
Function
rm
(node)
cmd/agent/gui/views/private/js/codemirror.js:4261
↓ 2 callers
Method
rollback
removes all cached changes
pkg/config/remote/uptane/transactional_store.go:187
↓ 2 callers
Function
rootDir
rootDir returns the base repository directory, just before `pkg`. If `pkg` is not found, the dir provided is returned.
pkg/network/netlink/testutil/conntrack.go:299
↓ 2 callers
Function
rootDir
rootDir returns the base repository directory, just before `pkg`. If `pkg` is not found, the dir provided is returned.
pkg/network/protocols/http/testutil/testutil.go:192
↓ 2 callers
Function
rootDir
rootDir returns the base repository directory, just before `pkg`. If `pkg` is not found, the dir provided is returned.
pkg/ebpf/btf_test.go:91
↓ 2 callers
Function
run
()
test/new-e2e/system-probe/test-runner/main.go:318
↓ 2 callers
Function
run
(call string)
rtloader/test/kubeutil/kubeutil.go:69
← previous
next →
8,801–8,900 of 32,574, ranked by callers