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
kubeMapToPrometheusLabels
(prefix string, input map[string]string)
pkg/collector/corechecks/cluster/ksm/customresources/utils.go:63
↓ 2 callers
Function
labelConflictSuffix
(label string, count int)
pkg/collector/corechecks/cluster/ksm/customresources/utils.go:129
↓ 2 callers
Method
labelsToTags
(labels map[string]string, tags *utils.TagList)
pkg/tagger/collectors/workloadmeta_extract.go:286
↓ 2 callers
Function
languageNameFromCommand
languageNameFromCmdline returns a process's language from its command. If the language is not detected, languagemodels.Unknown is returned.
pkg/languagedetection/detector.go:64
↓ 2 callers
Method
latestRoot
()
pkg/remoteconfig/state/tuf.go:64
↓ 2 callers
Method
latestRootRaw
()
pkg/remoteconfig/state/tuf.go:73
↓ 2 callers
Function
lazyInitObfuscator
lazyInitObfuscator initializes the obfuscator the first time it is used. We can't initialize during the package init because the obfuscator depends on
pkg/collector/python/datadog_agent.go:215
↓ 2 callers
Method
len
()
pkg/security/probe/eventstream/reorderer/reorderer.go:59
↓ 2 callers
Method
length
()
pkg/aggregator/context_resolver.go:112
↓ 2 callers
Function
limitMaxInt
limitMaxInt logs a warning and sets `key` to `max` if the value exceeds `max`.
cmd/system-probe/config/adjust.go:156
↓ 2 callers
Function
lineStart
(cm, lineN)
cmd/agent/gui/views/private/js/codemirror.js:6981
↓ 2 callers
Function
lineStartSmart
(cm, pos)
cmd/agent/gui/views/private/js/codemirror.js:6993
↓ 2 callers
Method
linkProfile
linkProfile (thread unsafe) updates the kernel space mapping between a workload and its profile
pkg/security/security_profile/profile/manager.go:636
↓ 2 callers
Method
listContainerStatsWithFilter
(filter *criv1.ContainerStatsFilter)
pkg/util/containers/cri/util.go:200
↓ 2 callers
Method
listForEventResync
(eventReadTimeout int64, eventCardinalityLimit int64, filter string)
pkg/util/kubernetes/apiserver/events.go:146
↓ 2 callers
Method
listProfiles
()
pkg/security/security_profile/profile/profile_dir.go:184
↓ 2 callers
Function
listResourcesForCleanup
(ctx context.Context, ec2client *ec2.Client, d time.Duration)
cmd/agentless-scanner/main.go:1495
↓ 2 callers
Function
loadBundleJSONProfiles
()
pkg/collector/corechecks/snmp/internal/profile/profile_json_bundle.go:21
↓ 2 callers
Function
loadCheckConfigFiles
()
cmd/agent/gui/views/private/js/javascript.js:322
↓ 2 callers
Method
loadDirMeta
(name string)
pkg/compliance/k8sconfig/loader.go:143
↓ 2 callers
Function
loadDumpData
()
pkg/network/netlink/decoding_test.go:84
↓ 2 callers
Function
loadKafkaBinary
(t *testing.T, debug bool)
pkg/network/usm/kafka_monitor_test.go:518
↓ 2 callers
Function
loadMode
(cm)
cmd/agent/gui/views/private/js/codemirror.js:4583
↓ 2 callers
Method
loadPodList
(podListJSONPath string)
pkg/util/kubernetes/kubelet/kubelet_test.go:59
↓ 2 callers
Method
loadProfile
loadProfile (thread unsafe) loads a Security Profile in kernel space
pkg/security/security_profile/profile/manager.go:608
↓ 2 callers
Method
loadProfile
(profilePath string)
pkg/security/security_profile/profile/profile_dir.go:207
↓ 2 callers
Method
loadSeenSpans
(shardSig Signature)
pkg/trace/sampler/rare_sampler.go:159
↓ 2 callers
Function
loadStatus
(page)
cmd/agent/gui/views/private/js/javascript.js:146
↓ 2 callers
Function
loadTestConfiguration
(hostroot string, table string)
pkg/compliance/k8sconfig/loader_test.go:353
↓ 2 callers
Function
logCheckDuration
(name string, start time.Time, runCounter int32)
pkg/process/runner/runner.go:226
↓ 2 callers
Function
logConnectionError
(clientConfig *kubeletClientConfig, err error)
pkg/util/kubernetes/kubelet/kubelet_client.go:316
↓ 2 callers
Function
logEnvVarParsingError
(name, value string, err error, defaultValue interface{})
pkg/serverless/appsec/config/config.go:178
↓ 2 callers
Function
logUnexpectedEnvVarValue
(name string, value interface{}, reason string, defaultValue interface{})
pkg/serverless/appsec/config/config.go:182
↓ 2 callers
Function
logicJoinParts
(parts []string, op string)
pkg/collector/corechecks/windows_event_log/filters.go:126
↓ 2 callers
Method
logsDDURL
()
comp/logs/agent/config/config_keys.go:64
↓ 2 callers
Method
logsNoSSL
()
comp/logs/agent/config/config_keys.go:95
↓ 2 callers
Method
lookupInodeFromMap
(pathKey model.PathKey)
pkg/security/resolvers/dentry/resolver.go:232
↓ 2 callers
Method
lookupMount
(mountID uint32, device uint32, pid uint32)
pkg/security/resolvers/mount/resolver.go:336
↓ 2 callers
Function
ls_to_int
(ls)
tasks/kernel_matrix_testing/vmconfig.py:434
↓ 2 callers
Function
macroToEvaluator
(macro *ast.Macro, model Model, opts *Opts, field Field)
pkg/security/secl/compiler/eval/macro.go:95
↓ 2 callers
Function
makeBenchmarkDir
(b *testing.B, dirPath string, fileCount int)
pkg/process/procutil/process_linux_test.go:1440
↓ 2 callers
Function
makeChangeInner
(doc, change)
cmd/agent/gui/views/private/js/codemirror.js:5169
↓ 2 callers
Function
makeClusterNameRFC1123Compliant
makeClusterNameRFC1123Compliant returns the compliant cluster name and as the second return value the initial clusterName
pkg/util/kubelet/hostname.go:62
↓ 2 callers
Function
makeFxError
(t *testing.T)
cmd/internal/runcmd/runcmd_test.go:42
↓ 2 callers
Method
makeInfoHandler
makeInfoHandler returns a new handler for handling the discovery endpoint.
pkg/trace/api/info.go:18
↓ 2 callers
Function
makeOrchestratorPayloads
(msg types.ProcessMessageBody, hostName, clusterID string)
pkg/serializer/serializer.go:490
↓ 2 callers
Function
makeProcessStatModels
(t *testing.T, processes ...*procutil.Process)
pkg/process/checks/process_common_test.go:80
↓ 2 callers
Function
makeRequest
(url string)
cmd/agent/subcommands/status/command.go:258
↓ 2 callers
Method
makeSocketTailer
makeSocketTailer makes a socket-based tailer for the given source, or returns an error if it cannot do so (e.g., due to permission errors)
pkg/logs/launchers/container/tailerfactory/socket.go:25
↓ 2 callers
Function
makeTestPod
()
pkg/logs/launchers/container/tailerfactory/file_test.go:55
↓ 2 callers
Function
mapFromLineView
(lineView, line, lineN)
cmd/agent/gui/views/private/js/codemirror.js:2387
↓ 2 callers
Method
mapLen
()
pkg/util/intern/string_test.go:97
↓ 2 callers
Function
mapToScrubbedJSONString
(m map[string]string)
pkg/workloadmeta/utils.go:36
↓ 2 callers
Function
mapToString
mapToString serializes the entries in this map into format "key1: value1, key2: value2, ...", sorted by key to ensure consistent output order. Only no
pkg/trace/info/stats.go:178
↓ 2 callers
Function
markADSubtree
(n *activity_tree.ProcessNode, state activity_tree.NodeGenerationType)
cmd/security-agent/subcommands/runtime/activity_dump.go:326
↓ 2 callers
Method
markFileEventAsResolved
()
pkg/security/secl/model/process_cache_entry_unix.go:136
↓ 2 callers
Function
marshalDiscardHeader
(req *erpc.Request, eventType model.EventType, timeout uint64)
pkg/security/probe/discarders_linux.go:90
↓ 2 callers
Function
marshalEvents
marshalEvents marshals events into JSON.
pkg/trace/api/otlp.go:360
↓ 2 callers
Function
marshalIPTuple
(ae *netlink.AttributeEncoder, tuple *ConTuple)
pkg/network/netlink/encoding.go:47
↓ 2 callers
Function
marshalLinks
marshalLinks marshals span links into JSON.
pkg/trace/api/otlp.go:419
↓ 2 callers
Function
matchDigest
(digest string)
pkg/autodiscovery/configmgr_test.go:84
↓ 2 callers
Function
matchYAMLKey
(key string, hints []string, repl []byte)
pkg/util/scrubber/default.go:189
↓ 2 callers
Function
matchYAMLOnly
This only works on a YAML object not on serialized YAML data
pkg/util/scrubber/default.go:208
↓ 2 callers
Method
matches
(filename string)
pkg/security/secl/compiler/eval/glob.go:66
↓ 2 callers
Function
matchesOnePrefix
(text string, prefixes []string)
pkg/security/utils/proc.go:296
↓ 2 callers
Function
maybeAdjustTimeWindowForQuery
(timeWindow time.Duration)
pkg/clusteragent/externalmetrics/metrics_retriever.go:208
↓ 2 callers
Function
maybeUpdateLineNumberWidth
(cm)
cmd/agent/gui/views/private/js/codemirror.js:3305
↓ 2 callers
Function
measureChar
(cm, line, ch, bias)
cmd/agent/gui/views/private/js/codemirror.js:2413
↓ 2 callers
Function
merge
merge merges and dedupes 2 slices without changing order
pkg/config/env/environment_containers.go:250
↓ 2 callers
Method
mergeAnnotationsAsTags
mergeAnnotationsAsTags adds extra annotations as tags to the configured mapping. User-defined annotations as tags are prioritized.
pkg/collector/corechecks/cluster/ksm/kubernetes_state.go:700
↓ 2 callers
Function
mergeContainerPort
(mergeMap map[string]ContainerPort, port ContainerPort)
pkg/workloadmeta/merge.go:81
↓ 2 callers
Function
mergeDuplicates
(s *pb.ClientStatsBucket)
pkg/trace/agent/agent.go:481
↓ 2 callers
Function
mergeFilterExpressions
(filters []string)
pkg/security/secl/rules/rule_filters.go:99
↓ 2 callers
Method
mergeLabelsMapper
mergeLabelsMapper adds extra label mappings to the configured labels mapper User-defined mappings are prioritized over additional mappings
pkg/collector/corechecks/cluster/ksm/kubernetes_state.go:680
↓ 2 callers
Function
mergeOldSpans
(doc, change)
cmd/agent/gui/views/private/js/codemirror.js:4871
↓ 2 callers
Function
mergeProfileDefinition
(targetDefinition *profiledefinition.ProfileDefinition, baseDefinition *profiledefinition.ProfileDefinition)
pkg/collector/corechecks/snmp/internal/profile/profile_resolver.go:99
↓ 2 callers
Method
mergeViperInstances
mergeViperInstances is called after a change in an instance of Viper to recompute the state of the main Viper (it must be used with a lock to prevent
pkg/config/model/viper.go:106
↓ 2 callers
Method
messagesToCheckResult
(start time.Time, name string, messages []model.MessageBody)
pkg/process/runner/submitter.go:441
↓ 2 callers
Function
metaCustom
(rawMeta json.RawMessage)
pkg/config/remote/uptane/util.go:70
↓ 2 callers
Function
metricContainsLabels
(metric model.Metric, labels []string)
pkg/collector/corechecks/containers/kubelet/provider/cadvisor/provider.go:590
↓ 2 callers
Function
metricSampleAPIType
metricSampleAPIType returns the APIMetricType of the given sample, the second return value informs the caller if the input type is supported by the no
pkg/aggregator/no_aggregation_stream_worker.go:260
↓ 2 callers
Function
min
min returns the minimum value between a and b.
pkg/logs/internal/parsers/dockerstream/docker_stream.go:159
↓ 2 callers
Function
min
(a, b int)
pkg/collector/corechecks/system/wincrashdetect/probe/crashparse.go:43
↓ 2 callers
Function
min
(a, b int)
pkg/process/checks/net.go:446
↓ 2 callers
Function
minTLSVersionFromConfig
minTLSVersionFromConfig determines the minimum TLS version defined by the given config, accounting for defaults and deprecated configuration parameter
pkg/util/http/transport.go:41
↓ 2 callers
Function
minUint64
(a, b uint64)
pkg/network/driver_interface.go:383
↓ 2 callers
Function
mockAzureAppServiceMetadata
()
pkg/trace/traceutil/azure_test.go:104
↓ 2 callers
Function
mockCounterFromHandle
(hCounter PDH_HCOUNTER)
pkg/util/winutil/pdhutil/pdhmocks_windows.go:91
↓ 2 callers
Function
mockCounterFromString
(path string)
pkg/util/winutil/pdhutil/pdhmocks_windows.go:38
↓ 2 callers
Function
modInfo
(modDesc string)
tools/dep_tree_resolver/go_deps.go:137
↓ 2 callers
Method
modelConnections
(builder *model.ConnectionsBuilder, conns *network.Connections)
pkg/network/encoding/encoding.go:98
↓ 2 callers
Function
monotonicOrTransportBytes
Monotonic values include retransmits and headers, while transport does not. We default to using transport values and must explicitly enable using mono
pkg/network/event_windows.go:72
↓ 2 callers
Method
mountParentWordDir
()
pkg/security/tests/files_generator.go:284
↓ 2 callers
Method
mountWordDir
()
pkg/security/tests/files_generator.go:297
↓ 2 callers
Function
moveConfigurationFilesOf
(cliParams *cliParams, integration string)
cmd/agent/subcommands/integrations/command.go:797
↓ 2 callers
Function
movePos
(doc, pos, dir, line)
cmd/agent/gui/views/private/js/codemirror.js:5104
↓ 2 callers
Function
multiFakeintakeStackDef
(agentOptions ...agentparams.Option)
test/new-e2e/tests/agent-shared-components/forwarder/nss_failover_test.go:71
↓ 2 callers
Function
mutationResponse
mutationResponse returns the adequate v1.AdmissionResponse based on the mutation result.
cmd/cluster-agent/admission/server.go:193
↓ 2 callers
Function
networkIPs
(container *podman.Container)
pkg/workloadmeta/collectors/internal/podman/podman.go:169
↓ 2 callers
Function
newAgentArgs
(commandArgs ...AgentArgsOption)
test/new-e2e/pkg/utils/e2e/client/agent_args.go:24
← previous
next →
8,401–8,500 of 32,574, ranked by callers