MCPcopy Create free account

hub / github.com/DataDog/datadog-agent / functions

Functions32,574 in github.com/DataDog/datadog-agent

↓ 2 callersFunctionreadCloserFromRequest
(req *http.Request)
cmd/trace-agent/test/backend.go:145
↓ 2 callersFunctionreadColonFile
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 callersFunctionreadConfDir
Helper function which returns all the filenames in a check config directory
cmd/agent/gui/checks.go:443
↓ 2 callersMethodreadData
()
pkg/util/cloudproviders/cloudfoundry/bbscache.go:205
↓ 2 callersFunctionreadFileLimit
(path string)
pkg/compliance/aptconfig/aptconfig.go:264
↓ 2 callersMethodreadForever
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 callersFunctionreadInt
readInt returns the size-bytes unsigned integer in native byte order at offset off.
pkg/process/procutil/dirent_linux.go:85
↓ 2 callersFunctionreadNamedPipeMessagesFromChan
(packetOut chan packets.Packets)
comp/dogstatsd/listeners/named_pipe_windows_test.go:170
↓ 2 callersFunctionreadObfuscatorConfigRegexp
(name, defaultValue string)
pkg/serverless/appsec/config/config.go:146
↓ 2 callersFunctionreadProcNetWithStatus
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 callersFunctionreadSecrets
(r io.Reader, w io.Writer, dir string, usePrefixes bool, newKubeClientFunc NewKubeClient)
cmd/secrethelper/secret_helper.go:108
↓ 2 callersFunctionreadTmplConfig
(tmplContent string)
test/new-e2e/tests/agent-shared-components/forwarder/nss_failover_test.go:316
↓ 2 callersFunctionreadUnicodeString
(h windows.Handle, u unicodeString)
pkg/util/winutil/process.go:302
↓ 2 callersFunctionreadUnicodeString32
(h windows.Handle, u unicodeString32)
pkg/util/winutil/process.go:200
↓ 2 callersMethodreadXMLConfig
()
pkg/util/winutil/iisconfig.go:131
↓ 2 callersFunctionready
Copied from github.com/mdlayher/netlink ready indicates readiness based on the value of err.
pkg/network/netlink/socket.go:375
↓ 2 callersFunctionrebaseHist
(hist, change)
cmd/agent/gui/views/private/js/codemirror.js:5421
↓ 2 callersFunctionrebaseHistArray
(array, from, to, diff)
cmd/agent/gui/views/private/js/codemirror.js:5393
↓ 2 callersFunctionrebaseHistSelSingle
(pos, from, to, diff)
cmd/agent/gui/views/private/js/codemirror.js:5377
↓ 2 callersMethodrebaseTree
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 callersMethodreceive
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 callersMethodrecordEvent
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 callersFunctionrecoverAndStoreError
()
comp/otelcol/otlp/collector.go:197
↓ 2 callersMethodrecoverRegistry
recoverRegistry rebuilds the registry from the state file found at path
pkg/logs/auditor/auditor.go:199
↓ 2 callersFunctionredactError
(unscrubbedError error)
cmd/agent/subcommands/status/command.go:117
↓ 2 callersMethodrefreshContainerCache
(currentTime time.Time, cacheValidity time.Duration)
pkg/util/containers/metrics/kubelet/collector.go:143
↓ 2 callersMethodrefreshGroupCache
(containerID string, fsys fs.FS)
pkg/security/resolvers/usergroup/resolver.go:136
↓ 2 callersMethodrefreshServices
()
pkg/autodiscovery/listeners/cloudfoundry.go:88
↓ 2 callersMethodrefreshUserCache
(containerID string, fsys fs.FS)
pkg/security/resolvers/usergroup/resolver.go:114
↓ 2 callersMethodregisterChild
(parent, child workloadmeta.EntityID)
pkg/tagger/collectors/workloadmeta_extract.go:619
↓ 2 callersFunctionregisterHistogram
(name string)
pkg/compliance/metrics/rego.go:35
↓ 2 callersFunctionregisterSecretOrigin
(handle string, origin string, yamlPath []string)
pkg/secrets/secrets.go:61
↓ 2 callersFunctionreloadPoliciesCommands
reloadPoliciesCommands is deprecated
cmd/security-agent/subcommands/runtime/deprecated_commands.go:50
↓ 2 callersMethodremoveConfigError
removeConfigErrors removes the errors for a check config file
pkg/autodiscovery/stats.go:52
↓ 2 callersMethodremoveConntrack
(ino uint64)
pkg/network/tracer/cached_conntrack.go:121
↓ 2 callersMethodremoveExpiredStates
(earliestTs time.Time)
pkg/network/dns/stats.go:212
↓ 2 callersMethodremoveFileAt
(index int)
comp/forwarder/defaultforwarder/internal/retry/on_disk_retry_queue.go:196
↓ 2 callersFunctionremoveInspectionResultFromMap
(offsetsDataMap *ebpf.Map, binID utils.PathIdentifier)
pkg/network/usm/ebpf_gotls.go:377
↓ 2 callersMethodremoveLoaderErrors
removeLoaderErrors removes the errors for a check (usually when successfully loaded)
pkg/collector/stats.go:40
↓ 2 callersMethodremoveOldest
removeOldest removes the least recently used item from the cache.
pkg/util/trivy/cache.go:346
↓ 2 callersFunctionremovePathIfPresent
removePathIfPresent removes the path component from the URL if it is present
pkg/process/util/api/config/endpoint.go:32
↓ 2 callersMethodremoveRetryFiles
(folderPath string, shouldRemove func(string) bool)
comp/forwarder/defaultforwarder/internal/retry/file_removal_policy.go:140
↓ 2 callersMethodremoveScope
()
pkg/util/json/raw_object_writer.go:115
↓ 2 callersMethodremoveService
(ksvc *v1.Service)
pkg/autodiscovery/listeners/kube_services.go:304
↓ 2 callersFunctionremove_empty
(string_array)
pkg/config/legacy/tests/config.py:237
↓ 2 callersFunctionrenameResource
(resource string)
pkg/collector/corechecks/cluster/ksm/kubernetes_state_transformers.go:54
↓ 2 callersFunctionrenderAutodiscoveryStats
(w io.Writer, adEnabledFeatures interface{}, adConfigErrors interface{}, filterErrors interface{})
pkg/status/render.go:323
↓ 2 callersMethodreplaceInnerLogger
(l seelog.LoggerInterface)
pkg/util/log/log.go:105
↓ 2 callersMethodreplaceNumericTag
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 callersFunctionreplaceTextKeyToValue
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 callersMethodreplyOK
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 callersMethodreport
()
pkg/trace/writer/stats.go:328
↓ 2 callersMethodreport
()
pkg/trace/writer/trace.go:296
↓ 2 callersMethodreportClusterQuotas
reportClusterQuotas reports metrics on OpenShift ClusterResourceQuota objects
pkg/collector/corechecks/cluster/kubernetesapiserver/kubernetes_openshift.go:50
↓ 2 callersMethodreportEvent
( 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 callersFunctionrequestNotIncluded
(t *testing.T, allStats map[http.Key]*http.RequestStats, req *nethttp.Request)
pkg/network/usm/monitor_test.go:916
↓ 2 callersMethodrequireIntakeIsUsed
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 callersMethodrequireIntakeNotUsed
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 callersMethodreschedule
reschdule sends configurations to dispatching without checking or patching them as Schedule does.
pkg/clusteragent/clusterchecks/dispatcher_main.go:148
↓ 2 callersMethodreset
reset resets the framer to begin framing a new stream, for testing.
pkg/logs/internal/framer/framer.go:225
↓ 2 callersMethodreset
()
pkg/serverless/flush/strategy.go:167
↓ 2 callersMethodreset
()
pkg/network/encoding/kafka.go:96
↓ 2 callersMethodreset
()
pkg/collector/corechecks/cluster/ksm/kubernetes_state_telemetry.go:24
↓ 2 callersMethodreset
()
test/new-e2e/system-probe/connector/sshtools/communicator.go:93
↓ 2 callersMethodresetBuffer
()
pkg/trace/writer/stats.go:160
↓ 2 callersMethodresetBuffer
()
pkg/trace/writer/trace.go:229
↓ 2 callersMethodresetCallChan
()
pkg/autodiscovery/autoconfig_test.go:108
↓ 2 callersFunctionresetContentEncoding
()
pkg/serializer/serializer_test.go:36
↓ 2 callersFunctionresetGlobalClusterAgentClient
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 callersFunctionresetMockConfig
(c *config.MockConfig)
pkg/clusteragent/admission/controllers/webhook/utils_test.go:61
↓ 2 callersFunctionresetModeState
(cm)
cmd/agent/gui/views/private/js/codemirror.js:4588
↓ 2 callersFunctionresetPackageVars
()
pkg/secrets/secrets_test.go:136
↓ 2 callersMethodresizeDriverBuffer
(compareSize int)
pkg/network/driver_interface.go:368
↓ 2 callersMethodresolveFields
(forADs bool)
pkg/security/secl/model/field_handlers_windows.go:21
↓ 2 callersMethodresolveFields
(forADs bool)
pkg/security/secl/model/field_handlers_unix.go:21
↓ 2 callersMethodresolveFileGlob
(ctx context.Context, rootPath, glob, parser string)
pkg/compliance/resolver.go:437
↓ 2 callersMethodresolveFromCache
(pid, tid uint32, inode uint64)
pkg/security/resolvers/process/resolver_linux.go:712
↓ 2 callersMethodresolveFromKernelMaps
(pid, tid uint32, inode uint64)
pkg/security/resolvers/process/resolver_linux.go:766
↓ 2 callersMethodresolveFromProcfs
(pid uint32, maxDepth int)
pkg/security/resolvers/process/resolver_linux.go:848
↓ 2 callersFunctionresolveHostName
(config config.Reader)
pkg/process/checks/host_info.go:55
↓ 2 callersFunctionresolveLocalInterface
(deviceID string, interfaceIndexByIDType map[string]map[string][]int32, localInterfaceIDType string, localInte
pkg/collector/corechecks/snmp/internal/report/report_device_metadata.go:455
↓ 2 callersFunctionresolvePath
(root, path string)
pkg/ebpf/bytecode/runtime/integrity.go:165
↓ 2 callersFunctionresolveProfileDefinitionPath
(definitionFile string)
pkg/collector/corechecks/snmp/internal/profile/profile_yaml.go:100
↓ 2 callersFunctionresolveQuery
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 callersFunctionresolveRuntimeArch
()
pkg/security/ebpf/probes/syscall_helpers.go:25
↓ 2 callersFunctionresolveTag
resolveTag replaces %%label%%, %%annotation%% and %%env%% by their values
pkg/tagger/utils/k8s_metadata.go:73
↓ 2 callersMethodresolveTags
resolveTags thread unsafe version ot ResolveTags
pkg/security/security_profile/dump/activity_dump.go:606
↓ 2 callersFunctionresourceDDName
resourceDDName returns the datadog name of the given resource with possibly extra tags.
pkg/collector/corechecks/cluster/ksm/kubernetes_state_transformers.go:74
↓ 2 callersFunctionresourceFromTags
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 callersMethodrestoreAPIKeys
(str string)
comp/forwarder/defaultforwarder/internal/retry/http_transactions_serializer.go:158
↓ 2 callersMethodretryProcessEventsWithoutPod
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 callersFunctionreturnToPool
(stats map[int32]*model.ProcStatsWithPerm)
pkg/process/encoding/encoding.go:63
↓ 2 callersFunctionrichEventFromXML
(xml string)
pkg/logs/tailers/windowsevent/transform_test.go:113
↓ 2 callersFunctionrm
(node)
cmd/agent/gui/views/private/js/codemirror.js:4261
↓ 2 callersMethodrollback
removes all cached changes
pkg/config/remote/uptane/transactional_store.go:187
↓ 2 callersFunctionrootDir
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 callersFunctionrootDir
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 callersFunctionrootDir
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 callersFunctionrun
()
test/new-e2e/system-probe/test-runner/main.go:318
↓ 2 callersFunctionrun
(call string)
rtloader/test/kubeutil/kubeutil.go:69
← previousnext →8,801–8,900 of 32,574, ranked by callers