MCPcopy Create free account

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

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

↓ 2 callersFunctionnewTufRootsClient
(root []byte)
pkg/remoteconfig/state/tuf.go:28
↓ 2 callersFunctionnewUDPServer
(addr string)
pkg/network/tracer/offsetguess/tracer.go:1067
↓ 2 callersFunctionnewUnbundledTransformer
(hostname string, types []string)
pkg/collector/corechecks/containers/docker/unbundled_events.go:21
↓ 2 callersFunctionnewUtilizationTrackerWithClock
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 callersMethodnewWebhooks
newWebhooks generates MutatingWebhook objects from config templates with updated CABundle from Secret.
pkg/clusteragent/admission/controllers/webhook/controller_v1.go:176
↓ 2 callersMethodnewWebhooks
newWebhooks generates MutatingWebhook objects from config templates with updated CABundle from Secret.
pkg/clusteragent/admission/controllers/webhook/controller_v1beta1.go:176
↓ 2 callersMethodnewWorker
addWorker adds a new worker running in a separate goroutine
pkg/collector/runner/runner.go:116
↓ 2 callersFunctionnewWorkersExpvar
(parent *expvar.Map)
pkg/collector/runner/expvars/workers.go:39
↓ 2 callersFunctionnewWorkloadmetaListener
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 callersFunctionnewWriteCounter
(w io.Writer)
pkg/trace/api/responses.go:81
↓ 2 callersFunctionnewdeploymentParser
()
pkg/workloadmeta/collectors/internal/kubeapiserver/deployments.go:76
↓ 2 callersFunctionnewfileProvider
(file string, isLeaderNotif <-chan struct{}, clusterName string)
pkg/clusteragent/admission/patch/file_provider.go:30
↓ 2 callersFunctionnextNBDDevice
()
cmd/agentless-scanner/main.go:2095
↓ 2 callersMethodnextRunCounter
(name string)
pkg/process/runner/runner.go:217
↓ 2 callersFunctionnext_final_version
(ctx, major_version, patch_version)
tasks/release.py:843
↓ 2 callersFunctionninja_c_syscall_tester_common
(nw, file_name, build_dir, flags=None, libs=None, static=True)
tasks/security_agent.py:221
↓ 2 callersFunctionninja_define_ebpf_compiler
(nw, strip_object_files=False, kernel_release=None, with_unit_test=False)
tasks/system_probe.py:76
↓ 2 callersFunctionninja_define_exe_compiler
(nw)
tasks/system_probe.py:103
↓ 2 callersFunctionnlaAlign
#define NLA_ALIGN(len) (((len) + NLA_ALIGNTO - 1) & ~(NLA_ALIGNTO - 1))
pkg/network/netlink/align.go:45
↓ 2 callersFunctionnodeAndOffsetInLineMap
(map, ch, bias)
cmd/agent/gui/views/private/js/codemirror.js:2475
↓ 2 callersFunctionnormalize
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 callersMethodnormalize
()
pkg/security/probe/opts_linux.go:32
↓ 2 callersFunctionnormalizeArray
(parts,allowAboveRoot)
cmd/agent/gui/views/private/js/ejs.min.js:1
↓ 2 callersMethodnormalizeRate
()
comp/dogstatsd/listeners/ratelimit/geometric_rate_limiter.go:59
↓ 2 callersFunctionnormalizeRegexReplaceValue
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 callersMethodnotAfter
notAfter defines the validity bounds when creating a new certificate
pkg/clusteragent/admission/controllers/secret/controller.go:253
↓ 2 callersFunctionnotBefore
notBefore defines the validity bounds when creating a new certificate
pkg/clusteragent/admission/controllers/secret/controller.go:258
↓ 2 callersFunctionnotify
notify sends a slice of EntityEvents to a channel at a chosen cardinality.
pkg/tagger/subscriber/subscriber.go:97
↓ 2 callersMethodnotifyChannel
(name string, ch chan EventBundle, events []Event, wait bool)
pkg/workloadmeta/store.go:777
↓ 2 callersMethodnotifyEventForImage
(ctx context.Context, namespace string, img containerd.Image, newSBOM *workloadmeta.SBOM)
pkg/workloadmeta/collectors/internal/containerd/image.go:248
↓ 2 callersFunctionnotifyRTStatusChange
(rtNotifierChan chan<- types.RTResponse, statuses types.RTResponse)
pkg/process/runner/submitter.go:535
↓ 2 callersMethodnotifySubscribers
(events []types.EntityEvent)
pkg/tagger/remote/tagstore.go:125
↓ 2 callersMethodnotifySubscribers
(events []types.EntityEvent)
pkg/tagger/tagstore/tagstore.go:211
↓ 2 callersFunctionnsTimestampToFloat
nsTimestampToFloat converts a nanosec timestamp into a float nanosecond timestamp truncated to a fixed precision
pkg/trace/stats/statsraw.go:190
↓ 2 callersFunctionobfuscateRedisCmd
(out *strings.Builder, cmd string, args ...string)
pkg/obfuscate/redis.go:118
↓ 2 callersMethodobfuscateStatsGroup
(b *pb.ClientGroupedStats)
pkg/trace/agent/obfuscate.go:96
↓ 2 callersMethodobsPipelineWorkerEnabled
()
comp/logs/agent/config/config_keys.go:272
↓ 2 callersFunctionoffsetPos
(pos, old, nw)
cmd/agent/gui/views/private/js/codemirror.js:4553
↓ 2 callersFunctionoidToNumbers
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 callersFunctionomnibus_run_task
(ctx, task, target_project, base_dir, env, omnibus_s3_cache=False, log_level="info")
tasks/agent.py:612
↓ 2 callersMethodonAccessDenied
(valueName string, regKeyCfg registryKey, cfg registryValueCfg, err error)
comp/checks/winregistry/impl/registry_delegate.go:13
↓ 2 callersFunctiononContextMenu
(cm, e)
cmd/agent/gui/views/private/js/codemirror.js:7526
↓ 2 callersMethodonDropPoints
(count int)
comp/forwarder/defaultforwarder/internal/retry/transaction_retry_queue.go:154
↓ 2 callersFunctiononFocus
(cm, e)
cmd/agent/gui/views/private/js/codemirror.js:3191
↓ 2 callersMethodonMissing
(valueName string, regKeyCfg registryKey, cfg registryValueCfg, err error)
comp/checks/winregistry/impl/registry_delegate.go:12
↓ 2 callersFunctiononNewTwoBasenamesApproversWrapper
(event model.EventType, field1, field2 string)
pkg/security/probe/kfilters/approvers.go:124
↓ 2 callersMethodonNoMappingFound
(valueName string, val string, regKeyCfg registryKey, cfg registryValueCfg)
comp/checks/winregistry/impl/registry_delegate.go:17
↓ 2 callersFunctiononScrollWheel
(cm, e)
cmd/agent/gui/views/private/js/codemirror.js:4365
↓ 2 callersMethodonSendMappedNumber
(valueName string, originalVal string, mappedVal float64, regKeyCfg registryKey, cfg registryValueCfg)
comp/checks/winregistry/impl/registry_delegate.go:16
↓ 2 callersMethodonUnsupportedDataType
(valueName string, valueType uint32, regKeyCfg registryKey, cfg registryValueCfg)
comp/checks/winregistry/impl/registry_delegate.go:18
↓ 2 callersMethodopenHandle
openHandle tries to create a network namespace handle with the provided thread ID
pkg/security/resolvers/netns/resolver.go:93
↓ 2 callersFunctionoutputNewLineIfNeeded
(w io.Writer, lastDot *bool)
pkg/diagnose/runner.go:124
↓ 2 callersFunctionownerTags
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 callersFunctionpaddingH
(display)
cmd/agent/gui/views/private/js/codemirror.js:2345
↓ 2 callersFunctionpageAlign
(x T)
pkg/collector/corechecks/ebpf/probe/ebpfcheck/utils.go:38
↓ 2 callersFunctionpageScrollX
()
cmd/agent/gui/views/private/js/codemirror.js:2609
↓ 2 callersFunctionpageScrollY
()
cmd/agent/gui/views/private/js/codemirror.js:2616
↓ 2 callersFunctionparse
(commit_str)
tasks/pipeline.py:469
↓ 2 callersFunctionparseAPTConfiguration
(str string)
pkg/compliance/aptconfig/aptconfig.go:114
↓ 2 callersFunctionparseAddrPort
(ip string, port uint16)
pkg/process/net/resolver/resolver.go:181
↓ 2 callersFunctionparseAzureSubscriptionID
(subID string)
pkg/trace/traceutil/azure.go:147
↓ 2 callersFunctionparseBytesToFloat
(buf []byte, bitSize int)
pkg/process/procutil/process_linux.go:578
↓ 2 callersFunctionparseCWSInitContainerResources
()
pkg/clusteragent/admission/mutate/cws_instrumentation.go:42
↓ 2 callersFunctionparseCapIntoSet
(capabilities uint64, flag capability.CapType, c capability.Capabilities, t *testing.T)
pkg/security/tests/process_test.go:1547
↓ 2 callersFunctionparseChecksJSON
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 callersFunctionparseCmdlineFlags
(cmdline []string)
pkg/compliance/resolver.go:854
↓ 2 callersFunctionparseConfigASMData
(data []byte, metadata Metadata)
pkg/remoteconfig/state/configs_asm.go:136
↓ 2 callersMethodparseConfigFileContent
(content []byte)
test/new-e2e/pkg/runner/parameters/store_config_file.go:73
↓ 2 callersFunctionparseConfigSnmpMain
()
pkg/snmp/snmpparse/config_snmp.go:74
↓ 2 callersFunctionparseDiskMode
(diskModeStr string)
cmd/agentless-scanner/main.go:492
↓ 2 callersFunctionparseDiskQuantity
parseDiskQuantity parses a string from docker into a bytes quantity,
pkg/util/docker/storage.go:125
↓ 2 callersFunctionparseEndpoint
(endpoint string)
internal/third_party/kubernetes/pkg/kubelet/cri/remote/util/util_windows.go:83
↓ 2 callersFunctionparseEndpointWithFallbackProtocol
(endpoint string, fallbackProtocol string)
internal/third_party/kubernetes/pkg/kubelet/cri/remote/util/util_unix.go:97
↓ 2 callersFunctionparseFilters
(annotationsExclude []string)
pkg/workloadmeta/collectors/internal/kubeapiserver/utils.go:31
↓ 2 callersFunctionparseGroup
(fs fs.FS, path string)
pkg/security/resolvers/usergroup/parser.go:131
↓ 2 callersFunctionparseHeaderVersion
(r io.Reader)
pkg/util/kernel/find_headers.go:331
↓ 2 callersMethodparseIOLine
parseIOLine extracts key and value for each line in "io" file
pkg/process/procutil/process_linux.go:435
↓ 2 callersFunctionparseInt32Bytes
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 callersFunctionparseInt64
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 callersFunctionparseJSONValue
(value string, tags *utils.TagList)
pkg/tagger/collectors/workloadmeta_extract.go:722
↓ 2 callersFunctionparseLinuxFile
(url string, perLine func(string) (*syscallDefinition, error))
pkg/security/secl/model/syscall_table_generator/syscall_table_generator.go:86
↓ 2 callersFunctionparseMetaPath
(rawMetaPath string)
pkg/config/remote/uptane/util.go:25
↓ 2 callersFunctionparseMountinfo
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 callersFunctionparsePasswd
(fs fs.FS, path string)
pkg/security/resolvers/usergroup/parser.go:101
↓ 2 callersMethodparsePodContainers
( pod *kubelet.Pod, containerSpecs []kubelet.ContainerSpec, containerStatuses []kubelet.ContainerStatus, p
pkg/workloadmeta/collectors/internal/kubelet/kubelet.go:170
↓ 2 callersMethodparsePods
parsePods returns collection events based on a given podlist.
pkg/workloadmeta/collectors/internal/kubemetadata/kubemetadata.go:161
↓ 2 callersMethodparsePort
(ts *httptest.Server)
pkg/util/kubernetes/kubelet/kubelet_test.go:92
↓ 2 callersFunctionparseResponse
(res *http.Response, method string, URL string)
pkg/util/http/helpers.go:19
↓ 2 callersFunctionparseRolesMapping
(roles []string)
cmd/agentless-scanner/main.go:505
↓ 2 callersFunctionparseRulesFromString
(rules [][3]string)
pkg/trace/filters/replacer_test.go:125
↓ 2 callersMethodparseServiceAnnotations
(services []*v1.Service)
pkg/autodiscovery/providers/kube_services.go:152
↓ 2 callersMethodparseServiceAnnotationsForEndpoints
(services []*v1.Service)
pkg/autodiscovery/providers/kube_endpoints.go:224
↓ 2 callersMethodparseServiceID
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 callersFunctionparseStorageStatsFromInfo
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 callersFunctionparseStringArray
(data []byte)
pkg/security/resolvers/process/resolver_linux.go:257
↓ 2 callersFunctionparseSystemdConf
systemd configuration syntax: https://www.freedesktop.org/software/systemd/man/systemd.syntax.html
pkg/compliance/aptconfig/aptconfig.go:279
↓ 2 callersFunctionparseTargetsCustom
(rawTargetsCustom []byte)
pkg/config/remote/service/util.go:197
↓ 2 callersFunctionparseTemplateVar
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 callersFunctionparseTypeNumber
(str string)
pkg/compliance/tools/k8s_types_generator/main.go:713
↓ 2 callersMethodparseV1blkio
(path string, perDevice map[string]DeviceIOStats, Writer func(*DeviceIOStats, string, uint64) bool)
pkg/util/cgroups/cgroupv1_io.go:52
← previousnext →8,601–8,700 of 32,574, ranked by callers