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
newTufRootsClient
(root []byte)
pkg/remoteconfig/state/tuf.go:28
↓ 2 callers
Function
newUDPServer
(addr string)
pkg/network/tracer/offsetguess/tracer.go:1067
↓ 2 callers
Function
newUnbundledTransformer
(hostname string, types []string)
pkg/collector/corechecks/containers/docker/unbundled_events.go:21
↓ 2 callers
Function
newUtilizationTrackerWithClock
newUtilizationTrackerWithClock is primarely used for testing. Does not start the background goroutines, so that the tests can call update() to get de
pkg/collector/worker/utilization_tracker.go:58
↓ 2 callers
Method
newWebhooks
newWebhooks generates MutatingWebhook objects from config templates with updated CABundle from Secret.
pkg/clusteragent/admission/controllers/webhook/controller_v1.go:176
↓ 2 callers
Method
newWebhooks
newWebhooks generates MutatingWebhook objects from config templates with updated CABundle from Secret.
pkg/clusteragent/admission/controllers/webhook/controller_v1beta1.go:176
↓ 2 callers
Method
newWorker
addWorker adds a new worker running in a separate goroutine
pkg/collector/runner/runner.go:116
↓ 2 callers
Function
newWorkersExpvar
(parent *expvar.Map)
pkg/collector/runner/expvars/workers.go:39
↓ 2 callers
Function
newWorkloadmetaListener
newWorkloadmetaListener returns a new workloadmetaListener. It filters workloadmeta events with the passed in workloadFilters, and processes each even
pkg/autodiscovery/listeners/workloadmeta.go:67
↓ 2 callers
Function
newWriteCounter
(w io.Writer)
pkg/trace/api/responses.go:81
↓ 2 callers
Function
newdeploymentParser
()
pkg/workloadmeta/collectors/internal/kubeapiserver/deployments.go:76
↓ 2 callers
Function
newfileProvider
(file string, isLeaderNotif <-chan struct{}, clusterName string)
pkg/clusteragent/admission/patch/file_provider.go:30
↓ 2 callers
Function
nextNBDDevice
()
cmd/agentless-scanner/main.go:2095
↓ 2 callers
Method
nextRunCounter
(name string)
pkg/process/runner/runner.go:217
↓ 2 callers
Function
next_final_version
(ctx, major_version, patch_version)
tasks/release.py:843
↓ 2 callers
Function
ninja_c_syscall_tester_common
(nw, file_name, build_dir, flags=None, libs=None, static=True)
tasks/security_agent.py:221
↓ 2 callers
Function
ninja_define_ebpf_compiler
(nw, strip_object_files=False, kernel_release=None, with_unit_test=False)
tasks/system_probe.py:76
↓ 2 callers
Function
ninja_define_exe_compiler
(nw)
tasks/system_probe.py:103
↓ 2 callers
Function
nlaAlign
#define NLA_ALIGN(len) (((len) + NLA_ALIGNTO - 1) & ~(NLA_ALIGNTO - 1))
pkg/network/netlink/align.go:45
↓ 2 callers
Function
nodeAndOffsetInLineMap
(map, ch, bias)
cmd/agent/gui/views/private/js/codemirror.js:2475
↓ 2 callers
Function
normalize
normalize normalizes JSON input. This allows us to write "pretty" JSON inside the test file using \t, \r, \n, etc.
pkg/obfuscate/json_test.go:72
↓ 2 callers
Method
normalize
()
pkg/security/probe/opts_linux.go:32
↓ 2 callers
Function
normalizeArray
(parts,allowAboveRoot)
cmd/agent/gui/views/private/js/ejs.min.js:1
↓ 2 callers
Method
normalizeRate
()
comp/dogstatsd/listeners/ratelimit/geometric_rate_limiter.go:59
↓ 2 callers
Function
normalizeRegexReplaceValue
normalizeRegexReplaceValue normalize regex value to keep compatibility with Python Converts \1 into $1, \2 into $2, etc
pkg/collector/corechecks/snmp/internal/checkconfig/config_metric.go:62
↓ 2 callers
Method
notAfter
notAfter defines the validity bounds when creating a new certificate
pkg/clusteragent/admission/controllers/secret/controller.go:253
↓ 2 callers
Function
notBefore
notBefore defines the validity bounds when creating a new certificate
pkg/clusteragent/admission/controllers/secret/controller.go:258
↓ 2 callers
Function
notify
notify sends a slice of EntityEvents to a channel at a chosen cardinality.
pkg/tagger/subscriber/subscriber.go:97
↓ 2 callers
Method
notifyChannel
(name string, ch chan EventBundle, events []Event, wait bool)
pkg/workloadmeta/store.go:777
↓ 2 callers
Method
notifyEventForImage
(ctx context.Context, namespace string, img containerd.Image, newSBOM *workloadmeta.SBOM)
pkg/workloadmeta/collectors/internal/containerd/image.go:248
↓ 2 callers
Function
notifyRTStatusChange
(rtNotifierChan chan<- types.RTResponse, statuses types.RTResponse)
pkg/process/runner/submitter.go:535
↓ 2 callers
Method
notifySubscribers
(events []types.EntityEvent)
pkg/tagger/remote/tagstore.go:125
↓ 2 callers
Method
notifySubscribers
(events []types.EntityEvent)
pkg/tagger/tagstore/tagstore.go:211
↓ 2 callers
Function
nsTimestampToFloat
nsTimestampToFloat converts a nanosec timestamp into a float nanosecond timestamp truncated to a fixed precision
pkg/trace/stats/statsraw.go:190
↓ 2 callers
Function
obfuscateRedisCmd
(out *strings.Builder, cmd string, args ...string)
pkg/obfuscate/redis.go:118
↓ 2 callers
Method
obfuscateStatsGroup
(b *pb.ClientGroupedStats)
pkg/trace/agent/obfuscate.go:96
↓ 2 callers
Method
obsPipelineWorkerEnabled
()
comp/logs/agent/config/config_keys.go:272
↓ 2 callers
Function
offsetPos
(pos, old, nw)
cmd/agent/gui/views/private/js/codemirror.js:4553
↓ 2 callers
Function
oidToNumbers
oidToNumbers parses an OID into a list of numbers. It is the inverse of numbersToOID.
pkg/collector/corechecks/snmp/internal/session/fake_session.go:19
↓ 2 callers
Function
omnibus_run_task
(ctx, task, target_project, base_dir, env, omnibus_s3_cache=False, log_level="info")
tasks/agent.py:612
↓ 2 callers
Method
onAccessDenied
(valueName string, regKeyCfg registryKey, cfg registryValueCfg, err error)
comp/checks/winregistry/impl/registry_delegate.go:13
↓ 2 callers
Function
onContextMenu
(cm, e)
cmd/agent/gui/views/private/js/codemirror.js:7526
↓ 2 callers
Method
onDropPoints
(count int)
comp/forwarder/defaultforwarder/internal/retry/transaction_retry_queue.go:154
↓ 2 callers
Function
onFocus
(cm, e)
cmd/agent/gui/views/private/js/codemirror.js:3191
↓ 2 callers
Method
onMissing
(valueName string, regKeyCfg registryKey, cfg registryValueCfg, err error)
comp/checks/winregistry/impl/registry_delegate.go:12
↓ 2 callers
Function
onNewTwoBasenamesApproversWrapper
(event model.EventType, field1, field2 string)
pkg/security/probe/kfilters/approvers.go:124
↓ 2 callers
Method
onNoMappingFound
(valueName string, val string, regKeyCfg registryKey, cfg registryValueCfg)
comp/checks/winregistry/impl/registry_delegate.go:17
↓ 2 callers
Function
onScrollWheel
(cm, e)
cmd/agent/gui/views/private/js/codemirror.js:4365
↓ 2 callers
Method
onSendMappedNumber
(valueName string, originalVal string, mappedVal float64, regKeyCfg registryKey, cfg registryValueCfg)
comp/checks/winregistry/impl/registry_delegate.go:16
↓ 2 callers
Method
onUnsupportedDataType
(valueName string, valueType uint32, regKeyCfg registryKey, cfg registryValueCfg)
comp/checks/winregistry/impl/registry_delegate.go:18
↓ 2 callers
Method
openHandle
openHandle tries to create a network namespace handle with the provided thread ID
pkg/security/resolvers/netns/resolver.go:93
↓ 2 callers
Function
outputNewLineIfNeeded
(w io.Writer, lastDot *bool)
pkg/diagnose/runner.go:124
↓ 2 callers
Function
ownerTags
ownerTags returns kube_<kind> tags based on given kind and name. If the owner is a replicaset, it tries to get the kube_deployment tag in addition to
pkg/collector/corechecks/cluster/ksm/kubernetes_state.go:945
↓ 2 callers
Function
paddingH
(display)
cmd/agent/gui/views/private/js/codemirror.js:2345
↓ 2 callers
Function
pageAlign
(x T)
pkg/collector/corechecks/ebpf/probe/ebpfcheck/utils.go:38
↓ 2 callers
Function
pageScrollX
()
cmd/agent/gui/views/private/js/codemirror.js:2609
↓ 2 callers
Function
pageScrollY
()
cmd/agent/gui/views/private/js/codemirror.js:2616
↓ 2 callers
Function
parse
(commit_str)
tasks/pipeline.py:469
↓ 2 callers
Function
parseAPTConfiguration
(str string)
pkg/compliance/aptconfig/aptconfig.go:114
↓ 2 callers
Function
parseAddrPort
(ip string, port uint16)
pkg/process/net/resolver/resolver.go:181
↓ 2 callers
Function
parseAzureSubscriptionID
(subID string)
pkg/trace/traceutil/azure.go:147
↓ 2 callers
Function
parseBytesToFloat
(buf []byte, bitSize int)
pkg/process/procutil/process_linux.go:578
↓ 2 callers
Function
parseCWSInitContainerResources
()
pkg/clusteragent/admission/mutate/cws_instrumentation.go:42
↓ 2 callers
Function
parseCapIntoSet
(capabilities uint64, flag capability.CapType, c capability.Capabilities, t *testing.T)
pkg/security/tests/process_test.go:1547
↓ 2 callers
Function
parseChecksJSON
parseChecksJSON parses an AD annotation v2 (ad.datadoghq.com/redis.checks) JSON string into []integration.Config.
pkg/autodiscovery/common/utils/pod_annotations.go:55
↓ 2 callers
Function
parseCmdlineFlags
(cmdline []string)
pkg/compliance/resolver.go:854
↓ 2 callers
Function
parseConfigASMData
(data []byte, metadata Metadata)
pkg/remoteconfig/state/configs_asm.go:136
↓ 2 callers
Method
parseConfigFileContent
(content []byte)
test/new-e2e/pkg/runner/parameters/store_config_file.go:73
↓ 2 callers
Function
parseConfigSnmpMain
()
pkg/snmp/snmpparse/config_snmp.go:74
↓ 2 callers
Function
parseDiskMode
(diskModeStr string)
cmd/agentless-scanner/main.go:492
↓ 2 callers
Function
parseDiskQuantity
parseDiskQuantity parses a string from docker into a bytes quantity,
pkg/util/docker/storage.go:125
↓ 2 callers
Function
parseEndpoint
(endpoint string)
internal/third_party/kubernetes/pkg/kubelet/cri/remote/util/util_windows.go:83
↓ 2 callers
Function
parseEndpointWithFallbackProtocol
(endpoint string, fallbackProtocol string)
internal/third_party/kubernetes/pkg/kubelet/cri/remote/util/util_unix.go:97
↓ 2 callers
Function
parseFilters
(annotationsExclude []string)
pkg/workloadmeta/collectors/internal/kubeapiserver/utils.go:31
↓ 2 callers
Function
parseGroup
(fs fs.FS, path string)
pkg/security/resolvers/usergroup/parser.go:131
↓ 2 callers
Function
parseHeaderVersion
(r io.Reader)
pkg/util/kernel/find_headers.go:331
↓ 2 callers
Method
parseIOLine
parseIOLine extracts key and value for each line in "io" file
pkg/process/procutil/process_linux.go:435
↓ 2 callers
Function
parseInt32Bytes
parseInt32Bytes parses an int32 even if the sent value is an uint32; this is required because the encoding library could remove bytes from the encoded
pkg/proto/pbgo/trace/decoder_bytes.go:214
↓ 2 callers
Function
parseInt64
the std API does not have methods to do []byte => float parsing we use this unsafe trick to avoid having to allocate one string for every parsed float
comp/dogstatsd/server/parse.go:257
↓ 2 callers
Function
parseJSONValue
(value string, tags *utils.TagList)
pkg/tagger/collectors/workloadmeta_extract.go:722
↓ 2 callers
Function
parseLinuxFile
(url string, perLine func(string) (*syscallDefinition, error))
pkg/security/secl/model/syscall_table_generator/syscall_table_generator.go:86
↓ 2 callers
Function
parseMetaPath
(rawMetaPath string)
pkg/config/remote/uptane/util.go:25
↓ 2 callers
Function
parseMountinfo
Parsing /proc/self/mountinfo is not always reliable in Kubernetes+containerd (at least) We're still trying to use it as it may help in some cgroupv2 c
pkg/util/containers/metrics/system/containerid_linux.go:35
↓ 2 callers
Function
parsePasswd
(fs fs.FS, path string)
pkg/security/resolvers/usergroup/parser.go:101
↓ 2 callers
Method
parsePodContainers
( pod *kubelet.Pod, containerSpecs []kubelet.ContainerSpec, containerStatuses []kubelet.ContainerStatus, p
pkg/workloadmeta/collectors/internal/kubelet/kubelet.go:170
↓ 2 callers
Method
parsePods
parsePods returns collection events based on a given podlist.
pkg/workloadmeta/collectors/internal/kubemetadata/kubemetadata.go:161
↓ 2 callers
Method
parsePort
(ts *httptest.Server)
pkg/util/kubernetes/kubelet/kubelet_test.go:92
↓ 2 callers
Function
parseResponse
(res *http.Response, method string, URL string)
pkg/util/http/helpers.go:19
↓ 2 callers
Function
parseRolesMapping
(roles []string)
cmd/agentless-scanner/main.go:505
↓ 2 callers
Function
parseRulesFromString
(rules [][3]string)
pkg/trace/filters/replacer_test.go:125
↓ 2 callers
Method
parseServiceAnnotations
(services []*v1.Service)
pkg/autodiscovery/providers/kube_services.go:152
↓ 2 callers
Method
parseServiceAnnotationsForEndpoints
(services []*v1.Service)
pkg/autodiscovery/providers/kube_endpoints.go:224
↓ 2 callers
Method
parseServiceID
parseServiceID breaks down an AD service ID, assuming it is formatted as `something://something-else`, into its consituent parts.
pkg/logs/schedulers/ad/scheduler.go:226
↓ 2 callers
Function
parseStorageStatsFromInfo
parseStorageStatsFromInfo converts the [][2]string DriverStatus from docker info into a reliable StorageStats struct. It only supports DeviceMapper st
pkg/util/docker/storage.go:81
↓ 2 callers
Function
parseStringArray
(data []byte)
pkg/security/resolvers/process/resolver_linux.go:257
↓ 2 callers
Function
parseSystemdConf
systemd configuration syntax: https://www.freedesktop.org/software/systemd/man/systemd.syntax.html
pkg/compliance/aptconfig/aptconfig.go:279
↓ 2 callers
Function
parseTargetsCustom
(rawTargetsCustom []byte)
pkg/config/remote/service/util.go:197
↓ 2 callers
Function
parseTemplateVar
parseTemplateVar extracts the name of the var and the key (or index if it can be cast to an int)
pkg/util/tmplvar/parse.go:40
↓ 2 callers
Function
parseTypeNumber
(str string)
pkg/compliance/tools/k8s_types_generator/main.go:713
↓ 2 callers
Method
parseV1blkio
(path string, perDevice map[string]DeviceIOStats, Writer func(*DeviceIOStats, string, uint64) bool)
pkg/util/cgroups/cgroupv1_io.go:52
← previous
next →
8,601–8,700 of 32,574, ranked by callers