MCPcopy Create free account

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

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

↓ 2 callersFunctionkubeMapToPrometheusLabels
(prefix string, input map[string]string)
pkg/collector/corechecks/cluster/ksm/customresources/utils.go:63
↓ 2 callersFunctionlabelConflictSuffix
(label string, count int)
pkg/collector/corechecks/cluster/ksm/customresources/utils.go:129
↓ 2 callersMethodlabelsToTags
(labels map[string]string, tags *utils.TagList)
pkg/tagger/collectors/workloadmeta_extract.go:286
↓ 2 callersFunctionlanguageNameFromCommand
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 callersMethodlatestRoot
()
pkg/remoteconfig/state/tuf.go:64
↓ 2 callersMethodlatestRootRaw
()
pkg/remoteconfig/state/tuf.go:73
↓ 2 callersFunctionlazyInitObfuscator
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 callersMethodlen
()
pkg/security/probe/eventstream/reorderer/reorderer.go:59
↓ 2 callersMethodlength
()
pkg/aggregator/context_resolver.go:112
↓ 2 callersFunctionlimitMaxInt
limitMaxInt logs a warning and sets `key` to `max` if the value exceeds `max`.
cmd/system-probe/config/adjust.go:156
↓ 2 callersFunctionlineStart
(cm, lineN)
cmd/agent/gui/views/private/js/codemirror.js:6981
↓ 2 callersFunctionlineStartSmart
(cm, pos)
cmd/agent/gui/views/private/js/codemirror.js:6993
↓ 2 callersMethodlinkProfile
linkProfile (thread unsafe) updates the kernel space mapping between a workload and its profile
pkg/security/security_profile/profile/manager.go:636
↓ 2 callersMethodlistContainerStatsWithFilter
(filter *criv1.ContainerStatsFilter)
pkg/util/containers/cri/util.go:200
↓ 2 callersMethodlistForEventResync
(eventReadTimeout int64, eventCardinalityLimit int64, filter string)
pkg/util/kubernetes/apiserver/events.go:146
↓ 2 callersMethodlistProfiles
()
pkg/security/security_profile/profile/profile_dir.go:184
↓ 2 callersFunctionlistResourcesForCleanup
(ctx context.Context, ec2client *ec2.Client, d time.Duration)
cmd/agentless-scanner/main.go:1495
↓ 2 callersFunctionloadBundleJSONProfiles
()
pkg/collector/corechecks/snmp/internal/profile/profile_json_bundle.go:21
↓ 2 callersFunctionloadCheckConfigFiles
()
cmd/agent/gui/views/private/js/javascript.js:322
↓ 2 callersMethodloadDirMeta
(name string)
pkg/compliance/k8sconfig/loader.go:143
↓ 2 callersFunctionloadDumpData
()
pkg/network/netlink/decoding_test.go:84
↓ 2 callersFunctionloadKafkaBinary
(t *testing.T, debug bool)
pkg/network/usm/kafka_monitor_test.go:518
↓ 2 callersFunctionloadMode
(cm)
cmd/agent/gui/views/private/js/codemirror.js:4583
↓ 2 callersMethodloadPodList
(podListJSONPath string)
pkg/util/kubernetes/kubelet/kubelet_test.go:59
↓ 2 callersMethodloadProfile
loadProfile (thread unsafe) loads a Security Profile in kernel space
pkg/security/security_profile/profile/manager.go:608
↓ 2 callersMethodloadProfile
(profilePath string)
pkg/security/security_profile/profile/profile_dir.go:207
↓ 2 callersMethodloadSeenSpans
(shardSig Signature)
pkg/trace/sampler/rare_sampler.go:159
↓ 2 callersFunctionloadStatus
(page)
cmd/agent/gui/views/private/js/javascript.js:146
↓ 2 callersFunctionloadTestConfiguration
(hostroot string, table string)
pkg/compliance/k8sconfig/loader_test.go:353
↓ 2 callersFunctionlogCheckDuration
(name string, start time.Time, runCounter int32)
pkg/process/runner/runner.go:226
↓ 2 callersFunctionlogConnectionError
(clientConfig *kubeletClientConfig, err error)
pkg/util/kubernetes/kubelet/kubelet_client.go:316
↓ 2 callersFunctionlogEnvVarParsingError
(name, value string, err error, defaultValue interface{})
pkg/serverless/appsec/config/config.go:178
↓ 2 callersFunctionlogUnexpectedEnvVarValue
(name string, value interface{}, reason string, defaultValue interface{})
pkg/serverless/appsec/config/config.go:182
↓ 2 callersFunctionlogicJoinParts
(parts []string, op string)
pkg/collector/corechecks/windows_event_log/filters.go:126
↓ 2 callersMethodlogsDDURL
()
comp/logs/agent/config/config_keys.go:64
↓ 2 callersMethodlogsNoSSL
()
comp/logs/agent/config/config_keys.go:95
↓ 2 callersMethodlookupInodeFromMap
(pathKey model.PathKey)
pkg/security/resolvers/dentry/resolver.go:232
↓ 2 callersMethodlookupMount
(mountID uint32, device uint32, pid uint32)
pkg/security/resolvers/mount/resolver.go:336
↓ 2 callersFunctionls_to_int
(ls)
tasks/kernel_matrix_testing/vmconfig.py:434
↓ 2 callersFunctionmacroToEvaluator
(macro *ast.Macro, model Model, opts *Opts, field Field)
pkg/security/secl/compiler/eval/macro.go:95
↓ 2 callersFunctionmakeBenchmarkDir
(b *testing.B, dirPath string, fileCount int)
pkg/process/procutil/process_linux_test.go:1440
↓ 2 callersFunctionmakeChangeInner
(doc, change)
cmd/agent/gui/views/private/js/codemirror.js:5169
↓ 2 callersFunctionmakeClusterNameRFC1123Compliant
makeClusterNameRFC1123Compliant returns the compliant cluster name and as the second return value the initial clusterName
pkg/util/kubelet/hostname.go:62
↓ 2 callersFunctionmakeFxError
(t *testing.T)
cmd/internal/runcmd/runcmd_test.go:42
↓ 2 callersMethodmakeInfoHandler
makeInfoHandler returns a new handler for handling the discovery endpoint.
pkg/trace/api/info.go:18
↓ 2 callersFunctionmakeOrchestratorPayloads
(msg types.ProcessMessageBody, hostName, clusterID string)
pkg/serializer/serializer.go:490
↓ 2 callersFunctionmakeProcessStatModels
(t *testing.T, processes ...*procutil.Process)
pkg/process/checks/process_common_test.go:80
↓ 2 callersFunctionmakeRequest
(url string)
cmd/agent/subcommands/status/command.go:258
↓ 2 callersMethodmakeSocketTailer
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 callersFunctionmakeTestPod
()
pkg/logs/launchers/container/tailerfactory/file_test.go:55
↓ 2 callersFunctionmapFromLineView
(lineView, line, lineN)
cmd/agent/gui/views/private/js/codemirror.js:2387
↓ 2 callersMethodmapLen
()
pkg/util/intern/string_test.go:97
↓ 2 callersFunctionmapToScrubbedJSONString
(m map[string]string)
pkg/workloadmeta/utils.go:36
↓ 2 callersFunctionmapToString
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 callersFunctionmarkADSubtree
(n *activity_tree.ProcessNode, state activity_tree.NodeGenerationType)
cmd/security-agent/subcommands/runtime/activity_dump.go:326
↓ 2 callersMethodmarkFileEventAsResolved
()
pkg/security/secl/model/process_cache_entry_unix.go:136
↓ 2 callersFunctionmarshalDiscardHeader
(req *erpc.Request, eventType model.EventType, timeout uint64)
pkg/security/probe/discarders_linux.go:90
↓ 2 callersFunctionmarshalEvents
marshalEvents marshals events into JSON.
pkg/trace/api/otlp.go:360
↓ 2 callersFunctionmarshalIPTuple
(ae *netlink.AttributeEncoder, tuple *ConTuple)
pkg/network/netlink/encoding.go:47
↓ 2 callersFunctionmarshalLinks
marshalLinks marshals span links into JSON.
pkg/trace/api/otlp.go:419
↓ 2 callersFunctionmatchDigest
(digest string)
pkg/autodiscovery/configmgr_test.go:84
↓ 2 callersFunctionmatchYAMLKey
(key string, hints []string, repl []byte)
pkg/util/scrubber/default.go:189
↓ 2 callersFunctionmatchYAMLOnly
This only works on a YAML object not on serialized YAML data
pkg/util/scrubber/default.go:208
↓ 2 callersMethodmatches
(filename string)
pkg/security/secl/compiler/eval/glob.go:66
↓ 2 callersFunctionmatchesOnePrefix
(text string, prefixes []string)
pkg/security/utils/proc.go:296
↓ 2 callersFunctionmaybeAdjustTimeWindowForQuery
(timeWindow time.Duration)
pkg/clusteragent/externalmetrics/metrics_retriever.go:208
↓ 2 callersFunctionmaybeUpdateLineNumberWidth
(cm)
cmd/agent/gui/views/private/js/codemirror.js:3305
↓ 2 callersFunctionmeasureChar
(cm, line, ch, bias)
cmd/agent/gui/views/private/js/codemirror.js:2413
↓ 2 callersFunctionmerge
merge merges and dedupes 2 slices without changing order
pkg/config/env/environment_containers.go:250
↓ 2 callersMethodmergeAnnotationsAsTags
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 callersFunctionmergeContainerPort
(mergeMap map[string]ContainerPort, port ContainerPort)
pkg/workloadmeta/merge.go:81
↓ 2 callersFunctionmergeDuplicates
(s *pb.ClientStatsBucket)
pkg/trace/agent/agent.go:481
↓ 2 callersFunctionmergeFilterExpressions
(filters []string)
pkg/security/secl/rules/rule_filters.go:99
↓ 2 callersMethodmergeLabelsMapper
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 callersFunctionmergeOldSpans
(doc, change)
cmd/agent/gui/views/private/js/codemirror.js:4871
↓ 2 callersFunctionmergeProfileDefinition
(targetDefinition *profiledefinition.ProfileDefinition, baseDefinition *profiledefinition.ProfileDefinition)
pkg/collector/corechecks/snmp/internal/profile/profile_resolver.go:99
↓ 2 callersMethodmergeViperInstances
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 callersMethodmessagesToCheckResult
(start time.Time, name string, messages []model.MessageBody)
pkg/process/runner/submitter.go:441
↓ 2 callersFunctionmetaCustom
(rawMeta json.RawMessage)
pkg/config/remote/uptane/util.go:70
↓ 2 callersFunctionmetricContainsLabels
(metric model.Metric, labels []string)
pkg/collector/corechecks/containers/kubelet/provider/cadvisor/provider.go:590
↓ 2 callersFunctionmetricSampleAPIType
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 callersFunctionmin
min returns the minimum value between a and b.
pkg/logs/internal/parsers/dockerstream/docker_stream.go:159
↓ 2 callersFunctionmin
(a, b int)
pkg/collector/corechecks/system/wincrashdetect/probe/crashparse.go:43
↓ 2 callersFunctionmin
(a, b int)
pkg/process/checks/net.go:446
↓ 2 callersFunctionminTLSVersionFromConfig
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 callersFunctionminUint64
(a, b uint64)
pkg/network/driver_interface.go:383
↓ 2 callersFunctionmockAzureAppServiceMetadata
()
pkg/trace/traceutil/azure_test.go:104
↓ 2 callersFunctionmockCounterFromHandle
(hCounter PDH_HCOUNTER)
pkg/util/winutil/pdhutil/pdhmocks_windows.go:91
↓ 2 callersFunctionmockCounterFromString
(path string)
pkg/util/winutil/pdhutil/pdhmocks_windows.go:38
↓ 2 callersFunctionmodInfo
(modDesc string)
tools/dep_tree_resolver/go_deps.go:137
↓ 2 callersMethodmodelConnections
(builder *model.ConnectionsBuilder, conns *network.Connections)
pkg/network/encoding/encoding.go:98
↓ 2 callersFunctionmonotonicOrTransportBytes
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 callersMethodmountParentWordDir
()
pkg/security/tests/files_generator.go:284
↓ 2 callersMethodmountWordDir
()
pkg/security/tests/files_generator.go:297
↓ 2 callersFunctionmoveConfigurationFilesOf
(cliParams *cliParams, integration string)
cmd/agent/subcommands/integrations/command.go:797
↓ 2 callersFunctionmovePos
(doc, pos, dir, line)
cmd/agent/gui/views/private/js/codemirror.js:5104
↓ 2 callersFunctionmultiFakeintakeStackDef
(agentOptions ...agentparams.Option)
test/new-e2e/tests/agent-shared-components/forwarder/nss_failover_test.go:71
↓ 2 callersFunctionmutationResponse
mutationResponse returns the adequate v1.AdmissionResponse based on the mutation result.
cmd/cluster-agent/admission/server.go:193
↓ 2 callersFunctionnetworkIPs
(container *podman.Container)
pkg/workloadmeta/collectors/internal/podman/podman.go:169
↓ 2 callersFunctionnewAgentArgs
(commandArgs ...AgentArgsOption)
test/new-e2e/pkg/utils/e2e/client/agent_args.go:24
← previousnext →8,401–8,500 of 32,574, ranked by callers