MCPcopy Create free account

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

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

↓ 2 callersMethodcreate_cws_signal_rule
(self, name, msg, agent_rule_id, tags=None)
test/e2e/cws-tests/tests/lib/cws/app.py:96
↓ 2 callersFunctioncreate_dir_if_needed
(dir)
tasks/security_agent.py:297
↓ 2 callersMethodcriticalStackDepth
critical logs at the critical level and the current stack depth plus the additional given one, called with sw.l held
pkg/util/log/log.go:302
↓ 2 callersMethodcustomResourceGenerator
(p *v1.Pod, resourceType string)
pkg/collector/corechecks/cluster/ksm/customresources/pod.go:184
↓ 2 callersMethodcustomResourceGenerator
(resources v1.ResourceList)
pkg/collector/corechecks/cluster/ksm/customresources/node.go:81
↓ 2 callersMethodcustomResourceOwnerGenerator
customResourceOwnerGenerator is used to generate metrics related to resource requests or limits, tagged by the top-most owner of the pod.
pkg/collector/corechecks/cluster/ksm/customresources/pod.go:110
↓ 2 callersMethoddebugStackDepth
debug logs at the debug level and the current stack depth plus the additional given one, called with sw.l held
pkg/util/log/log.go:205
↓ 2 callersMethoddebuggerDiagnosticsProxyHandler
debuggerDiagnosticsProxyHandler returns an http.Handler proxying Dynamic Instrumentation diagnostic messages to the debugger intake.
pkg/trace/api/debugger.go:43
↓ 2 callersMethoddebuggerProxyHandler
debuggerProxyHandler returns an http.Handler proxying requests to the configured intake. If the intake url cannot be parsed, the returned handler will
pkg/trace/api/debugger.go:49
↓ 2 callersFunctiondecodeChartValuesFromRelease
decodeChartValuesFromRelease returns a byte array with the user values from an encoded Helm chart release
pkg/flare/manifests.go:192
↓ 2 callersFunctiondecodeRelease
decodeRelease decodes the bytes of data into a release type. Data must contain a base64 encoded gzipped string of a valid release, otherwise an error
pkg/collector/corechecks/cluster/helm/release.go:76
↓ 2 callersFunctiondecodeTracerPayload
decodeTracerPayload decodes the payload in http request `req`. - tp is the decoded payload - ranHook reports whether the decoder was able to run the p
pkg/trace/api/api.go:356
↓ 2 callersFunctiondecodeUNumberWithEndianness
(b []byte, out *uint64, endianness common.EndianType)
comp/netflow/goflowlib/additionalfields/netflow.go:19
↓ 2 callersFunctiondecompress
(payload []byte)
test/integration/serverless/recorder-extension/main.go:296
↓ 2 callersFunctiondedupeConnectionInfo
(hosts *connectionInfo)
pkg/util/kubernetes/kubelet/kubelet_hosts.go:108
↓ 2 callersMethoddeduplicateUnsafe
(value string)
pkg/security/utils/lru_interner.go:41
↓ 2 callersFunctiondefaultMetricNamesMapper
defaultMetricNamesMapper returns a map that translates KSM metric names to Datadog metric names
pkg/collector/corechecks/cluster/ksm/kubernetes_state_defaults.go:16
↓ 2 callersMethoddefaultRate
defaultRate returns the rate to apply to unknown signatures. It's computed by considering the moving max of all Sigs seen by the sampler, and the lowe
pkg/trace/sampler/coresampler.go:278
↓ 2 callersFunctiondefaultedType
(componentName string, conf *conf)
pkg/compliance/tools/k8s_types_generator/main.go:232
↓ 2 callersFunctiondelayBlurEvent
(cm)
cmd/agent/gui/views/private/js/codemirror.js:3183
↓ 2 callersMethoddelete
(key *netebpf.ConntrackTuple)
pkg/network/tracer/ebpf_conntracker.go:302
↓ 2 callersMethoddeleteEntry
(pid uint32, exitTime time.Time)
pkg/security/resolvers/process/resolver_linux.go:544
↓ 2 callersMethoddeleteMappingsOfCheckIDsWithSecrets
(checkIDs []checkid.ID)
pkg/autodiscovery/store.go:226
↓ 2 callersMethoddeleteRelease
(encodedRelease string, storageDriver helmStorage)
pkg/collector/corechecks/cluster/helm/helm.go:435
↓ 2 callersMethoddeleteWorkloadPID
deleteWorkloadPID removes a PID from a workload
pkg/security/resolvers/cgroup/resolver.go:210
↓ 2 callersMethoddelete_agent_rule
(self, rule_id)
test/e2e/cws-tests/tests/lib/cws/app.py:163
↓ 2 callersMethoddelete_signal_rule
(self, rule_id)
test/e2e/cws-tests/tests/lib/cws/app.py:155
↓ 2 callersMethoddependency_path
Return the versioned dependency path of the Go module >>> mods = [GoModule("."), GoModule("pkg/util/log")] >>> [mod.dependency_path("7
tasks/modules.py:123
↓ 2 callersFunctiondeprecateString
deprecateString logs a deprecation message if `oldkey` is used. It sets `newkey` to the value obtained from `getFn`, but only if `oldkey` is set and `
cmd/system-probe/config/adjust.go:133
↓ 2 callersFunctiondeprecationMessage
deprecationMessage returns the standard deprecation message
cmd/system-probe/config/adjust.go:151
↓ 2 callersFunctiondestroy_stack
(ctx, stack=None, force=False, ssh_key="")
tasks/kmt.py:58
↓ 2 callersFunctiondetachMarkedSpans
(line)
cmd/agent/gui/views/private/js/codemirror.js:701
↓ 2 callersMethoddetectAvailableMetrics
()
pkg/collector/corechecks/snmp/internal/devicecheck/devicecheck.go:264
↓ 2 callersFunctiondigestMapValues
digestMapValues returns a unique hash of map values used to track changes in labels and annotations values it takes into consideration the random keys
pkg/util/kubernetes/kubelet/podwatcher.go:198
↓ 2 callersFunctiondigestPodMeta
digestPodMeta returns a unique hash of pod labels and annotations. it hashes labels then annotations and makes a single hash of both maps
pkg/util/kubernetes/kubelet/podwatcher.go:187
↓ 2 callersFunctiondirentReclen
(buf []byte)
pkg/process/procutil/dirent_linux.go:68
↓ 2 callersFunctiondisableBrowserMagic
(field, spellcheck)
cmd/agent/gui/views/private/js/codemirror.js:8070
↓ 2 callersMethoddiscardInode
(req *erpc.Request, eventType model.EventType, mountID uint32, inode uint64, isLeaf bool)
pkg/security/probe/discarders_linux.go:205
↓ 2 callersFunctiondnsFilterSubdomains
(name string, maxDepth int)
pkg/security/security_profile/activity_tree/dns_node.go:34
↓ 2 callersFunctiondoDoFetchScalarOids
(session session.Session, oids []string)
pkg/collector/corechecks/snmp/internal/fetch/fetch_scalar.go:123
↓ 2 callersFunctiondoExpansionTest
(t *testing.T, mapping func(string) string)
internal/third_party/golang/expansion/expand_test.go:86
↓ 2 callersFunctiondoFetchScalarOids
(session session.Session, oids []string)
pkg/collector/corechecks/snmp/internal/fetch/fetch_scalar.go:87
↓ 2 callersFunctiondoNotEscape
(value string)
pkg/status/helpers.go:75
↓ 2 callersFunctiondoPayloadsMatch
(payloads transaction.BytesPayloads, prefix string)
pkg/serializer/serializer_test.go:192
↓ 2 callersMethoddoQuery
TODO: remove the client parameter when we drop compatibility with older Agents, see end of `init()`
pkg/util/clusteragent/clusteragent.go:309
↓ 2 callersMethoddoRequest
(req *http.Request)
cmd/trace-agent/test/runner.go:181
↓ 2 callersFunctiondoStopService
(serviceName string)
pkg/util/winutil/service.go:122
↓ 2 callersFunctiondoTestMemHigh
(t *testing.T, n int)
pkg/trace/watchdog/info_test.go:100
↓ 2 callersMethoddockerCreateFiles
nolint:deadcode,unused
pkg/security/tests/module_tester.go:2094
↓ 2 callersFunctiondownload
(url, dist string)
pkg/compliance/tools/k8s_types_generator/main.go:804
↓ 2 callersFunctiondownloadPolicyCommands
(globalParams *command.GlobalParams)
cmd/security-agent/subcommands/runtime/command.go:175
↓ 2 callersMethoddownload_from_url
(self, url, destination_dir, destination_file)
tasks/libs/common/github_api.py:126
↓ 2 callersFunctiondownload_kernel_packages
(ctx, kernel_packages_dir, kernel_headers_dir, backup_dir, revert=False)
tasks/kernel_matrix_testing/download.py:142
↓ 2 callersMethoddownload_policies
(self)
test/e2e/cws-tests/tests/lib/cws/app.py:171
↓ 2 callersFunctiondownload_rootfs
(ctx, rootfs_dir, backup_dir, revert=False)
tasks/kernel_matrix_testing/download.py:75
↓ 2 callersFunctiondrawSelectionCursor
(cm, head, output)
cmd/agent/gui/views/private/js/codemirror.js:3054
↓ 2 callersFunctiondropCR
dropCR drops a terminal \r from the data.
comp/dogstatsd/server/server.go:535
↓ 2 callersMethoddropOldBuckets
dropOldbuckets removes buckets that are outside the specified time window.
pkg/logs/internal/util/moving_sum.go:76
↓ 2 callersMethoddumpAndDiscardTable
(family uint8, ns netns.NsHandle)
pkg/network/netlink/consumer.go:434
↓ 2 callersFunctiondumpK8sClusterState
(ctx context.Context, kubeconfig *clientcmdapi.Config, out *strings.Builder)
test/new-e2e/tests/containers/dump_cluster_state.go:245
↓ 2 callersMethoddumpTable
(family uint8, output chan Event, ns netns.NsHandle)
pkg/network/netlink/consumer.go:295
↓ 2 callersMethoddup
dup returns a full copy of hashedTags
pkg/tagset/hashed_tags_pvt.go:45
↓ 2 callersFunctione_button
(e)
cmd/agent/gui/views/private/js/codemirror.js:1203
↓ 2 callersFunctionempty_config
(file_path)
tasks/kernel_matrix_testing/vmconfig.py:192
↓ 2 callersMethodenableHPA
enableHPA adds the handlers to the AutoscalersController to support HPAs
pkg/util/kubernetes/apiserver/hpa_controller.go:93
↓ 2 callersFunctionencodeRelease
Note: the encodeRelease function has been copied from the Helm library. It's private, so we can't reuse it. Ref: https://github.com/helm/helm/blob/v3.
pkg/collector/corechecks/cluster/helm/helm_test.go:665
↓ 2 callersFunctionencodeVarint
(dAtA []byte, offset int, v uint64)
pkg/eventmonitor/proto/api/api_vtproto.pb.go:99
↓ 2 callersFunctionenforceCanonicalJSON
(raw []byte)
pkg/config/remote/service/service.go:790
↓ 2 callersMethodenqueue
enqueue adds a given object to the work queue.
pkg/clusteragent/admission/controllers/webhook/controller_base.go:141
↓ 2 callersMethodenqueueOnLeaderNotif
enqueueOnLeaderNotif watches leader notifications and triggers a reconciliation in case the current process becomes leader. This ensures that the late
pkg/clusteragent/admission/controllers/webhook/controller_base.go:60
↓ 2 callersFunctionenrichBits
enrichBits checks to see if the variable has a mapping in bits, if so returns the mapping and hex string of bits, if not returns the value unchanged a
pkg/snmp/traps/formatter/formatter.go:217
↓ 2 callersFunctionenrichEvent
(event dogstatsdEvent, origin string, conf enrichConfig)
comp/dogstatsd/server/enrich.go:251
↓ 2 callersMethodenrichFromEvent
(event *model.Event)
pkg/security/security_profile/activity_tree/file_node.go:85
↓ 2 callersFunctionenrichServiceCheck
(serviceCheck dogstatsdServiceCheck, origin string, conf enrichConfig)
comp/dogstatsd/server/enrich.go:290
↓ 2 callersMethodenrichedTags
enrichedTags of a given dimension. In the OTLP pipeline, 'contexts' are kept within the translator and function differently than DogStatsD/check metri
comp/otelcol/otlp/internal/serializerexporter/consumer.go:43
↓ 2 callersFunctionensureGlobalInfo
()
pkg/trace/watchdog/info.go:62
↓ 2 callersFunctionensureKeys
ensureKeys takes 2 maps, expect and result, and ensures that the set of keys in expect and result match. For each key (k) in expect, if expect[k] is o
pkg/trace/api/info_test.go:29
↓ 2 callersMethodensureMinWorkers
EnsureMinWorkers increases the number of workers to match the `desiredNumWorkers` parameter
pkg/collector/runner/runner.go:78
↓ 2 callersMethodensurePathReadable
ensurePathReadable ensures that the current user is able to read the path before opening it. On some systems, attempting to open a file that the user
pkg/process/procutil/process_linux.go:810
↓ 2 callersMethodensurePathReadableFromFileInfo
(info fs.FileInfo)
pkg/process/procutil/process_linux.go:825
↓ 2 callersFunctionensureValidMaxBatchBytes
(batchBytes int)
pkg/process/checks/config.go:31
↓ 2 callersFunctionensureValidMaxBatchSize
(batchSize int)
pkg/process/checks/config.go:18
↓ 2 callersMethodenumCounters
(collectMeta bool, collectStats bool)
pkg/process/procutil/process_windows.go:252
↓ 2 callersMethoderrorStackDepth
error logs at the error level and the current stack depth plus the additional given one, called with sw.l held
pkg/util/log/log.go:276
↓ 2 callersFunctionestimateCoords
(cm, pos)
cmd/agent/gui/views/private/js/codemirror.js:2723
↓ 2 callersFunctioneventCountByType
(eventPayloads []*contlcycle.EventsPayload)
pkg/collector/corechecks/containerlifecycle/processor.go:197
↓ 2 callersFunctioneventRecordsKeyEquals
(event map[string]any, key string, val string)
pkg/serverless/trigger/events.go:309
↓ 2 callersFunctioneventToMessage
eventToJSON converts an XML message into either an unstructured message.Message or a structured one.
pkg/logs/tailers/windowsevent/transform.go:27
↓ 2 callersFunctioneventTypesFromFields
(model Model, state *State)
pkg/security/secl/compiler/eval/event.go:34
↓ 2 callersFunctionevpProxyEndpointsFromConfig
evpProxyEndpointsFromConfig returns the configured list of endpoints to forward payloads to.
pkg/trace/api/evp_proxy.go:35
↓ 2 callersFunctionevpProxyForwarder
evpProxyForwarder creates an http.ReverseProxy which can forward payloads to one or more endpoints, based on the request received and the Agent config
pkg/trace/api/evp_proxy.go:77
↓ 2 callersFunctionevtRPCFlagsFromOption
(authType optional.Option[string])
pkg/collector/corechecks/windows_event_log/config_helpers.go:55
↓ 2 callersFunctionevtRenderText
EvtRenderText supports the EvtRenderEventXml and EvtRenderBookmark Flags https://learn.microsoft.com/en-us/windows/win32/api/winevt/nf-winevt-evtrende
pkg/util/winutil/eventlog/api/windows/wevtapi.go:199
↓ 2 callersFunctionexcludeFeatures
(detectedFeatures FeatureMap, excludedFeatures []string)
pkg/config/env/environment_detection.go:131
↓ 2 callersFunctionexecCmd
execCmdOrElevate carries out a command
comp/systray/systray/systrayimpl/systray.go:434
↓ 2 callersFunctionexpQueues
expQueues return a function to get the stats for the queues
pkg/collector/scheduler/scheduler.go:278
↓ 2 callersFunctionexpStatsMap
(statsMap map[string]*Stats)
pkg/aggregator/aggregator.go:86
↓ 2 callersFunctionexpandSyscallSections
(syscallName string, fentry bool, flag int, compat ...bool)
pkg/security/ebpf/probes/syscall_helpers.go:115
↓ 2 callersFunctionexpect_findings
(test_case, findings, expected_findings)
test/e2e/cws-tests/tests/test_e2e_cspm.py:4
↓ 2 callersMethodexpireDump
expireDump updates the count of expired dumps
pkg/security/module/server.go:348
← previousnext →7,701–7,800 of 32,574, ranked by callers