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
parseV2CPUMax
(stats *CPUStats)
pkg/util/cgroups/cgroupv2_cpu.go:101
↓ 2 callers
Function
parseV2CPUStat
(stats *CPUStats)
pkg/util/cgroups/cgroupv2_cpu.go:69
↓ 2 callers
Function
parseV2IOFn
format for io.stat "259:0 rbytes=278528 wbytes=9700089856 rios=6 wios=2289428 dbytes=0 dios=0" format for io.max "8:16 rbps=2097152 wbps=max riops=max
pkg/util/cgroups/cgroupv2_io.go:59
↓ 2 callers
Method
parseVariables
(trapOID string, variables []gosnmp.SnmpPDU)
pkg/snmp/traps/formatter/formatter.go:281
↓ 2 callers
Function
parse_test_log
(log_file)
tasks/test.py:1273
↓ 2 callers
Function
patchCPUInfo
patchCPUInfo returns the cpuInfo for the current host. On macOS, gopsutil returns incorrect results for the cpu count, so we need to patch it We do th
pkg/process/checks/system_info_darwin.go:37
↓ 2 callers
Function
patchEBPFTelemetry
(m *manager.Manager, newIns asm.Instruction, specs []*ebpf.ProgramSpec)
pkg/network/telemetry/ebpf_telemetry.go:353
↓ 2 callers
Method
patchOwner
patches the owner with the corresponding language annotations
pkg/clusteragent/languagedetection/patcher.go:127
↓ 2 callers
Method
path
(filename ...string)
pkg/security/tests/testmount.go:61
↓ 2 callers
Function
pathExists
pathExists returns true if the given path exists
pkg/collector/corechecks/snmp/internal/profile/testing_utils.go:39
↓ 2 callers
Method
pathRelative
(rootPath, path string)
pkg/compliance/resolver.go:299
↓ 2 callers
Function
pathToBinary
(name string, ignoreErrors bool)
pkg/collector/python/init.go:262
↓ 2 callers
Method
pause
pause (thread unsafe) assuming the current dump is running, "pause" sets the kernel space filters of the dump so that events are ignored in kernel spa
pkg/security/security_profile/dump/activity_dump.go:401
↓ 2 callers
Function
pe
(e,t)
cmd/agent/gui/views/private/js/jquery-3.5.1.min.js:2
↓ 2 callers
Method
pipeline_schedules
Gets one page of the pipeline schedules for the given project. per_page cannot exceed 100
tasks/libs/common/gitlab.py:191
↓ 2 callers
Function
podHasOwner
(pod *workloadmeta.KubernetesPod)
comp/languagedetection/client/util.go:96
↓ 2 callers
Method
popParseState
popParseState pops a parse state (already obtained) off the stack and updates s.step accordingly.
pkg/obfuscate/json_scanner.go:130
↓ 2 callers
Function
posToDOM
(cm, pos)
cmd/agent/gui/views/private/js/codemirror.js:8985
↓ 2 callers
Function
postUpdateDisplay
(cm, update)
cmd/agent/gui/views/private/js/codemirror.js:4210
↓ 2 callers
Function
prepareCheckConnectivity
(endpoint config.Endpoint)
pkg/logs/client/http/destination.go:381
↓ 2 callers
Method
prepareExtraSyncTimeout
prepareExtraSyncTimeout initializes the bundle extra sync timeout.
pkg/collector/corechecks/cluster/orchestrator/collector_bundle.go:251
↓ 2 callers
Function
preparePeerTags
(tags ...string)
pkg/trace/stats/concentrator.go:87
↓ 2 callers
Function
prepareSelectAllHack
()
cmd/agent/gui/views/private/js/codemirror.js:9410
↓ 2 callers
Function
prepareSelection
(cm, primary)
cmd/agent/gui/views/private/js/codemirror.js:3033
↓ 2 callers
Method
prepareTelemetry
()
comp/dogstatsd/server/intern.go:75
↓ 2 callers
Function
presentable_top_node
(top_node)
docs/cloud-workload-security/scripts/backend-doc-gen.py:43
↓ 2 callers
Function
printActivityTreeStats
(prefix string, msg *api.ActivityTreeStatsMessage)
cmd/security-agent/subcommands/runtime/security_profile.go:151
↓ 2 callers
Function
printAddress
(address util.Address, names []dns.Hostname)
pkg/network/event_common.go:418
↓ 2 callers
Function
printColumnSeparatedHex
(d []byte)
pkg/compliance/k8sconfig/loader.go:449
↓ 2 callers
Function
printEvents
(cliParams *cliParams, events ...*model.ProcessEvent)
cmd/process-agent/subcommands/events/events.go:104
↓ 2 callers
Function
printKomponentCode
(komp *komponent)
pkg/compliance/tools/k8s_types_generator/main.go:374
↓ 2 callers
Function
printRBAC
(client *APIClient, namespace string)
pkg/util/kubernetes/apiserver/diagnosis.go:44
↓ 2 callers
Function
printResultsJSON
(msgs []process.MessageBody)
cmd/process-agent/subcommands/check/check.go:255
↓ 2 callers
Function
printSecurityActivityDumpMessage
(prefix string, msg *api.ActivityDumpMessage)
cmd/security-agent/subcommands/runtime/command_linux.go:42
↓ 2 callers
Function
printStorageRequestMessage
(prefix string, storage *api.StorageRequestMessage)
cmd/security-agent/subcommands/runtime/command.go:332
↓ 2 callers
Function
printTUFRepo
(w io.Writer, repo map[string]*pbgo.FileMetaState)
pkg/flare/remote_config.go:140
↓ 2 callers
Function
print_failed_jobs_logs
Retrieves, parses and print failed job logs for the workflow run
tasks/libs/github_actions_tools.py:145
↓ 2 callers
Function
print_retry
(name, date)
tasks/libs/pipeline_tools.py:301
↓ 2 callers
Function
print_workflow_conclusion
Print the workflow conclusion
tasks/libs/github_actions_tools.py:134
↓ 2 callers
Method
process
(cpu int, b *batch, syncing bool)
pkg/network/protocols/events/consumer.go:176
↓ 2 callers
Method
process
(transactionBatch []http.WinHttpTransaction)
pkg/network/usm/monitor_windows.go:99
↓ 2 callers
Method
process
(forcePoll bool)
pkg/clusteragent/admission/patch/file_provider.go:64
↓ 2 callers
Method
processAnnotationsAsTags
()
pkg/collector/corechecks/cluster/ksm/kubernetes_state.go:738
↓ 2 callers
Method
processContainerImagesEvents
(evBundle workloadmeta.EventBundle)
pkg/collector/corechecks/sbom/processor.go:95
↓ 2 callers
Method
processDatadogMetric
(key interface{})
pkg/clusteragent/externalmetrics/datadogmetric_controller.go:158
↓ 2 callers
Method
processDelService
processDelService takes a service, stops its associated checks, and updates the cache
pkg/autodiscovery/autoconfig.go:435
↓ 2 callers
Function
processEndpoints
processEndpoints parses a kubernetes Endpoints object and returns a slice of KubeEndpointService per endpoint
pkg/autodiscovery/listeners/kube_endpoints.go:356
↓ 2 callers
Method
processEvent
(entry *events.Process)
pkg/network/tracer/process_cache.go:140
↓ 2 callers
Method
processEvents
(evBundle workloadmeta.EventBundle)
pkg/autodiscovery/providers/container.go:91
↓ 2 callers
Method
processEvents
processEvents handles workloadmeta events, supports pods and container unset events.
pkg/collector/corechecks/containerlifecycle/processor.go:46
↓ 2 callers
Method
processEvents
(evBundle workloadmeta.EventBundle)
pkg/collector/corechecks/containerimage/processor.go:60
↓ 2 callers
Method
processEvents
(evBundle workloadmeta.EventBundle)
pkg/tagger/collectors/workloadmeta_extract.go:109
↓ 2 callers
Method
processHostRefresh
()
pkg/collector/corechecks/sbom/processor.go:181
↓ 2 callers
Method
processImage
(img *workloadmeta.ContainerImageMetadata)
pkg/collector/corechecks/containerimage/processor.go:77
↓ 2 callers
Method
processImageEvent
processImageEvent formats the events from a channel. It can return nil, nil if the event is filtered out, one should check for nil pointers before usi
pkg/util/docker/event_pull.go:99
↓ 2 callers
Method
processLabelJoins
()
pkg/collector/corechecks/cluster/ksm/kubernetes_state.go:719
↓ 2 callers
Method
processLabelsAsTags
()
pkg/collector/corechecks/cluster/ksm/kubernetes_state.go:734
↓ 2 callers
Method
processLabelsOrAnnotationsAsTags
(what string, configStuffAsTags map[string]map[string]string)
pkg/collector/corechecks/cluster/ksm/kubernetes_state.go:742
↓ 2 callers
Method
processMessage
(msg *message.Message)
pkg/logs/internal/processor/processor.go:91
↓ 2 callers
Method
processMetrics
processMetrics attaches tags and forwards metrics to the aggregator
pkg/collector/corechecks/cluster/ksm/kubernetes_state.go:531
↓ 2 callers
Method
processNextWorkItem
processNextWorkItem handle the reconciliation of the Webhook when new item is added to the work queue. Always returns true unless the work queue was s
pkg/clusteragent/admission/controllers/webhook/controller_base.go:161
↓ 2 callers
Method
processQueues
processQueues consumes the data available in the queues
pkg/collector/corechecks/containerlifecycle/processor.go:141
↓ 2 callers
Function
processRandomTagInfoBatch
(store *tagstore.TagStore)
pkg/tagger/local/tagstore_bench_test.go:119
↓ 2 callers
Method
processRegistryValues
(regDelegate registryDelegate, regKey registry.Key, regKeyCfg registryKey)
comp/checks/winregistry/impl/winregistryimpl.go:210
↓ 2 callers
Method
processTelemetry
processTelemetry accumulates the telemetry metric values, it can be called multiple times during a check run then sendTelemetry should be called to fo
pkg/collector/corechecks/cluster/ksm/kubernetes_state.go:795
↓ 2 callers
Function
process_module_results
Expects results in the format: { "phase1": { "flavor1": [module_result1, module_result2], "flavor2": [module_
tasks/test.py:491
↓ 2 callers
Function
procsToStats
(procs map[int32]*procutil.Process)
pkg/process/checks/process.go:335
↓ 2 callers
Function
produce_junit_tar
Produce a tgz file containing all given files JUnit XML files and add a special file with additional tags.
tasks/libs/junit_upload.py:221
↓ 2 callers
Function
profilingConfig
(tracecfg *tracecfg.AgentConfig)
comp/trace/agent/run.go:196
↓ 2 callers
Method
project
Gets the project info.
tasks/libs/common/gitlab.py:45
↓ 2 callers
Method
promAnnotationsDiffer
promAnnotationsDiffer returns whether a service update corresponds to a config invalidation
pkg/autodiscovery/providers/prometheus_services.go:296
↓ 2 callers
Method
propagateWorkloadSelectorsToProviders
propagateWorkloadSelectorsToProviders (thread unsafe) propagates the list of workload selectors to the Security Profiles providers.
pkg/security/security_profile/profile/manager.go:258
↓ 2 callers
Function
protoDecodeFileEvent
(fi *adproto.FileInfo)
pkg/security/security_profile/activity_tree/activity_tree_proto_dec_v1.go:138
↓ 2 callers
Function
protoToActivityDump
(dest *ActivityDump, pathsReducer *activity_tree.PathsReducer, ad *adproto.SecDump)
pkg/security/security_profile/dump/activity_dump_proto_dec_v1.go:19
↓ 2 callers
Method
pruneTargetFiles
()
pkg/config/remote/uptane/client.go:223
↓ 2 callers
Function
pt
(e)
cmd/agent/gui/views/private/js/purify.min.js:2
↓ 2 callers
Function
publishBool
(v bool)
pkg/process/status/expvars.go:100
↓ 2 callers
Method
pull
(ctx context.Context)
pkg/workloadmeta/store.go:555
↓ 2 callers
Method
purge
()
pkg/network/tracer/gateway_lookup.go:196
↓ 2 callers
Method
pushParseState
pushParseState pushes a new parse state p onto the parse stack.
pkg/obfuscate/json_scanner.go:124
↓ 2 callers
Method
push_policies
(self, policies)
test/e2e/cws-tests/tests/lib/docker.py:108
↓ 2 callers
Function
pythonCheckFinalizer
pythonCheckFinalizer is a finalizer that decreases the reference count on the PyObject refs owned by the PythonCheck.
pkg/collector/python/check.go:388
↓ 2 callers
Function
qe
(e,t)
cmd/agent/gui/views/private/js/jquery-3.5.1.min.js:2
↓ 2 callers
Method
query
(ctx context.Context, path string)
pkg/util/kubernetes/kubelet/kubelet_client.go:127
↓ 2 callers
Function
queryCacheBool
(cacheKey string, cacheMissEvalFunc func() (bool, time.Duration))
pkg/util/ecs/detection.go:62
↓ 2 callers
Method
queryDatadogExternal
queryDatadogExternal converts the metric name and labels from the Ref format into a Datadog metric. It returns the last value for a bucket of 5 minute
pkg/util/kubernetes/autoscalers/datadogexternal.go:94
↓ 2 callers
Function
queryFromFilter
queryFromFilter converts the filter definition from the config into a structured XML query Examples of XPath queries: - https://powershell.org/2019/0
pkg/collector/corechecks/windows_event_log/filters.go:40
↓ 2 callers
Method
queryMetrics
(from, to int64, query string)
pkg/util/kubernetes/autoscalers/datadogclient.go:138
↓ 2 callers
Function
randStringRune
(n int)
pkg/util/kubernetes/autoscalers/processor_test.go:228
↓ 2 callers
Function
randomAddressGen
()
pkg/network/dns/cache_test.go:322
↓ 2 callers
Function
randomBetween
(min, max float64)
pkg/util/backoff/backoff.go:47
↓ 2 callers
Function
randomTraceID
()
pkg/trace/sampler/prioritysampler_test.go:19
↓ 2 callers
Function
rangeForUnit
(cm, pos, unit)
cmd/agent/gui/views/private/js/codemirror.js:7312
↓ 2 callers
Function
rawPayloadCarrier
rawPayloadCarrier returns the tracer.TextMapReader used to extract trace context from the raw json event payload.
pkg/serverless/trace/propagation/carriers.go:166
↓ 2 callers
Function
rawSudoWrite
(filePath, writeContent string, ignoreRunError bool)
pkg/security/tests/selinux_test.go:192
↓ 2 callers
Function
reCheckSelection
(doc)
cmd/agent/gui/views/private/js/codemirror.js:5037
↓ 2 callers
Method
reSyncCache
(mountID uint32, pids []uint32, containerID string, workload *cmodel.CacheEntry)
pkg/security/resolvers/mount/resolver.go:421
↓ 2 callers
Method
readAndCacheAll
()
pkg/autodiscovery/providers/config_reader.go:155
↓ 2 callers
Method
readCache
(subnet *snmpSubnet)
pkg/collector/corechecks/snmp/internal/discovery/discovery.go:264
↓ 2 callers
Function
readCfgWithType
(cfg Config, key, expType string)
pkg/config/process_test.go:470
← previous
next →
8,701–8,800 of 32,574, ranked by callers